Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4320 in orxonox.OLD for orxonox/trunk/src/lib/graphics


Ignore:
Timestamp:
May 27, 2005, 1:13:42 AM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: now string name of a class works parallel to the int id representation and is only used for documentation purposes

Location:
orxonox/trunk/src/lib/graphics
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/graphics/graphics_engine.cc

    r4318 r4320  
    3434  this->minFPS = 9999;
    3535  this->maxFPS = 0;
    36   this->setClassID(CL_GRAPHICS_ENGINE);
     36  this->setClassID(CL_GRAPHICS_ENGINE, "GraphicsEngine");
    3737
    3838  this->fullscreen = false;
  • orxonox/trunk/src/lib/graphics/light.cc

    r4318 r4320  
    3434Light::Light(int lightNumber)
    3535{
    36   this->setClassID(CL_LIGHT);
     36  this->setClassID(CL_LIGHT, "Light");
    3737  char tmpName[7];
    3838  sprintf(tmpName, "Light%d", lightNumber);
     
    205205LightManager::LightManager ()
    206206{
    207   this->setClassID(CL_LIGHT_MANAGER);
     207  this->setClassID(CL_LIGHT_MANAGER, "LightManager");
    208208
    209209  glEnable (GL_LIGHTING);
  • orxonox/trunk/src/lib/graphics/particles/particle_emitter.cc

    r4318 r4320  
    3030                  float velocity)
    3131{
    32    this->setClassID(CL_PARTICLE_EMITTER);
     32   this->setClassID(CL_PARTICLE_EMITTER, "ParticleEmitter");
    3333   this->direction = direction;
    3434   this->setSpread(angle);
  • orxonox/trunk/src/lib/graphics/particles/particle_engine.cc

    r4318 r4320  
    3030ParticleEngine::ParticleEngine ()
    3131{
    32    this->setClassID(CL_PARTICLE_ENGINE);
     32   this->setClassID(CL_PARTICLE_ENGINE, "ParticleEngine");
    3333
    3434   this->systemList = new tList<ParticleSystem>;
  • orxonox/trunk/src/lib/graphics/particles/particle_system.cc

    r4318 r4320  
    3434ParticleSystem::ParticleSystem (unsigned int maxCount, PARTICLE_TYPE type)
    3535{
    36    this->setClassID(CL_PARTICLE_SYSTEM);
     36   this->setClassID(CL_PARTICLE_SYSTEM, "ParticleSystem");
    3737   this->material = NULL;
    3838   this->name = NULL;
  • orxonox/trunk/src/lib/graphics/text_engine.cc

    r4318 r4320  
    5151Text::Text(Font* font, int type)
    5252{
    53   this->setClassID(CL_TEXT);
     53  this->setClassID(CL_TEXT, "Text");
    5454
    5555  // initialize this Text
     
    802802TextEngine::TextEngine ()
    803803{
    804    this->setClassID(CL_TEXT_ENGINE);
     804   this->setClassID(CL_TEXT_ENGINE, "TextEngine");
    805805   this->enableFonts();
    806806
Note: See TracChangeset for help on using the changeset viewer.