Changeset 4072 in orxonox.OLD for orxonox/branches
- Timestamp:
- May 6, 2005, 12:17:24 AM (20 years ago)
- Location:
- orxonox/branches/md2_loader/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/md2_loader/src/defs/debug.h
r3966 r4072 56 56 // DEFINE MODULES 57 57 #define DEBUG_MODULE_ORXONOX 0 58 #define DEBUG_MODULE_WORLD 159 #define DEBUG_MODULE_PNODE 158 #define DEBUG_MODULE_WORLD 0 59 #define DEBUG_MODULE_PNODE 0 60 60 #define DEBUG_MODULE_WORLD_ENTITY 0 61 61 #define DEBUG_MODULE_COMMAND_NODE 0 … … 63 63 #define DEBUG_MODULE_LOAD 0 64 64 65 #define DEBUG_MODULE_IMPORTER 365 #define DEBUG_MODULE_IMPORTER 2 66 66 #define DEBUG_MODULE_TRACK_MANAGER 0 67 67 #define DEBUG_MODULE_GARBAGE_COLLECTOR 0 68 68 #define DEBUG_MODULE_LIGHT 0 69 #define DEBUG_MODULE_PLAYER 170 #define DEBUG_MODULE_WEAPON 369 #define DEBUG_MODULE_PLAYER 0 70 #define DEBUG_MODULE_WEAPON 0 71 71 #define DEBUG_MODULE_MATH 0 72 #define DEBUG_MODULE_FONT 173 #define DEBUG_MODULE_ANIM 174 #define DEBUG_MODULE_PARTICLE 472 #define DEBUG_MODULE_FONT 0 73 #define DEBUG_MODULE_ANIM 0 74 #define DEBUG_MODULE_PARTICLE 0 75 75 76 76 #define DEBUG_MODULE_NULL_PARENT 0 -
orxonox/branches/md2_loader/src/lib/graphics/graphics_engine.cc
r4070 r4072 279 279 // temporary, only for showing how fast the text-engine is 280 280 char tmpChar1[20]; 281 sprintf(tmpChar1, "Current: %4.0f", this->currentFPS);281 sprintf(tmpChar1, "Current: %5.0f", this->currentFPS); 282 282 this->geTextCFPS->setText(tmpChar1); 283 283 char tmpChar2[20]; 284 sprintf(tmpChar2, "M ax: %4.0f", this->maxFPS);284 sprintf(tmpChar2, "MAX: %4.0f", this->maxFPS); 285 285 this->geTextMaxFPS->setText(tmpChar2); 286 286 char tmpChar3[20]; 287 sprintf(tmpChar3, "M in: %4.0f", this->minFPS);287 sprintf(tmpChar3, "MIN: %4.0f", this->minFPS); 288 288 this->geTextMinFPS->setText(tmpChar3); 289 289 } … … 294 294 if( display) 295 295 { 296 this->geTextCFPS = TextEngine::getInstance()->createText("fonts/ earth.ttf", 30, TEXT_DYNAMIC, 0, 255, 0);296 this->geTextCFPS = TextEngine::getInstance()->createText("fonts/courier.ttf", 30, TEXT_DYNAMIC, 0, 255, 0); 297 297 this->geTextCFPS->setAlignment(TEXT_ALIGN_LEFT); 298 298 this->geTextCFPS->setPosition(0, 500); 299 this->geTextMaxFPS = TextEngine::getInstance()->createText("fonts/ earth.ttf", 30, TEXT_DYNAMIC, 0, 255, 0);299 this->geTextMaxFPS = TextEngine::getInstance()->createText("fonts/quake.ttf", 30, TEXT_DYNAMIC, 0, 255, 0); 300 300 this->geTextMaxFPS->setAlignment(TEXT_ALIGN_LEFT); 301 301 this->geTextMaxFPS->setPosition(0, 530); 302 this->geTextMinFPS = TextEngine::getInstance()->createText("fonts/ earth.ttf", 30, TEXT_DYNAMIC, 0, 255, 0);302 this->geTextMinFPS = TextEngine::getInstance()->createText("fonts/quake.ttf", 30, TEXT_DYNAMIC, 0, 255, 0); 303 303 this->geTextMinFPS->setAlignment(TEXT_ALIGN_LEFT); 304 304 this->geTextMinFPS->setPosition(0, 560); -
orxonox/branches/md2_loader/src/lib/graphics/importer/md2Model.h
r4070 r4072 91 91 92 92 93 94 95 93 //! A class for representating a MD2Model 96 94 class MD2Model : public AbstractModel { -
orxonox/branches/md2_loader/src/orxonox.cc
r4063 r4072 313 313 */ 314 314 315 printf("++INFO++++++++++++++++++++++++++++++++++++++++++++++++\n"); 316 printf("+ This version of orxonox is for testing purposes +\n"); 317 printf("+ In order to run it, you will need some files for +\n"); 318 printf("+ the data/fonts and data/models repository. +\n"); 319 printf("+ If you don't have them, the app will terminate +\n"); 320 printf("+ with a segfault... +\n"); 321 printf("+ ...bzzzzz... paede out... +\n"); 322 printf("++++++++++++++++++++++++++++++++++++++++++++++++++++++\n"); 323 315 324 316 325 int i; -
orxonox/branches/md2_loader/src/story_entities/world.cc
r4066 r4072 196 196 cn->reset(); 197 197 198 ResourceManager::getInstance()->debug();198 //ResourceManager::getInstance()->debug(); 199 199 ResourceManager::getInstance()->unloadAllByPriority(RP_LEVEL); 200 ResourceManager::getInstance()->debug();200 //ResourceManager::getInstance()->debug(); 201 201 202 202 delete WorldInterface::getInstance(); … … 208 208 TextEngine::getInstance()->flush(); 209 209 210 AnimationPlayer::getInstance()->debug();210 //AnimationPlayer::getInstance()->debug(); 211 211 delete AnimationPlayer::getInstance(); // this should be at the end of the unloading sequence. 212 212 //delete garbagecollecor … … 446 446 // lightMan->setPosition(20, 10, -20); 447 447 // lightMan->setDiffuseColor(0,0,0); 448 lightMan->debug();448 //lightMan->debug(); 449 449 lightMan->setPosition(-5.0, 10.0, -40.0); 450 450 … … 466 466 glNewList (objectList, GL_COMPILE); 467 467 468 // 469 trackManager->debug(2);468 //trackManager->drawGraph(.01); 469 //trackManager->debug(2); 470 470 glEndList(); 471 471
Note: See TracChangeset
for help on using the changeset viewer.