mmm assembly I guess since eax register is 32 bit, it makes it easier for the compiler than a 8 bi…
Ok, so struct size optimization is one reason to use fixed-size bool. I guess the next question is…
I come from domains without a fixation on (cache-friendly) performance, but . Short version of the…
Thanks I just wanted to be sure I wasn't missing something, also thanks for taking on such a gigan…
I haven't put out the game design publicly, and probably won't. It will continue to be a surprise…
I toyed with this idea but I think it's a better idea to do the opposite, because of the time the…
Would a ground/floor entity be an easy way to get to a nice Z handling system That way an entity w…
I've done some light reading of the forum and the website and I understand the design is final and…
Send Casey some email (casey (at) mollyrocket.com) and he'll sort you out.
Yes, of course. Compiling code is easy (compilers are smart). Reading code is not so. That means m…
Waste is important, but it's not the only issue. There are situations where you'd like to guarant…
As the title suggests I somehow misplaced my unique link. Is there a way to recover it, or would I…
As for knowing sizes I would assume it's more about alignment in structures or array of structure…
If somebody missed, Casey talked about why he uses bool32 not bool in previous episodes: "Bool da…
Sven —
so he can do mystruct* one = (mystuct*) blah and that chunk will store "one". then he can do more…
She specifically said "no input" and that this includes the time, so I'm guessing that explicitly…
That also sounds like a good argument for "bool8", subject to the usual disclaimer about putting …
Could you elaborate on the reason(s) for this?[/quote] It's so he can add it to the address to ge…
Sven —
If I haven't missed anything performance was the only reason you gave on the stream when you intr…
Could you elaborate on the reason(s) for this?
I actually recommend against using "bool" for a number of reasons, some of which are mentioned her…
Your compiler should be giving you a warning that you are assigning a value that is too big to fit…
Sven —
Sorry for bringing this old topic back up. I am wondering if anybody ever made any measurements ab…
Jeff, I use Illustrator, but mainly because I already had it. If you are interested on doing somet…
He said in the previous stream that he will clean up everything when it's all done. He also said s…
Sven —
Generally I prefer early exits over deeply nested structures. It makes it much easier to mentally …
I understand and agree with what you are saying. My point was that anything that adds extra devel…
Sven —
Such annotations are not useful because they make the code more readable. Actually I find this hur…
There's the random number instruction on the CPU, there's timing-based randomization (see how many…