Changeset 7297 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- Apr 15, 2006, 9:48:08 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/game_world.cc
r7296 r7297 136 136 int GameWorld::createAudioThread(void* gameWorld) 137 137 { 138 /*GameWorld* gw = (GameWorld*)gameWorld;138 GameWorld* gw = (GameWorld*)gameWorld; 139 139 printf("STARTIG AUDIO THREAD\n"); 140 140 if(gw->dataTank && gw->dataTank->music != NULL) … … 146 146 gw->dataTank->music->update(); 147 147 SDL_Delay(1); 148 } */149 //printf("End the AudioThread\n");148 } 149 printf("End the AudioThread\n"); 150 150 } 151 151 … … 229 229 if (this->audioThread == NULL) 230 230 this->audioThread = SDL_CreateThread(GameWorld::createAudioThread, (void*)this); 231 232 if (this->dataTank->music != NULL)233 this->dataTank->music->playback();234 231 235 232 this->run(); … … 413 410 PNode::getNullParent()->updateNode (this->dtS); 414 411 SoundEngine::getInstance()->update(); 415 416 if (this->dataTank->music != NULL)417 this->dataTank->music->update();418 419 412 } 420 413
Note: See TracChangeset
for help on using the changeset viewer.