Boost

warning: Creating default object from empty value in /mnt/web115/e0/40/51546440/htdocs/drupal/modules/taxonomy/taxonomy.pages.inc on line 33.
Library boost for C++

Object Pool Management

I'm always looking for performances (too much I guess) and everybody knows that a malloc/free is expensive. That's why I was using a Object (can be Unit, Towers, Ammos....) array as a fixed memory and a vector of Object pointer as a list pointing to some of the array objects. The only problem was about the constructor. I didn't find a way to call it without "new"

Multiplayer : lot of towers
Syndicate content