Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4091 in orxonox.OLD for orxonox/trunk/src/game_loader.cc


Ignore:
Timestamp:
May 6, 2005, 8:02:26 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: now All options get loaded in new style (be aware, quiting only works with ESCAPE, not q, but of corse you can change this now in the GUI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/game_loader.cc

    r4020 r4091  
    214214bool GameLoader::worldCommand (Command* cmd)
    215215{
    216   if( !strcmp( cmd->cmd, "up_world"))
     216  if( !strcmp( cmd->cmd, CONFIG_NAME_NEXT_WORLD))
    217217    {
    218218      if( !cmd->bUp)
     
    222222      return true;
    223223    }
    224   else if( !strcmp( cmd->cmd, "down_world"))
     224  else if( !strcmp( cmd->cmd, CONFIG_NAME_PREV_WORLD))
    225225    {
    226226      if( !cmd->bUp)
     
    230230      return true;
    231231    }
    232   else if( !strcmp( cmd->cmd, "pause"))
     232  else if( !strcmp( cmd->cmd, CONFIG_NAME_PAUSE))
    233233    {
    234234      if( !cmd->bUp)
     
    241241      return true;
    242242    }
    243   else if( !strcmp( cmd->cmd, "quit"))
     243  else if( !strcmp( cmd->cmd, CONFIG_NAME_QUIT))
    244244    {
    245245      if( !cmd->bUp) this->stop();
Note: See TracChangeset for help on using the changeset viewer.