RCS file: /cvsroot/scummvm/scummvm/gui.cpp,v
retrieving revision 1.50
diff -u -r1.50 gui.cpp
|
|
|
16 | 16 | * along with this program; if not, write to the Free Software |
17 | 17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 | 18 | * |
19 | | * $Header: /cvsroot/scummvm/scummvm/gui.cpp,v 1.50 2002/06/27 14:10:56 yazoo Exp $ |
| 19 | * $Header: /cvsroot/scummvm/scummvm/gui.cpp,v 1.51 2002/06/30 13:33:49 ender Exp $ |
20 | 20 | */ |
21 | 21 | |
22 | 22 | #include "stdafx.h" |
… |
… |
|
968 | 968 | if (_s->_mouseButStat & MBS_LEFT_CLICK) { |
969 | 969 | leftMouseClick(_s->mouse.x, _s->mouse.y); |
970 | 970 | } else if (_s->_lastKeyHit) { |
971 | | if (_dialog != KEYS_DIALOG) |
972 | | addLetter((unsigned char)_s->_lastKeyHit); |
| 971 | if (_dialog != KEYS_DIALOG) { |
| 972 | if (_s->_lastKeyHit == 27) |
| 973 | close(); |
| 974 | else if (_dialog == SAVELOAD_DIALOG) { |
| 975 | switch (_s->_lastKeyHit) { |
| 976 | case 111: |
| 977 | case 79: |
| 978 | // o = options |
| 979 | options(); |
| 980 | draw(0,100); |
| 981 | break; |
| 982 | case 115: |
| 983 | case 83: |
| 984 | // s = save |
| 985 | _cur_page = 2; |
| 986 | getSavegameNames(1); // 0 is reserved for autosave - start at 1 |
| 987 | draw(0, 100); |
| 988 | break; |
| 989 | case 108: |
| 990 | case 76: |
| 991 | // l = load |
| 992 | _cur_page = 1; |
| 993 | getSavegameNames(0); |
| 994 | draw(0, 100); |
| 995 | break; |
| 996 | case 112: |
| 997 | case 80: |
| 998 | // p = play |
| 999 | close(); |
| 1000 | break; |
| 1001 | case 113: |
| 1002 | case 81: |
| 1003 | // q = quit |
| 1004 | exit(1); |
| 1005 | break; |
| 1006 | } |
| 1007 | } else if (_dialog == OPTIONS_DIALOG) { |
| 1008 | switch(_s->_lastKeyHit) { |
| 1009 | case 115: |
| 1010 | case 83: |
| 1011 | // s for Sound |
| 1012 | handleCommand(1); |
| 1013 | break; |
| 1014 | case 107: |
| 1015 | case 75: |
| 1016 | // k for Keys |
| 1017 | handleCommand(2); |
| 1018 | break; |
| 1019 | case 97: |
| 1020 | case 65: |
| 1021 | // a for About |
| 1022 | handleCommand(3); |
| 1023 | break; |
| 1024 | } |
| 1025 | } else |
| 1026 | addLetter((unsigned char)_s->_lastKeyHit); |
973 | 1027 | #ifdef _WIN32_WCE |
974 | | else if (_s->_lastKeyHit > 1000) // GAPI |
| 1028 | } else if (_s->_lastKeyHit > 1000) { // GAPI |
975 | 1029 | addLetter(_s->_lastKeyHit - 1000); |
976 | 1030 | #endif |
977 | | |
| 1031 | } |
978 | 1032 | } |
979 | 1033 | |
980 | 1034 | if (_clickTimer && !--_clickTimer) { |
RCS file: /cvsroot/scummvm/scummvm/readme.txt,v
retrieving revision 1.65
diff -u -r1.65 readme.txt
|
|
|
254 | 254 | ----------------- |
255 | 255 | Ctrl 0-9 and Shift 0-9 - load and save games |
256 | 256 | Ctrl-Alt 1-7 - cycles between graphics filters |
257 | | Ctrl-z - quits |
| 257 | Ctrl-z or Alt-x - quits |
258 | 258 | Ctrl-f - runs in fast mode. |
259 | 259 | Ctrl-g - runs in really REALLY fast mode. |
260 | 260 | Ctrl-d - starts the debugger. |
… |
… |
|
265 | 265 | Space - pauses |
266 | 266 | Period (.) - skips current line of text in some games |
267 | 267 | Alt-Enter - toggles full screen/windowed |
| 268 | Enter - Left Mouse Button Press |
| 269 | Tab - Right Mouse Button Press |
| 270 | Keyboard Arrow Keys - Mouse Movement |
| 271 | |
| 272 | In Save/Load Dialog: |
| 273 | s - Save Game |
| 274 | l - Load Game |
| 275 | p or ESC - Play |
| 276 | o - Options |
| 277 | q - Quit |
| 278 | |
| 279 | In Options Dialog: |
| 280 | s - Sound |
| 281 | k - Keys |
| 282 | a - About |
268 | 283 | |
269 | 284 | Note that using ctrl-f and ctrl-g are not recommended: Games can crash when |
270 | 285 | being ran faster than their normal speed, as scripts will loose syncronisation |