Yeah, pretty much what you said. Just get the input from user, process it, and render result on s…
chr_stoev I have never used fixed point position before. I guess that would fix some of the round…
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…
Hello everyone,
The contribution I am currently planning is called Handmade Quake, where I start…
Use fixed point to store positions. This gives you an even amount of precision over your entire …
Yeah maybe. If the guy jumps and lands on the ramp the epsilon would keep him high enough for it …
I'm still real new to this, but couldn't you use an epsilon to account for floating-point errors?
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…
So I am making a 2d platformer, heavily influenced by HH. I use more or less the same collision d…
Pete —
Thank you for the clear answers. Now I know why it looks this way and that i can make my changes …
It was valid code only with Visual Studio. In C that was never a valid code.
Not sure how far bac…
That used to be valid code. That's why you can see Casey doing for loops like this in some early …
Pete —
I am working on a project where there is a lot of old code written for Windows.
On several place…
mmozeiko To be compatible with Windows?
Unsurprisingly, Windows does it for the same reason.
mmo…
people —
I thought I'd post a diff of the "test_asset_builder.*" files which have
support for xlib core t…
To be compatible with Windows? :D
It also uses gs for 64-bit and fs for 32-bit.
Or maybe (I'm gu…
In my previous company I have successfully shipped product on Linux as binary executable with lin…
@longboolean and @effect0r: Thank you for bringing these issues up during the stream and of cours…
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 w…
That does sound a lot like some kind of block :( Normally the e-mails are sent pretty much insta…
Kim 1
2
3
4
5
6
7
8
9
10
11
12
13
14inline u32 GetThreadID(void)
{
u32 ThreadID;
#if…
mmozeiko On Linux syscalls numbers and arguments are define by POSIX (I think), and their call me…
mothil —
I've checked through my mail now, both my labels, the inbox and the spam folder. Nowhere to be fo…
I looked at the e-mail address with which you registered this forum account, and I found that e-m…
alfred Xinput just don't support non microsoft controllers?
My Logitech F310 supports Xinput.
mothil —
Hey. Okay, so back in March I preordered HMH and downloaded the source code. I didn't understand …
mmozeiko
...
For opening file, reading in at closing you use these functions:
open - http://pubs…