- cleanup of masterserver global flag

- attempt to cut down on resources required for masterserver mode to minimize RAM
This commit is contained in:
Mark Vejvoda
2011-12-02 22:04:02 +00:00
parent ff14256dc5
commit 8bdf863636
36 changed files with 183 additions and 121 deletions

View File

@@ -42,6 +42,8 @@ ParticleSystem::ParticleSystem(int particleCount) {
memoryObjectList[this]++;
}
//assert(GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false);
//init particle vector
blendMode= bmOne;
//particles= new Particle[particleCount];
@@ -1160,7 +1162,11 @@ void SplashParticleSystem::updateParticle(Particle *p){
// ParticleManager
// ===========================================================================
ParticleManager::~ParticleManager(){
ParticleManager::ParticleManager() {
//assert(GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false);
}
ParticleManager::~ParticleManager() {
end();
}