Changeset 1563 for code/trunk/src/orxonox/GraphicsEngine.cc
- Timestamp:
- Jun 7, 2008, 11:40:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/GraphicsEngine.cc
r1538 r1563 53 53 54 54 #include "console/InGameConsole.h" 55 #include "tools/ParticleInterface.h" 55 56 #include "Settings.h" 56 57 … … 76 77 { 77 78 RegisterObject(GraphicsEngine); 79 80 this->detailLevelParticle_ = 0; 78 81 79 82 this->setConfigValues(); … … 91 94 SetConfigValue(ogreLogLevelNormal_ , 4).description("Corresponding orxonox debug level for ogre Normal"); 92 95 SetConfigValue(ogreLogLevelCritical_, 2).description("Corresponding orxonox debug level for ogre Critical"); 96 97 unsigned int old = this->detailLevelParticle_; 98 SetConfigValue(detailLevelParticle_, 2).description("O: off, 1: low, 2: normal, 3: high"); 99 100 if (this->detailLevelParticle_ != old) 101 for (Iterator<ParticleInterface> it = ObjectList<ParticleInterface>::begin(); it; ++it) 102 it->detailLevelChanged(this->detailLevelParticle_); 93 103 } 94 104
Note: See TracChangeset
for help on using the changeset viewer.