Game Development Community

Is this suppost to be something else?

by Sam Guffey · in Torque Game Engine · 10/25/2002 (6:59 pm) · 1 replies

I was snoopin through main.cc and saw this and I didnt know if this had to do with the shape detail or if it was suppost to be for the decals.. Around line 360..
gDecalManager = new DecalManager;
   gClientContainer.addObject(gDecalManager);
   gClientSceneGraph->addObjectToScene(gDecalManager);

   DetailManager::init(); <--- Is this right or is it DecalManager.
   PathManager::init();  
   ParticleEngine::init();

Just wondered.

#1
10/25/2002 (7:16 pm)
That is correct.

gDecalManager = new DecalManager;  // this is where the constructor is called
gClientContainer.addObject(gDecalManager);
gClientSceneGraph->addObjectToScene(gDecalManager);

DetailManager::init(); // this is correct
PathManager::init(); 
ParticleEngine::init();