Changeset 3215 in orxonox.OLD for orxonox/trunk/src/world.cc
- Timestamp:
- Dec 18, 2004, 4:10:05 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world.cc
r3213 r3215 75 75 { 76 76 this->bQuitCurrentGame = true; 77 this->localCamera->setWorld(NULL); 77 //this->localCamera->setWorld(NULL); 78 this->localPlayer->destroy(); 78 79 this->localCamera->destroy(); 79 80 … … 569 570 this->bQuitCurrentGame = false; 570 571 printf("World|Entering main loop\n"); 571 while( !this->bQuitOrxonox && !this->bQuitCurrentGame) /* pause pause pause ?!?!?*/572 while( !this->bQuitOrxonox && !this->bQuitCurrentGame) /* \todo implement pause */ 572 573 { 573 574 //debug routine … … 577 578 // Process input 578 579 handle_input(); 580 if( this->bQuitCurrentGame || this->bQuitOrxonox) 581 { 582 printf("World::mainLoop() - leaving loop earlier...\n"); 583 break; 584 } 579 585 // Process time 580 586 time_slice(); … … 586 592 for(int i = 0; i < 10000000; i++) {} 587 593 } 588 printf("World |Exiting the main loop\n");594 printf("World::mainLoop() - Exiting the main loop\n"); 589 595 } 590 596 … … 655 661 { 656 662 if( !cmd->bUp) this->bQuitOrxonox = true; 657 return true; 663 { 664 printf("World::system_command() - rescv quit command\n"); 665 return true; 666 } 658 667 } 659 668 return false;
Note: See TracChangeset
for help on using the changeset viewer.