I don't think there is a bug in your code. I think what you are seeing is StretchDIBits trying to …
Connor —
I am not new to handmade hero, but I just started following along a couple of weeks ago. Up to thi…
So I am making a 2d platformer, heavily influenced by HH. I use more or less the same collision de…
Pete —
Thank you for the clear answers. Now I know why it looks this way and that i can make my changes w…
It was valid code only with Visual Studio. In C that was never a valid code. Not sure how far back…
That used to be valid code. That's why you can see Casey doing for loops like this in some : That…
Pete —
I am working on a project where there is a lot of old code written for Windows. On several places …
Unsurprisingly, Windows does it for the same reason. You got it! The thing that can be done more…
people —
I thought I'd post a diff of the "test_asset_builder.*" files which have support for xlib core te…
To be compatible with Windows? :D It also uses gs for 64-bit and fs for 32-bit. Or maybe (I'm gues…
In my previous company I have successfully shipped product on Linux as binary executable with link…
@longboolean and @effect0r: Thank you for bringing these issues up during the stream and of course…
people —
Sorry, I don't know the reason for the change from gs to fs segment, but when I compile with gcc …
My current precompiled application links against glibc, but it won't run on a Linux distribtion wi…
That does sound a lot like some kind of block :( Normally the e-mails are sent pretty much instan…
Question for very advanced programmers: Why was the selector changed from GS to FS for the x86-64…
That's kind of true and kind of not true. POSIX is a family of standards. As far as the API goes,…
mothil —
I've checked through my mail now, both my labels, the inbox and the spam folder. Nowhere to be fou…
I looked at the e-mail address with which you registered this forum account, and I found that e-ma…
My Logitech F310 supports Xinput.
mothil —
Hey. Okay, so back in March I preordered HMH and downloaded the source code. I didn't understand 9…
Also, for the sort of atomic position-and-read we do in Handmade Hero, you can resort to , which …
Well on Windows he doesn't want to link to C library because that's a library. Casey doesn't like …
Sounds like a plan! I'll try that; thanks! Btw, when Casey talks about (eventually) not even linki…
Not using libc will have same problems as statically linking to libc, so that reason doesn't reall…
Thanks for the amazing details! I appreciate it! My initial thoughts were to avoid libc as differe…
Well if you really want to avoid linking to libc then the thing you need to use are syscalls. Sysc…
You really don't want to avoid libc. It's ok to avoid C runtime stuff (fopen, fread, fprintf, etc.…