Handmade Network»Feed
zipzoomzap
the pointer is just a memory address right? That memory address will take us to the memory that …
»
Johannes Algelind
Note that OnePastLastEXEFilenameSlash is stored in the struct win32_state, and that state is init…
»
Vadim Borodin
nxsy, thank you! Didn't know about this "Objective-C++" stuff =) chemecse, [application updateWi…
»
Neil Blakey-Milner
zipzoomzap Just going through the code and not trying to turn a blind eye to things I don't fully…
»
Casey Muratori
That was my experience as well, although I seem to recall _not_ being able to open it for write a…
»
Kim Jørgensen
Thank you for the explanation, jalgelind. I did not consider that the design would impact cache p…
»
zipzoomzap
Just going through the code and not trying to turn a blind eye to things I don't fully grasp. We…
»
Johannes Algelind
First the TileChunkHash will need to be read into the cache in order to get the pointer to the Ti…
»
Kim Jørgensen
However, I am not sure what is meant with “you always have to do two dereferences to get to the f…
»
Mārtiņš Možeiko
So I tried this with Xbox360 controller. I can read all input correctly, but it doesn't respond t…
»
Kim Jørgensen
Okay Casey. I meant better, because I think that it would simplify the logic for adding chunks. T…
»
Lars Hamre
In reference to your TODO about hanging on resize events: Try adding the line: [application upda…
»
Neil Blakey-Milner
Nice work! In my own OS X platform layer (not for Handmade Hero, but for something I'm playing w…
»
Simon Anciaux
You're right ! I should have step through the code to check what I was thinking. I'll do that nex…
»
Fredrik Forsberg
I looked at the loop and I can't see the problem. After creating the new chunk and changing the C…
»
Vadim Borodin
Hey guys! I've just finished the first usable version of my platform layer implementation for OS…
»
Simon Anciaux
I think there still is a problem in the function: when we create a new chunk (the second if) we s…
»
Casey Muratori
I don't think it would be better, because it means you always have to do two dereferences to get …
»
Patrick Lahey
There is nothing "simple" about emacs or vim :). <soapbox> Since you are already a vim us…
»
Kim Jørgensen
It would be better to use an array of pointers instead, to avoid the need for checking the X value
»
Sebastian
After switching to signed ints for coordinates, tilechunk.x == 0 is now valid, but hash map uses …
»
Mārtiņš Možeiko
Ah, there may be difference between Xbox and PS controller. I've tried it only with PS4 controlle…
»
Livet Ersomen Strøm
cmuratori It is not just speed that makes Windows bad, although I would argue that the speed of a…
»
mallardz
I got it. Thanks Casey.
»
Casey Muratori
Wait, does that actually work? Because I tried opening the XBox controllers as HID devices befor…
»
Dan
While coding, I have realized that I change the names of variables and functions a lot (even the …
»
Kevin Herrera
Wow, I'm amazed for the speed and quality of the answers. Thank you all.
»
Casey Muratori
Originally the reasoning was because the operating system layer wants to be able to set it back t…
»
popcorn
yes,If You have something like Open, Read, write Process, hook API AND being able to inject DLL i…
»
Mārtiņš Možeiko
Kladdehelvete When I click the System Settings icon, in Linux, it takes 4,5 seconds to show up. T…
»