It is not just speed that makes Windows bad, although I would argue that the speed of a number of…
@ongaku
I'd encourage just diving right in and when you hit something you don't know, turn elsew…
Lenny —
The adoption rate of Windows 8 is so abysmal that they are giving free updates to the next OS.
…
The pure C was done to facilitate porting handmade hero to non C++ platform (I think it was for t…
So you may say that if your program runs slow, no hardware is going to help. The reverse of the p…
mmozeiko You and your caches :)
Yes. About that. It is incredibly important.
Because if you c…
What I am saying is, that there is nothing in Windows that stops you from writing amazing fast so…
At the end of day 29 we divide handmade.h into two header files, handmade.h & handmade_platfo…
You can control vibration by sending HID page stuff back to joystick.
I have PS4 controller, and …
The reason I don't think raw input is an option is because I don't know of any way to send vibrat…
I think it is not true that nobody is able to do better, because Microsoft themselves used to be …
This was not working for me on Windows 8.1 x64.
I needed to change CompareMemory function to be …
You and your caches :)
While Windows works fine with me (with a lot of help from FAR Manager + C…
Few people have bashed microsoft as badly as I have done. In private. I have literally hated wind…
Thanks guys for holding my hand through all that. I feel reasonably incompetent. But glad I've go…
Another option would be to use Raw Input API to read Joystick info and not use DirectInput and XI…
*EDIT* Oh... this ended up much longer than I initially thought ^^; sorry.. manages to say very l…
If you have define like this:
1#define Pi32 = 3.14159265359f;
Then following code:
1tSine += 2.…
Yes, if you want to support XBox controllers you pretty much have to use XInput - DirectInput doe…
So i removed all the other files from the project, and just built with Win32Handmade.cpp. And it …
Yes, there is. Click right mouse button on file, choose Properties and then select "Yes" for "Exc…
Ok, thanks guys for helping out, I think I AM fighting VS :( That sounds like what's happening, b…
I don't use VisualStudio but it is fairly typical that .cpp files will be compiled separately and…
When you get errors, which file are you compiling? Win32Handmade.cpp?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
3…
But is Win32Handmade.cpp included in this file you are showing? Or is this file included in Win32…
I have the typedef's in Win32Handmade.cpp. I just notices a VS2013 settings file in the hh source…
no, not me. i am not even saying i agree. i just told you what i think HE meant.
ps. you don't n…
Bah, I can't read :) stdint.h with uint32_t is not the problem! oliholli explained correctly what…
I guess you still haven't typedef'd uint32, uint64, etc. The compiler is looking at uint32 above …