Handmade Hero»Forums»Code
The_8th_mage
69 posts / 1 project
Day 279 Entity block data
hello.
i was wondering why did the Entity block data was an array of 1<<16 bytes and not a memory arena of 1<<16, as the memory arena has the builtin utilities for pushing stuff and looking whether things fit.
thanks,
The 8th mage
Casey Muratori
801 posts / 1 project
Casey Muratori is a programmer at Molly Rocket on the game 1935 and is the host of the educational programming series Handmade Hero.
Day 279 Entity block data
I don't know that there's any particular reason at the moment, but since that part of the code will eventually be specialized packing/unpacking, I probably wanted to keep it hand-coded in that area.

- Casey