Changeset 9878 in orxonox.OLD for trunk/src/lib/event
- Timestamp:
- Oct 3, 2006, 3:49:52 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/event/event_handler.cc
r9869 r9878 44 44 45 45 /* now initialize them all to zero */ 46 for (unsigned int i = 0; i < ES _NUMBER; i++)46 for (unsigned int i = 0; i < ESTATE_NUMBER; i++) 47 47 this->bUNICODE[i] = false; 48 48 this->grabEvents(false); … … 68 68 bool forgotToUnsubscribe = false; 69 69 70 for(int i = 0; i < ES _NUMBER; ++i)70 for(int i = 0; i < ESTATE_NUMBER; ++i) 71 71 { 72 72 for(int j = 0; j < EV_NUMBER; ++j) … … 203 203 if( state == ES_ALL ) 204 204 { 205 for(unsigned int i = 0; i < ES _NUMBER; i++)205 for(unsigned int i = 0; i < ESTATE_NUMBER; i++) 206 206 if (!this->findListener( NULL, (elState)i, eventType, el)) 207 207 this->listeners[i][eventType].push_back(el); … … 235 235 PRINTF(4)("Unsubscribing event type nr: %i\n", eventType); 236 236 if (state == ES_ALL) 237 for (unsigned int i = 0; i < ES _NUMBER; i++)237 for (unsigned int i = 0; i < ESTATE_NUMBER; i++) 238 238 { 239 239 std::vector<EventListener*>::iterator listener;
Note: See TracChangeset
for help on using the changeset viewer.