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
I'm not sure if this is because I am using a pure C compiler and not a C++ compiler, or clang vs M…
»
Robert W. Childress
Howdy folks, I'm building a little game and engine heavily influenced by Casey's Handmade Hero, bu…
»
Derek
I know this is an old post, but I thought this might be a helpful addition. Let me know if I can i…
»
Tobias Wolf
Thanks for the feedback. Yeah, I considered deleting the video afterwards, but given that I starte…
»
Dawoodoz
Umm, I want to talk about, I forgot, let's talk about something else first... Three minutes in, th…
»
Simon Anciaux
You should probably ask on the 4coder discord server (you can find a link on twitter) as Allen doe…
»
JPereira
Hi, I've been using 4coder and is great, I love it. But it lacks some functionality, it's still ki…
»
funemaker
Perfect, thanks very much! I think SetExitKey works for me - very nice to find out that can be cus…
»
Mārtiņš Možeiko
You could handle WindowShouldClose() explicitly: If you want to just disable ESC key, there's SetE…
»
funemaker
Hello! I made a little framework to wrap around Raylib this weekend and want to say congratulatio…
»
x13pixels
Simon, Having macro-like substitution in the watch window is a good idea. Will definitely implemen…
»
Mārtiņš Možeiko
Put it it godbolt and you'll see: struct A size is 16, because double must be 8-byte aligned. So …
»
longtran2904
Just curious, is there any difference between struct B and C: Can you also explain more about the …
»
Mārtiņš Možeiko
.natvis parsing when? :D
»
Mārtiņš Možeiko
Compiler inserts padding so next member is aligned for its required alignment. For example, on x64…
»
da447m
There is no need for that. Padding is taken into account when using offsetof. Does the compiler pa…
»
ratchetfreak
There is no need for that. Padding is taken into account when using offsetof.
»
da447m
the offset of first byte of the member will be same as offset of member from beginning of struct S…
»
Simon Anciaux
Looks interesting. In the future it would be nice to be able to save format specifier (or more gen…
»
x13pixels
I wanted to show a new feature in an upcoming version of RemedyBG which allows the presentation of…
»
Mārtiņš Možeiko
I assumed it returned the address of the first byte of the member? That is correct. But because ob…
»
Jason
Oh perfect. Seems like it might be a useful thing to support but obviously not essential. Thanks m…
»
da447m
It's getting the number of bytes offset from the start of the struct. So in the user code, you can…
»
Max
That make sense. I guess there are some ways to elevate this issue. Having an placeholder asset …
»
Simon Anciaux
I don't think there is anything special. The name is just there to tell you that if you want only …
»
Mārtiņš Možeiko
Because having it in language would be way easier to use & share. Otherwise you would need to inst…
»
Mārtiņš Možeiko
It is different way of writing offsetof(sim_region, Origin). Casey does not like to depend on comp…
»
Oliver Marsh
It's getting the number of bytes offset from the start of the struct. So in the user code, you can…
»
da447m
In the file handmade_generated.h we find My first question here is why casting 0 like that? Is thi…
»
da447m
Thx for the reply! No, I'm actually just asking why he named that "legacy". Usually this means som…
»