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.
Livet Ersomen Strøm
What I am saying is, that there is nothing in Windows that stops you from writing amazing fast so…
»
mallardz
At the end of day 29 we divide handmade.h into two header files, handmade.h & handmade_platfo…
»
Mārtiņš Možeiko
You can control vibration by sending HID page stuff back to joystick. I have PS4 controller, and …
»
Casey Muratori
The reason I don't think raw input is an option is because I don't know of any way to send vibrat…
»
Casey Muratori
I think it is not true that nobody is able to do better, because Microsoft themselves used to be …
»
Mārtiņš Možeiko
This was not working for me on Windows 8.1 x64. I needed to change CompareMemory function to be …
»
Mārtiņš Možeiko
You and your caches :) While Windows works fine with me (with a lot of help from FAR Manager + C…
»
Livet Ersomen Strøm
Few people have bashed microsoft as badly as I have done. In private. I have literally hated wind…
»
Gavin Williams
Thanks guys for holding my hand through all that. I feel reasonably incompetent. But glad I've go…
»
Mārtiņš Možeiko
Another option would be to use Raw Input API to read Joystick info and not use DirectInput and XI…
»
Gafgar (Anders Davallius)
*EDIT* Oh... this ended up much longer than I initially thought ^^; sorry.. manages to say very l…
»
Mārtiņš Možeiko
If you have define like this: 1#define Pi32 = 3.14159265359f; Then following code: 1tSine += 2.…
»
Casey Muratori
Yes, if you want to support XBox controllers you pretty much have to use XInput - DirectInput doe…
»
Gavin Williams
So i removed all the other files from the project, and just built with Win32Handmade.cpp. And it …
»
Mārtiņš Možeiko
Yes, there is. Click right mouse button on file, choose Properties and then select "Yes" for "Exc…
»
Gavin Williams
Ok, thanks guys for helping out, I think I AM fighting VS :( That sounds like what's happening, b…
»
Oliver Holliday
I don't use VisualStudio but it is fairly typical that .cpp files will be compiled separately and…
»
Mārtiņš Možeiko
When you get errors, which file are you compiling? Win32Handmade.cpp?
»
Gavin Williams
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…
»
Mārtiņš Možeiko
But is Win32Handmade.cpp included in this file you are showing? Or is this file included in Win32…
»
Gavin Williams
I have the typedef's in Win32Handmade.cpp. I just notices a VS2013 settings file in the hh source…
»
d7samurai
no, not me. i am not even saying i agree. i just told you what i think HE meant. ps. you don't n…
»
Mārtiņš Možeiko
Bah, I can't read :) stdint.h with uint32_t is not the problem! oliholli explained correctly what…
»
Oliver Holliday
I guess you still haven't typedef'd uint32, uint64, etc. The compiler is looking at uint32 above …
»
Mārtiņš Možeiko
Oh, you want to overload every single operator/function also? In this case operator +=. I don't t…
»
Andrew Bromage
My nickname, "Pseudonym", was chosen 25 years ago when I was reading GEB as an impressionable tee…
»
Mārtiņš Možeiko
This error means that "uint32_t" is unknown to compiler. Have you included <stdint.h> somew…
»
Gus Waldo
Are you using a single translation unit? Maybe some of your includes are not in proper order?
»
d7samurai
no, that wouldn't help, since you are actually adding the .Value members (that are all floats). m…
»
Gavin Williams
Ok, so the first error is Error 1 error C2146: syntax error : missing ';' before identifier 'Sa…
»