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. ;)
…
Zero-cost model for exceptions means that there is no additional code or performance penalty when…
Pointers to member functions can certainly be a little tricky however with C++11 and a mix of tem…
Another issue with C++ constructors is that you cannot return stuff from them. To fail a construc…
Maybe we should start a list or a separate thread for organizing meetups before and after the con…
Thanks, I guess I missed the brackets. I thought he was incrementing it by 1 u8, not 1 asset_mem…
"Block" points to the header struct for the block -- which we use to track the size for freeing l…
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…
Why isn't it just "Block", why the extra "+ 1"? Isn't Block the thing you want to return?
Here …
Virtual functions are the difference. In stand-alone case you'll need to make sure you call corre…
Generally speaking, any minor syntactic difference boils down to personal preference. There is a…
I could eat some BBQ :-)
I'm in Seattle from friday at 6 PM until monday morning. Any recommenda…
Use what works for you. I mean, dogmatically rejecting OOP is just as bad as dogmatically requiri…
Hey,
(I have read the other OOP topics on this forum, and elsewhere, but none of them seemed to …
After an unanticipated extended hiatus, the native Mac OS X port of Handmade Hero is back up-to-d…
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…
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…
When you add the resource you don't specify a bitmap. You specify a custom resource. In my 32 bit…
Sorry I wasn't clear. I DO have a 32bit image, made in gimp. But when I clicked add resource and …
Ah, I assumed you already had the 32bit image.
You would load that image into the resource as a c…
@RomulusTFM It's kinda funny because when I did that I typed Bitmap when they asked me the type a…
I would look into adding the image as a custom resource. You then would use the LoadResource func…
cmuratori This would be a much better approach than trying to use the resource system because the…
Although it's not necessarily a good idea because some anti-virus software is stupid (OK, most an…
This is more of a general question and not really related to handmade hero but I hope it's ok I'm…