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
.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…
»
da447m
Yes, that's correct. It requires exactly that. So basically this is a metalanguage that could have…
»
Mārtiņš Možeiko
Yes, that's correct. It requires exactly that.
»
da447m
Alright Martins, now I'm at day 206 and 207, now I understood why Casey created the tokenizer and …
»
Simon Anciaux
If you're speaking about how to use the assets to run the game, there should be a readme file in t…
»
Simon Anciaux
There are also ways to mitigate the issue, like having "required" assets and "optional" assets. Fo…
»
Max
Thanks for the response! I was worried that might be the answer haha. The problem doesn't seem to…
»
Mārtiņš Možeiko
or just play through the game with a very large memory allocation and record largest amount of mem…
»
Mārtiņš Možeiko
What I don't get, using your example, is why wouldn't you just want the entire struct memcpy() to …
»
x13pixels
This is caused by the /JMC compiler option. We could consider supporting this option at some poi…
»
da447m
Hi Martins, if I understood correctly, you want: 1 - compiler unfolds types inside a struct for yo…
»
Max
How does one pre-allocate the correct amount of memory for game assets? I have been working my way…
»
Mārtiņš Možeiko
Because you want all that logic be resolved in compile time (thus the codegen) not runtime. Same c…
»
da447m
Is there any video where he explains the naming? I went to vid 599 but didn't find anything.
»