Changeset 7910 in orxonox.OLD for branches/gui/src
- Timestamp:
- May 27, 2006, 5:23:04 PM (19 years ago)
- Location:
- branches/gui/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/event/event_handler.cc
r7905 r7910 230 230 void EventHandler::unsubscribe(EventListener* el, elState state) 231 231 { 232 if( el == NULL || state >= ES_NUMBER) 233 return; 232 assert( el != NULL && state < ES_NUMBER); 234 233 if( state == ES_ALL) 235 234 { … … 419 418 420 419 /// setting a temporary state in case of an EventListener's process changes the state. 420 printf("%d\n", this->listeners[state][event.type].size()); 421 421 for (unsigned int i = 0; i < this->listeners[state][event.type].size(); i++) 422 422 { 423 PRINT( 4)("= Event dispatcher msg: This event has been consumed\n");424 PRINT( 4)("= Got Event nr %i, for state %i %s::%s\n", event.type, state, this->listeners[state][event.type][i]->getClassName(), this->listeners[state][event.type][i]->getName());425 PRINT( 4)("=======================================================\n");423 PRINT(0)("= Event dispatcher msg: This event has been consumed\n"); 424 PRINT(0)("= Got Event nr %i, for state %i (%d registered) to %s::%s(%p)\n", event.type, i, state, this->listeners[state][event.type][i]->getClassName(), this->listeners[state][event.type][i]->getName(), this->listeners[state][event.type][i]); 425 PRINT(0)("=======================================================\n"); 426 426 this->listeners[state][event.type][i]->process(event); 427 427 } -
branches/gui/src/lib/graphics/graphics_engine.cc
r7868 r7910 286 286 SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 16); //Use at least 16 bits for the depth buffer 287 287 SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); //Enable double buffering 288 289 glEnable(GL_CULL_FACE); 290 glCullFace(GL_FRONT); 288 291 } 289 292 -
branches/gui/src/story_entities/game_world.cc
r7909 r7910 367 367 this->frameTimes[frameTimesIndex] = currentFrame - this->lastFrame; 368 368 this->lastFrame = currentFrame; 369 printf("%f\n", currentFrame);370 369 ++this->cycle; 371 370 this->dtS = 0.0;
Note: See TracChangeset
for help on using the changeset viewer.