Changeset 7910 in orxonox.OLD for branches/gui/src/lib
- Timestamp:
- May 27, 2006, 5:23:04 PM (18 years ago)
- Location:
- branches/gui/src/lib
- Files:
-
- 2 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
Note: See TracChangeset
for help on using the changeset viewer.