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.
jimmyjimbo
Hello Jay, Casey explains this on Day 93 - Textured Quadrilaterals - around 15:50. Best, Jimmy
»
Mārtiņš Možeiko
Only public documented symbol that dinput8.dll file exposes is "DirectInput8Create" function. And…
»
James Widman
Oops; I should have put quotes around "re-".
»
David Thomas
When Casey was talking about recursive tree traversal vs. non-recursive traversal using parent li…
»
Timothy McCarthy
I'm having a problem getting a variable out of the DirectInput library. This is for a 32 bit bui…
»
Timothy McCarthy
Companies are notoriously hard to convince to use language X when they have a 10 year dependency …
»
James Widman
RomulusTFM What do other compilers do with this? 1 2 3 4 5// Compiled as C code struct Y { floa…
»
Timothy McCarthy
Ok, the MSVC compiler is in agreement with Clang (or visa-versa). This is what I thought. I woul…
»
Mārtiņš Možeiko
For C compiler "Y" is variable, "struct Y" is type. So first and second examples are legal for C …
»
Timothy McCarthy
What do other compilers do with this? 1 2 3 4 5// Compiled as C code struct Y { float a; } Y; …
»
James Widman
Stuff like this is why, even though I've been in J16/PL22.16 since 2004, I can't blame Casey when…
»
James Widman
To collect myself, I had to take a brief walk away from my machine after posting this. I just cam…
»
James Widman
RomulusTFM Well...consider this: 1 2 3 4 5// OK // { typedef struct Y {float a;} Y; int Y = 2;…
»
Jay
Hopefully a simple question that I am struggling with. I am at day 115 at the start of SIMD opti…
»
Timothy McCarthy
Well...consider this: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17// OK { typedef struct Y…
»
James Widman
benwaffle Some people avoid typedef struct in C because it pollutes the namespace. Could you ple…
»
Timothy McCarthy
If I understand the POV, a C programmer is dismayed by the size of the generated C++ code; much l…
»
hendrix
C++ must have done something right https://www.youtube.com/watch?v=ltCgzYcpFUI
»
Ameen Sayegh
Oh My God!!! I almost lost my mind, trying to figure out why my hero movement is different than C…
»
Aidan
By adding epsilons, you're inherently adding some inaccuracy to your simulation. You really want …
»
Mārtiņš Možeiko
Yeah, pretty much what you said. Just get the input from user, process it, and render result on s…
»
Bryan Taylor
chr_stoev I have never used fixed point position before. I guess that would fix some of the round…
»
Christian
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 al…
»
Philip Buuck
Hello everyone, The contribution I am currently planning is called Handmade Quake, where I start…
»
Bryan Taylor
Use fixed point to store positions. This gives you an even amount of precision over your entire …
»
Christian
Yeah maybe. If the guy jumps and lands on the ramp the epsilon would keep him high enough for it …
»
Runaway Rabbit
I'm still real new to this, but couldn't you use an epsilon to account for floating-point errors?
»
Runaway Rabbit
I don't think there is a bug in your code. I think what you are seeing is StretchDIBits trying t…
»
Connor
I am not new to handmade hero, but I just started following along a couple of weeks ago. Up to th…
»