/[enigma]/enigma/src/game.cc
ViewVC logotype

Diff of /enigma/src/game.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by reallysoft, Fri Apr 11 13:33:29 2003 UTC revision 1.15 by reallysoft, Fri Apr 11 15:16:03 2003 UTC
# Line 306  Game::change_state(State newstate) Line 306  Game::change_state(State newstate)
306  void  void
307  Game::advance_level()  Game::advance_level()
308  {  {
   
309      unsigned next_level = icurrent_level;      unsigned next_level = icurrent_level;
310    
311    try_next:    try_next:
# Line 614  Game::on_keydown(SDL_Event &e) Line 613  Game::on_keydown(SDL_Event &e)
613          change_state(RELOADLEVEL);          change_state(RELOADLEVEL);
614          break;          break;
615    
616        case SDLK_F5:
617            {
618                bool oldSkip = options::SkipSolvedLevels;
619                options::SkipSolvedLevels = true;
620                advance_level();
621                options::SkipSolvedLevels = oldSkip;
622            }
623            break;
624      case SDLK_F10:      case SDLK_F10:
625          {          {
626              string fname = level_pack->get_info(icurrent_level)->filename + ".bmp";              string fname = level_pack->get_info(icurrent_level)->filename + ".bmp";
# Line 666  static const char *helptext_ingame[] = { Line 673  static const char *helptext_ingame[] = {
673      "Escape:",                  "Show game menu",      "Escape:",                  "Show game menu",
674      "F1:",                      "Show this help",      "F1:",                      "Show this help",
675      "F3:",                      "Kill current marble",      "F3:",                      "Kill current marble",
676        "F5:",                      "Skip to next unsolved level",
677      "F10:",                     "Make screenshot",      "F10:",                     "Make screenshot",
678      "Left arrow:",              "Decrease mouse speed",      "Left arrow:",              "Decrease mouse speed",
679      "Right arrow:",             "Increase mouse speed",      "Right arrow:",             "Increase mouse speed",

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26