I've been having similar questions and I feel like I'm finally starting to get it a bit of a gras…
Pavlo —
That's exactly it. Thank you.
Yes on both questions. You seem to get it.
Accessing memory through a pointer is essentially the…
I ran into this too. There's an easy fix for it, but it's not obvious at all.
Create an ~/.lldbi…
Pavlo —
Apparently, Xcode (v6.1.1) ignores breakpoints inside #include'd files.
It sets breakpoints with …
the pointer is just a memory address right?
That memory address will take us to the memory that …
Note that OnePastLastEXEFilenameSlash is stored in the struct win32_state, and that state is init…
nxsy, thank you! Didn't know about this "Objective-C++" stuff =)
chemecse, [application updateWi…
zipzoomzap Just going through the code and not trying to turn a blind eye to things I don't fully…
That was my experience as well, although I seem to recall _not_ being able to open it for write a…
Thank you for the explanation, jalgelind. I did not consider that the design would impact cache p…
Just going through the code and not trying to turn a blind eye to things I don't fully grasp.
We…
First the TileChunkHash will need to be read into the cache in order to get the pointer to the Ti…
However, I am not sure what is meant with “you always have to do two dereferences to get to the f…
So I tried this with Xbox360 controller. I can read all input correctly, but it doesn't respond t…
Okay Casey.
I meant better, because I think that it would simplify the logic for adding chunks. T…
In reference to your TODO about hanging on resize events:
Try adding the line:
[application upda…
Nice work!
In my own OS X platform layer (not for Handmade Hero, but for something I'm playing w…
You're right !
I should have step through the code to check what I was thinking. I'll do that nex…
I looked at the loop and I can't see the problem. After creating the new chunk and changing the C…
Hey guys!
I've just finished the first usable version of my platform layer implementation for OS…
I think there still is a problem in the function: when we create a new chunk (the second if) we s…
I don't think it would be better, because it means you always have to do two dereferences to get …
There is nothing "simple" about emacs or vim :).
<soapbox>
Since you are already a vim us…
It would be better to use an array of pointers instead, to avoid the need for checking the X value
After switching to signed ints for coordinates, tilechunk.x == 0 is now valid, but hash map uses …
Ah, there may be difference between Xbox and PS controller. I've tried it only with PS4 controlle…
cmuratori It is not just speed that makes Windows bad, although I would argue that the speed of a…
Wait, does that actually work? Because I tried opening the XBox controllers as HID devices befor…