Changeset 11811
- Timestamp:
- Feb 24, 2018, 6:09:45 PM (7 years ago)
- Location:
- code/branches/cegui0.8_ogre1.9/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cegui0.8_ogre1.9/src/libraries/network/TrafficControl.cc
r11071 r11811 140 140 if ( !this->bActive_ ) 141 141 return; 142 142 std::list<obj>::iterator itvec; // iterator to iterate through the acked objects 143 143 144 144 //assertions to make sure the maps already exist -
code/branches/cegui0.8_ogre1.9/src/orxonox/controllers/AIController.cc
r11071 r11811 227 227 this->moveToTargetPosition(); 228 228 229 229 this->doFire(); 230 230 } 231 231 } -
code/branches/cegui0.8_ogre1.9/src/orxonox/overlays/InGameConsole.cc
r11795 r11811 72 72 { 73 73 const int LINES = 30; 74 const float CHAR_WIDTH = 8.0f; // fix this please - determine the char-width dynamically74 const float HARDCODED_CHAR_WIDTH = 8.0f; // fix this please - determine the char-width dynamically 75 75 76 76 SetConsoleCommand("InGameConsole", "openConsole", &InGameConsole::openConsole); … … 448 448 449 449 if (LINES > 0) 450 this->maxCharsPerLine_ = std::max(10U, static_cast<unsigned int>(static_cast<float>(this->desiredTextWidth_) / CHAR_WIDTH));450 this->maxCharsPerLine_ = std::max(10U, static_cast<unsigned int>(static_cast<float>(this->desiredTextWidth_) / HARDCODED_CHAR_WIDTH)); 451 451 else 452 452 this->maxCharsPerLine_ = 10;
Note: See TracChangeset
for help on using the changeset viewer.