We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Iker Murga —
If you'd like to see Caseys explanation of pointers, watch the intro to C day 3 (link to episode g…
»
Nines Baobaberson —
I've been having similar questions and I feel like I'm finally starting to get it a bit of a grasp…
»
Pavlo —
That's exactly it. Thank you.
»
Johannes Algelind —
Yes on both questions. You seem to get it. Accessing memory through a pointer is essentially the s…
»
Jeff Buck —
I ran into this too. There's an easy fix for it, but it's not obvious at all. Create an ~/.lldbini…
»
Pavlo —
Apparently, Xcode (v6.1.1) ignores breakpoints inside #include'd files. It sets breakpoints with f…
»
zipzoomzap —
the pointer is just a memory address right? That memory address will take us to the memory that co…
»
Johannes Algelind —
Note that OnePastLastEXEFilenameSlash is stored in the struct win32_state, and that state is initi…
»
Vadim Borodin —
nxsy, thank you! Didn't know about this "Objective-C++" stuff =) chemecse, [application updateWind…
»
Neil Blakey-Milner —
We use lots of uninitialised pointers: char *WhateverString If I understand this right, before be…
»
Casey Muratori —
That was my experience as well, although I seem to recall not being able to open it for write acce…
»
Kim Jørgensen —
Thank you for the explanation, jalgelind. I did not consider that the design would impact cache pe…
»
zipzoomzap —
Just going through the code and not trying to turn a blind eye to things I don't fully grasp. We u…
»
Johannes Algelind —
First the TileChunkHash will need to be read into the cache in order to get the pointer to the Til…
»
Kim Jørgensen —
However, I am not sure what is meant with “you always have to do two dereferences to get to the …
»
Mārtiņš Možeiko —
So I tried this with Xbox360 controller. I can read all input correctly, but it doesn't respond to…
»
Kim Jørgensen —
Okay Casey. I meant better, because I think that it would simplify the logic for adding chunks. Th…
»
Lars Hamre —
In reference to your TODO about hanging on resize events: Try adding the line: [application update…
»
Neil Blakey-Milner —
Nice work! In my own OS X platform layer (not for Handmade Hero, but for something I'm playing wit…
»
Simon Anciaux —
You're right ! I should have step through the code to check what I was thinking. I'll do that next…
»
Vadim Borodin —
Hey guys! I've just finished the first usable version of my platform layer implementation for OS X…
»
Simon Anciaux —
I think there still is a problem in the function: when we create a new chunk (the second if) we se…
»
Casey Muratori —
I don't think it would be better, because it means you always have to do two dereferences to get t…
»
Patrick Lahey —
There is nothing "simple" about emacs or vim :). Since you are already a vim user I'm a…
»
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 x…
»
Mārtiņš Možeiko —
Ah, there may be difference between Xbox and PS controller. I've tried it only with PS4 controller…
»
Livet Ersomen Strøm —
I did not know about this. I havent used Direct3D much, ( a little though, over the years), but I…
»
mallardz —
I got it. Thanks Casey.
»
Casey Muratori —
Wait, does that actually work? Because I tried opening the XBox controllers as HID devices before…
»