Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5094 in orxonox.OLD for trunk/src


Ignore:
Timestamp:
Aug 21, 2005, 11:24:36 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: The Shell can now be activated/deactivated using '`'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/shell.cc

    r5093 r5094  
    306306    {
    307307      if (EventHandler::getInstance()->getState() == ES_GAME)
     308      {
    308309        EventHandler::getInstance()->setState(ES_SHELL);
     310        this->setRelCoorSoft2D(0, GraphicsEngine::getInstance()->getResolutionY()-150, 1, 5);
     311      }
     312
    309313      else
     314      {
    310315        EventHandler::getInstance()->setState(ES_GAME);
     316        this->setRelCoorSoft2D(0, GraphicsEngine::getInstance()->getResolutionY()+10, 1, 5);
     317      }
    311318    }
    312 
    313319    else if (event.type == SDLK_TAB)
    314320      this->autoComplete();
Note: See TracChangeset for help on using the changeset viewer.