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.
Rosebud
Hello everyone, I just started the "Intro to C" video and am having issues with either Visual St…
»
elle
Because this came up numerous times during HH, I read the spec and want to share my findings. ;) …
»
Mārtiņš Možeiko
Zero-cost model for exceptions means that there is no additional code or performance penalty when…
»
Goobley
Pointers to member functions can certainly be a little tricky however with C++11 and a mix of tem…
»
Wesley Robb
Another issue with C++ constructors is that you cannot return stuff from them. To fail a construc…
»
Dale Kim
Maybe we should start a list or a separate thread for organizing meetups before and after the con…
»
Brendon
Thanks, I guess I missed the brackets. I thought he was incrementing it by 1 u8, not 1 asset_mem…
»
Bryan Taylor
"Block" points to the header struct for the block -- which we use to track the size for freeing l…
»
Mārtiņš Možeiko
If I remember correctly then that is because asset_memory_block is stored in memroy just before t…
»
Mattie
Block is actually just the header for the following free space, not the free space itself. "Block…
»
Brendon
Why isn't it just "Block", why the extra "+ 1"? Isn't Block the thing you want to return? Here …
»
Mārtiņš Možeiko
Virtual functions are the difference. In stand-alone case you'll need to make sure you call corre…
»
Bryan Taylor
Generally speaking, any minor syntactic difference boils down to personal preference. There is a…
»
Christian
I could eat some BBQ :-) I'm in Seattle from friday at 6 PM until monday morning. Any recommenda…
»
Joel Davis
Use what works for you. I mean, dogmatically rejecting OOP is just as bad as dogmatically requiri…
»
Goobley
Hey, (I have read the other OOP topics on this forum, and elsewhere, but none of them seemed to …
»
Jeff Buck
After an unanticipated extended hiatus, the native Mac OS X port of Handmade Hero is back up-to-d…
»
Mārtiņš Možeiko
No problem, glad I can help :)
»
Connor
Thanks for the information! That's what I needed to know! PS. I have noticed that you are answeri…
»
Mārtiņš Možeiko
DirectSound is based on C++ COM object model. This means having public abstract C++ class. And re…
»
Connor
I accidentally deleted the InitDirectSound function when converting the from .cpp to c from my fo…
»
Tim
Thank you! Installing Visual Studio Community (aka VC 14.0) fixed the problem. I am now calling t…
»
Timothy McCarthy
When you add the resource you don't specify a bitmap. You specify a custom resource. In my 32 bit…
»
Pumpkin Sauce
Sorry I wasn't clear. I DO have a 32bit image, made in gimp. But when I clicked add resource and …
»
Timothy McCarthy
Ah, I assumed you already had the 32bit image. You would load that image into the resource as a c…
»
Pumpkin Sauce
@RomulusTFM It's kinda funny because when I did that I typed Bitmap when they asked me the type a…
»
Timothy McCarthy
I would look into adding the image as a custom resource. You then would use the LoadResource func…
»
Pumpkin Sauce
cmuratori This would be a much better approach than trying to use the resource system because the…
»
Casey Muratori
Although it's not necessarily a good idea because some anti-virus software is stupid (OK, most an…
»
Pumpkin Sauce
This is more of a general question and not really related to handmade hero but I hope it's ok I'm…
»