Common subdirectories: scummvm/CVS and myscummvm/CVS
Common subdirectories: scummvm/PocketSCUMM and myscummvm/PocketSCUMM
Common subdirectories: scummvm/dc and myscummvm/dc
Common subdirectories: scummvm/debian and myscummvm/debian
diff -u scummvm/gui.cpp myscummvm/gui.cpp
old
|
new
|
|
971 | 971 | if (_dialog != KEYS_DIALOG) { |
972 | 972 | if (_s->_lastKeyHit == 27) |
973 | 973 | close(); |
| 974 | else if (_dialog == SAVELOAD_DIALOG) { |
| 975 | switch (_s->_lastKeyHit) { |
| 976 | case 111: |
| 977 | // o = options |
| 978 | options(); |
| 979 | draw(0,100); |
| 980 | break; |
| 981 | case 115: |
| 982 | // s = save |
| 983 | _cur_page = 2; |
| 984 | getSavegameNames(1); // 0 is reserved for autosave - start at 1 |
| 985 | draw(0, 100); |
| 986 | break; |
| 987 | case 108: |
| 988 | // l = load |
| 989 | _cur_page = 1; |
| 990 | getSavegameNames(0); |
| 991 | draw(0, 100); |
| 992 | break; |
| 993 | case 112: |
| 994 | // p = play |
| 995 | close(); |
| 996 | break; |
| 997 | case 113: |
| 998 | // q = quit |
| 999 | exit(1); |
| 1000 | break; |
| 1001 | } |
| 1002 | } |
974 | 1003 | else |
975 | 1004 | addLetter((unsigned char)_s->_lastKeyHit); |
976 | 1005 | #ifdef _WIN32_WCE |