Ticket #7973: gui_caps_keyboard_shortcuts.diff
File gui_caps_keyboard_shortcuts.diff, 740 bytes (added by , 22 years ago) |
---|
-
.cpp
old new 974 974 else if (_dialog == SAVELOAD_DIALOG) { 975 975 switch (_s->_lastKeyHit) { 976 976 case 111: 977 case 79: 977 978 // o = options 978 979 options(); 979 980 draw(0,100); 980 981 break; 981 982 case 115: 983 case 83: 982 984 // s = save 983 985 _cur_page = 2; 984 986 getSavegameNames(1); // 0 is reserved for autosave - start at 1 985 987 draw(0, 100); 986 988 break; 987 989 case 108: 990 case 76: 988 991 // l = load 989 992 _cur_page = 1; 990 993 getSavegameNames(0); 991 994 draw(0, 100); 992 995 break; 993 996 case 112: 997 case 80: 994 998 // p = play 995 999 close(); 996 1000 break; 997 1001 case 113: 1002 case 81: 998 1003 // q = quit 999 1004 exit(1); 1000 1005 break;