#36861 - Bojangles - Wed Mar 02, 2005 5:13 pm
I'm trying to implement a Tile memory manager similar to what Raphael Baptista explains in his artilcle, and what TwoHeaded software implemented with the Earth3 demo.
Here's my trouble - when I declare the "Killer Array" of global tile numbers, it's something to the tune of 64k (32k shorts). And just declaring that causes my game to no longer run.
I figure it must be a memory thing?
Is there any easy way to track how much memory I'm using, I'm using straight C, so it's probably static declarations that are killing me right now, but I don't really feel like going through all my classes and counting sizeof's...
Thanks,
Bojangles.
Here's my trouble - when I declare the "Killer Array" of global tile numbers, it's something to the tune of 64k (32k shorts). And just declaring that causes my game to no longer run.
I figure it must be a memory thing?
Is there any easy way to track how much memory I'm using, I'm using straight C, so it's probably static declarations that are killing me right now, but I don't really feel like going through all my classes and counting sizeof's...
Thanks,
Bojangles.