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.
Casey Muratori
The reason we don't use a global random number generator is not because we are worried about live …
»
Joshua T Bills
Edit: Spelling I really think my brain just lapsed that badly, that when I saw my code (ending in …
»
Mārtiņš Možeiko
No problem. That happens to everybody who writes code. Just read the error messages more carefully…
»
Joshua T Bills
Thank you very much! Silly how many times I looked over that, just to (as usual) look over a misty…
»
Mārtiņš Možeiko
Your code doesn't use OutputDebugString function. It uses OutputDebugStr function. So error messag…
»
Mārtiņš Možeiko
As long as global random table is constant (we don't change it) and we don't keep pointers to it (…
»
vexe
That's a good point indeed. But even if that's the case, we could certainly store the actual rando…
»
Joshua T Bills
Hello all, Thank you in advance for all help. I am new to the series, following along using CodeBl…
»
Daniel Moore
I believe using global variables messes with the memory model necessary to do live code reloading …
»
vexe
Greetings! I'm not sure if someone asked Casey about this or whether or not he talked about it but…
»
Daniel Moore
I'm not sure anything quite like this has been talked about yet on HMH, but I'm interested in hear…
»
Kareem
Thanks a lot for that. Despite the fact that I am a daily follower of handmade hero, I found your …
»
vexe
Oh snap! Eye of the mmozeiko :D So it's basically reducing the accumulating errors due to addition…
»
Mārtiņš Možeiko
Yes, that's correct. If you have only these two values, then you'll get 32767 in both cases. But i…
»
vexe
I know about the ranges. But what I'm saying is, 20000.0f + 20000.0f in float is 40000.0f right? N…
»
Mārtiņš Možeiko
Adding values in 16-bit type won't work because you'll overflow. Try adding two samples: 20000 and…
»
vexe
Couple of things I didn't quite get: 0- Why is Casey calling this variable 'WavePeriod' when it's …
»
vexe
Greetings! Catching up on the series, I found my wave/physics knowledge a bit rusty to say the lea…
»
Mārtiņš Možeiko
Yeah, DirectSound is deprecated. You're "supposed" to use XAudio2 for which it has docs :) For Dir…
»
vexe
I tried the Visual Studio Add/Remove Help Content and downloaded the downloaded the Windows Deskto…
»
Mārtiņš Možeiko
If you use Chrome, install HTTPS Everywhere extensions. It will force browser to access sites over…
»
Mattie
It's because the site now defaults to https, while the youtube embeds are http.
»
vexe
I can't seem to see the video links posted recently (all I see is a blank post). Is it just my bad…
»
Mārtiņš Možeiko
While it is not available standalone, you can still download win32 API documentation offline as pa…
»
Marius Adaškevičius
Unfortunately, Microsoft has stopped providing an offline version of MSDN documentation. If you do…
»
vexe
Greetings! I was looking online for a way to download MSDN's Win32 documentation so I can quickly …
»
Jason Smith
It does get brought up in a q&a although I think it's not until day 100 something and for the reas…
»
vexe
Ummm, basic Emacs question. How do you use these devadvice things? I have this thing from SO that'…
»
vexe
Yeah it's both sad and hilarious that still up to this point there's no straight-forward way to in…
»
drjeats
Truth :P For navigating to symbols in a project at least, the builtin Etags feature works pretty…
»