/[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.20 by reallysoft, Tue May 20 09:36:52 2003 UTC revision 1.21 by ant_39, Thu May 22 17:34:50 2003 UTC
# Line 606  Game::on_mousebutton(SDL_Event &e) Line 606  Game::on_mousebutton(SDL_Event &e)
606              display::GetStatusBar()->hide_text();              display::GetStatusBar()->hide_text();
607              player::RotateInventory();              player::RotateInventory();
608          }          }
609            else if (e.button.button == 4) {
610                // wheel up -> rotate inventory
611                display::GetStatusBar()->hide_text();
612                player::RotateInventory();
613            }
614            else if (e.button.button == 5) {
615                // wheel down -> inverse rotate inventory
616                display::GetStatusBar()->hide_text();
617                player::RotateInventory(-1);
618            }
619      }      }
620      update_mouse_button_state();      update_mouse_button_state();
621  }  }

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

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