Changeset 9878 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Oct 3, 2006, 3:49:52 PM (18 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 4 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; -
trunk/src/lib/script_engine/script_class.cc
r9869 r9878 28 28 { 29 29 assert(scriptMethods != NULL); 30 this->registerObject(this, ScriptClass::_objectList);30 // this->registerObject(this, ScriptClass::_objectList); 31 31 32 32 this->_classID = classID; -
trunk/src/lib/shell/shell_command.cc
r9869 r9878 39 39 ShellCommand::ShellCommand(const std::string& commandName, const std::string& className, Executor<const SubString>* executor) 40 40 { 41 this->registerObject(this, ShellCommand::_objectList);41 // this->registerObject(this, ShellCommand::_objectList); 42 42 PRINTF(4)("create shellcommand '%s' for class '%s'\n", commandName.c_str(), className.c_str()); 43 43 this->setName(commandName); -
trunk/src/lib/shell/shell_command_class.cc
r9869 r9878 38 38 : _className(className) 39 39 { 40 this->registerObject(this, ShellCommandClass::_objectList);40 // this->registerObject(this, ShellCommandClass::_objectList); 41 41 this->setName(className); 42 42
Note: See TracChangeset
for help on using the changeset viewer.