When code crashes what is error message? Is it writing to invalid address, is it dereferencing nul…
I use Raylib version 3. Right now, I load 14 sounds in my game, but when playing sounds loaded aft…
I didn't knew about that, thanks.
If you have very complex vertex shader, then index buffer helps a lot, because GPU caches vertex s…
As far as I know (I'm not an expert) there are no advantages to using indices except for less memo…
C_Worm —
Hello, im wondering if I should bother using a elementbuffer/indexbuffer for my sprite batch in my…
Hi, We have been working on many different variants of AOgmaNeo that support Unsupervised Behavior…
shusky —
Thank you for your comment, mrmixer. I will try that. Hopefully soon..
You could use a macro that would expand to the constructor with the first parameter being the GUID…
shusky —
During Handmade Hero days 539-541 Casey introduced INTERNAL_MEMORY_PARAM and INTERNAL_MEMORY_PASS …
further thoughts, comments and opinions about this question
I have noticed that it always crashes, when I try to load a file while loading another.
There is also _Generic which lets you decide the logic of picking the overload:
Thanks! Did not know that.
I don't think there exists anything for that. If you change name, you'll have different name. For …
I'm trying to have function overloading in C. The first idea is to just do what C++ does: mangling…
Thanks Martin, that helps a lot. Oh didn't realise the 2gb limit which might make it not worth it.
That is one way how to do that. Sometimes strict corporate anti-virus software may not like that, …
In a handmade chat I remember Casey say you can attach your assets to the end of your exe to turn …
Only on string literals. You can build string + size with macro:
Wait, you can use sizeof on string? I don't even know that. I always thought you need to use somet…
To print lots of new lines with printf you can create a string that contains only new lines and us…
Thanks for replying! I want to get better at metaprogramming so your help is much appreciated. Som…
Yes, to repeat other character than space you need for loop. #line directive will make compiler ge…
So to just print 10 new lines, I can only use a for loop? Are there any other printf arguments tha…
For some reason, this will print 10 empty spaces rather than lines. That is expected. *. for %s te…
For some reason, this will print 10 empty spaces rather than lines. Also, VS couldn't find the cor…
%*.s works just fine with any string. For example, for 4 space indent: As for caller names & line …
For some reason "%*.s" doesn't work with "\n". Another thing that I want to add is the function ca…
If you need correct alignment, you need to parse it and print it out. There's no magic solutions f…