Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2009, 8:41:44 PM (14 years ago)
Author:
scheusso
Message:

a small fix in IOConsole
some changes in GUI-system and preparation for keybindings menu
fix in menu handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/libraries/core/Game.cc

    r6175 r6214  
    5858        { Game::getInstance().stop(); }
    5959    SetConsoleCommandShortcutExternAlias(stop_game, "exit");
    60     static void key_esc()
    61         { Game::getInstance().keyESC(); }
    62     SetConsoleCommandShortcutExternAlias(key_esc, "keyESC");
    6360    static void printFPS()
    6461        { COUT(0) << Game::getInstance().getAvgFPS() << std::endl; }
     
    331328    }
    332329
    333     void Game::keyESC()
    334     {
    335         if( this->getState("mainMenu") && this->getState("mainMenu")->getActivity().active==true )
    336             this->stop();
    337         else
    338             GUIManager::getInstance().keyESC();
    339     }
    340 
    341330    void Game::stop()
    342331    {
Note: See TracChangeset for help on using the changeset viewer.