re: GetProcAddresss - right. I was a bit careless pasting the code in. I've been using Paul DiLasc…
Jay —
Ah I obviously wasn't paying enough attention during that stream! Thanks Jimbo!
Hello Jay, Casey explains this on Day 93 - - around 15:50. Best, Jimmy
Only public documented symbol that dinput8.dll file exposes is "DirectInput8Create" function. And …
Oops; I should have put quotes around "re-".
When Casey was talking about recursive tree traversal vs. non-recursive traversal using parent lin…
I'm having a problem getting a variable out of the DirectInput library. This is for a 32 bit build…
Companies are notoriously hard to convince to use language X when they have a 10 year dependency o…
Yep. To me, this is the root problem.[/quote] Granted, it's silly, but back in the 80's (and the…
Ok, the MSVC compiler is in agreement with Clang (or visa-versa). This is what I thought. I wouldn…
For C compiler "Y" is variable, "struct Y" is type. So first and second examples are legal for C c…
What do other compilers do with this? AFAIK, a C compiler should accept this. If that's legal the…
Stuff like this is why, even though I've been in J16/PL22.16 since 2004, I can't blame Casey when …
To collect myself, I had to take a brief walk away from my machine after posting this. I just came…
wow, man. I was about to ask if you'd tested this, 'cause I knew I'd previously tested code sampl…
Jay —
Hopefully a simple question that I am struggling with. I am at day 115 at the start of SIMD optimi…
Well...consider this: Stroustrup called this a "C compatibility hack." In C, the struct tag is no…
Could you please expand on this? My understanding is that "typedef struct" helps to prevent name…
If I understand the POV, a C programmer is dismayed by the size of the generated C++ code; much li…
C++ must have done something right
Oh My God!!! I almost lost my mind, trying to figure out why my hero movement is different than Ca…
Aidan —
By adding epsilons, you're inherently adding some inaccuracy to your simulation. You really want t…
Yeah, pretty much what you said. Just get the input from user, process it, and render result on sc…
I could also multiply every position with 10000 or something and just use plain ints or is that a…
I have never used fixed point position before. I guess that would fix some of the rounding errors.…
elle —
Have you ever implemented a debug console as in Quake, Unreal Tournament, Source games that is als…
Hello everyone, The contribution I am currently planning is called Handmade Quake, where I start f…
Use to store positions. This gives you an even amount of precision over your entire world. Only…
Yeah maybe. If the guy jumps and lands on the ramp the epsilon would keep him high enough for it t…
I'm still real new to this, but couldn't you use an epsilon to account for floating-point errors?