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.
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…
»
Mārtiņš Možeiko
Just start with first error. Don't look at big error list from bottom or middle. Typically by fi…
»
Gavin Williams
So maybe on my computer they aren't in the same compile unit. I'm sure I've missed something. I'm…
»
Mārtiņš Možeiko
As far as I know the biggest difference is that with DirectInput on Xbox controller left and righ…
»
Flyingsand
I asked Casey on the stream the other day if he'd read the book "GEB" (Godel, Escher, Bach) by Do…
»
Albert Elwin
Just finished watching day 45 and I had a quick question about the geometric movement search (or …
»
Wilson
@zoo Thanks for all the insights about math. It really boils down to what you talked about, tha…
»
Mārtiņš Možeiko
Blog post is about C, not C++.
»
Mārtiņš Možeiko
Not sure I understand what you are suggesting. Something like this? 1 2 3 4 5 6 7 8 9 10…
»
Livet Ersomen Strøm
Sometimes I wonder if I can make a career over how to avoid c++. As long as I do it in c++ it can…
»
Livet Ersomen Strøm
Cant you create a xcoord type, ycoord type and so on, to let the compiler find those typos? Yes y…
»
Mārtiņš Možeiko
What do you mean different types? char, float and double? How that will work? Afaik all types nee…
»
Livet Ersomen Strøm
Shouldn't you really make the Z, X and Y coords different TYPES? Seems to me you make a lot of ty…
»
Blake
Aaah okay. I've heard of unity builds but didn't realize that's what he was doing in the stream. …
»
Simon Anciaux
win32_handmade.cpp includes math.h, typedef the "custom" types and then includes handmade.h and h…
»
Gavin Williams
I have been working through the days, and mostly everything has been working, but my code is 'a l…
»
Mox
Hi, I believe the SetCamera code contains a typo. The code that checks the dormant entities posi…
»
ThadeuMelo
Because it´s easier for PC development for any machine with Windows. Casys will adress support f…
»
Ville Penttinen
Including CPP (source) files this way is often used in a build method called 'Unity build'. Which…
»
Blake
I'm currently rewriting a personal project to look more like handmade hero's code. I'm very confu…
»