Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 16, 2008, 9:22:50 PM (17 years ago)
Author:
rgrieder
Message:
  • updated VC++ files for tolua
  • minor CMLs changes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/Orxonox.cc

    r1066 r1084  
    115115      {
    116116        this->ib_->removeLast();
     117      }
     118      void exit() const
     119      {
     120        CommandExecutor::execute("setInputMode 2");
    117121      }
    118122
     
    405409    ib->registerListener(console, &Testconsole::clear, '§', true);
    406410    ib->registerListener(console, &Testconsole::removeLast, '\b', true);
     411    ib->registerListener(console, &Testconsole::exit, (char)0x1B, true);
    407412
    408413    // first check whether ogre root object has been created
     
    452457      {
    453458        (it)->tick((float)evt.timeSinceLastFrame * this->timefactor_);
    454          it++;
    455      }
     459        it++;
     460      }
    456461
    457462      // don't forget to call _fireFrameStarted in ogre to make sure
Note: See TracChangeset for help on using the changeset viewer.