Non-ancient versions of GCC support __rdtsc just fine. You include "x86intrin.h" and __rdtsc() wil…
Hello there! Yesterday I watched day 066 and as I was playing the game today, I noticed the camera…
Connor —
WARNING VERY SCARY ASM CODE: I am in the process of moving code from my old computer to a new one,…
Makes sense. I missed the copy-n-paste from official headers into your codebase to avoid #include'…
Yes you have. You either copy them from MSDN or from official headers into your code.
I understand how to retrieve function ptrs to the Win32 API. However, if you are using DirectX, an…
I'm pretty sure he simply defines structures/constants himself and declares function pointers to n…
Casey said that he uses OpenGL at Molly Rocket, and he loads the OpenGL functions himself from the…
I think Casey already addressed this topic, but as a quick summary: there are no artists working w…
In a fairly recent episode (two-hundred something) Casey briefly mentioned during Q&A that in his …
The code for changing the game mode seems a bit fragile at the moment. Would it be a good idea to …
There's a saying somewhere in the game industry that artists should be able to get their assets in…
I know this may sound daft but I'd love to have a voice acting role even if it was extremely minor…
kai —
i just starting in this awesome series ,and i just finished day 9 ,i was having a problem because …
Hi! I've always built and ran the code successfully using a newer version of Visual Studio (2015) …
Windows does log these things. At a cursory glance, it seems like they've even got an API for re…
Almost, but not exactly. GetProcAddress handle mangled names correctly. The problem is that it is …
Vivek —
Thanks for the clarification. we are doing this just because GetProcAddress could not handle mangl…
Yes, that's the purpose of extern "C" - to make function be "C compatible". And to do that you are…
Vivek —
Basically you are saying that extern "C" will guarantee (non mangled function names) on all compil…
It appears Visual Studio linker exports unmangled function name if it is specified with /EXPORT co…
Vivek —
Hi, I am at day 030 and this is the question I have, We are using extern "C" in handmade.cpp for t…
Tom —
Well, I suppose one could argue, that using SDL the way the SDL-Port does is more in vein of a pl…
The problem is that you may have to independently invent the wheel. I don't know of any available …
Ah, cool - I am waiting for payday before preordering, so wasn't aware of the git repo - that make…
Well if you have preorder, you can always pull code from github. If you pull new code every day th…
I've had a bit of a search but so far this seems like a new question: For those of us who pay by v…
I see... Didn't know about wmic. But even with this log things should be pretty difficult to debug…
Yes, for C code RTTI and regular exceptions doesn't mean anything. On Windows there is possibility…
vexe —
I guess we don't care about disabling RTTI and Exceptions if we switch MSVC to C mode, correct? Wh…