HUGO: Enable the use of the icon based inventory

In Win versions, F6 now opens the directory. Not perfect yet... 

svn-id: r54853
This commit is contained in:
Arnaud Boutonné 2010-12-10 07:08:54 +00:00
parent e6366d4972
commit f8fa960cfd
6 changed files with 358 additions and 282 deletions

View file

@ -86,12 +86,6 @@ void Parser::keyHandler(uint16 nChar, uint16 nFlags) {
_vm->_screen->userHelp();
_checkDoubleF1Fl = !_checkDoubleF1Fl;
break;
case Common::KEYCODE_F6: // Inventory
showDosInventory();
break;
case Common::KEYCODE_F8: // Turbo mode
_config.turboFl = !_config.turboFl;
break;
case Common::KEYCODE_F2: // Toggle sound
_vm->_sound->toggleSound();
_vm->_sound->toggleMusic();
@ -108,6 +102,12 @@ void Parser::keyHandler(uint16 nChar, uint16 nFlags) {
_vm->_scheduler->restoreScreen(*_vm->_screen_p);
gameStatus.viewState = V_PLAY;
break;
case Common::KEYCODE_F6: // Inventory
showDosInventory();
break;
case Common::KEYCODE_F8: // Turbo mode
_config.turboFl = !_config.turboFl;
break;
case Common::KEYCODE_F9: // Boss button
warning("STUB: F9 (DOS) - BossKey");
break;