Home
last modified time | relevance | path

Searched refs:KTRL (Results 1 – 25 of 85) sorted by relevance

1234

/dports/games/angband/Angband-4.2.2/src/
H A Dui-game.c109 { "Dig a tunnel", { 'T', KTRL('T') }, CMD_TUNNEL, NULL, NULL },
150 { "Repeat level feeling", { KTRL('F') }, CMD_NULL, do_cmd_feeling, NULL },
152 { "Show previous messages", { KTRL('P') }, CMD_NULL, do_cmd_messages, NULL }
162 { "Save and don't quit", { KTRL('S') }, CMD_NULL, save_game, NULL },
163 { "Save and quit", { KTRL('X') }, CMD_NULL, textui_quit, NULL },
165 { "Redraw the screen", { KTRL('R') }, CMD_NULL, do_cmd_redraw, NULL },
184 { "Center map", { KTRL('L'), '@' }, CMD_NULL, do_cmd_center_map, NULL },
185 { "Toggle wizard mode", { KTRL('W') }, CMD_NULL, do_cmd_wizard, NULL },
186 { "Repeat previous command", { 'n', KTRL('V') }, CMD_REPEAT, NULL, NULL },
187 { "Do autopickup", { KTRL('G') }, CMD_AUTOPICKUP, NULL, NULL },
[all …]
H A Dui-birth.c119 } else if (ke.code == KTRL('X')) { in textui_birth_quickstart()
609 } else if (cx.key.code == KTRL('X')) { in menu_question()
668 } else if (ch.code == KTRL('X')) { in roller_command()
780 if (ch.code == KTRL('X')) { in point_based_command()
1054 if (ke.code == KTRL('X')) { in get_history_command()
1098 } else if (ke.code == KTRL('X')) { in get_confirm_command()
H A Dui-death.c396 if (e.key.code == KTRL('X')) break; in death_screen()
397 if (e.key.code == KTRL('N')) play_again = true; in death_screen()
H A Dmain-sdl2.c3446 case SDLK_a: ch = KTRL('A'); break; in handle_keydown()
3447 case SDLK_b: ch = KTRL('B'); break; in handle_keydown()
3448 case SDLK_c: ch = KTRL('C'); break; in handle_keydown()
3449 case SDLK_d: ch = KTRL('D'); break; in handle_keydown()
3450 case SDLK_e: ch = KTRL('E'); break; in handle_keydown()
3451 case SDLK_f: ch = KTRL('F'); break; in handle_keydown()
3452 case SDLK_g: ch = KTRL('G'); break; in handle_keydown()
3453 case SDLK_h: ch = KTRL('H'); break; in handle_keydown()
3454 case SDLK_i: ch = KTRL('I'); break; in handle_keydown()
3455 case SDLK_j: ch = KTRL('J'); break; in handle_keydown()
[all …]
H A Dui-event.h94 #define KTRL(X) \ macro
/dports/games/tomenet/tomenet-4.6.0/src/client/
H A Dc-xtra2.c126 if (k == ESCAPE || k == KTRL('X')) break; in do_cmd_messages()
232 if ((k == 'p') || (k == KTRL('P')) || (k == 'b') || k == KTRL('U')) { in do_cmd_messages()
238 if ((k == 'n') || (k == KTRL('N')) || k == ' ') { in do_cmd_messages()
280 if (k == KTRL('T')) { in do_cmd_messages()
397 if (k == ESCAPE || k == KTRL('X')) break; in do_cmd_messages_chatonly()
508 if ((k == 'p') || (k == KTRL('P')) || (k == 'b') || (k == KTRL('O')) || in do_cmd_messages_chatonly()
509 k == KTRL('U')) { in do_cmd_messages_chatonly()
515 if ((k == 'n') || (k == KTRL('N')) || k == ' ') { in do_cmd_messages_chatonly()
557 if (k == KTRL('T')) { in do_cmd_messages_chatonly()
H A Dc-cmd.c515 case KTRL('O'): in process_command()
519 case KTRL('P'): in process_command()
523 case KTRL('X'): in process_command()
527 case KTRL('R'): in process_command()
561 case KTRL('S'): in process_command()
565 case KTRL('T'): in process_command()
569 case KTRL('I'): in process_command()
574 case KTRL('U'): in process_command()
578 case KTRL('C'): in process_command()
581 case KTRL('N'): in process_command()
[all …]
H A Dc-util.c1211 case KTRL('F'): return (KTRL('U'));
1212 case KTRL('V'): return (KTRL('N'));
1213 case KTRL('Q'): return (KTRL('C'));
1586 case KTRL('X'):
1602 case KTRL('D'):
1626 case KTRL('A'):
1629 case KTRL('S'):
1633 case KTRL('Q'):
1648 case KTRL('W'):
1662 case KTRL('V'):
[all …]
H A Dc-store.c595 case KTRL('X'): in store_process_command()
599 case KTRL('T'): in store_process_command()
691 case KTRL('C'): in store_process_command()
692 case KTRL('Q')://rl in store_process_command()
695 case KTRL('N'): in store_process_command()
696 case KTRL('V')://rl in store_process_command()
718 case KTRL('W'): in store_process_command()
H A Dskills.c337 if (c == ESCAPE || c == KTRL('X')) break; in do_cmd_skill()
340 else if (c == KTRL('T')) xhtml_screenshot("screenshot????"); in do_cmd_skill()
530 else if (which == KTRL('T')) in do_cmd_activate_skill_aux()
H A Dc-files.c1252 if (k == 'b' || k == 'p' || k == KTRL('U')) { in peruse_file()
1270 if (k == ' ' || k == KTRL('D')) { in peruse_file()
1290 if (k == KTRL('T')) xhtml_screenshot("screenshot????"); in peruse_file()
1299 if (k == ESCAPE || k == KTRL('X')) break; in peruse_file()
/dports/games/mangband/mangband-1.5.3/src/client/
H A Dc-cmd0.c143 { "Repeat level feeling", KTRL('F'), do_cmd_feeling },
144 { "Show previous message", KTRL('O'), do_cmd_message_one },
145 { "Show previous messages", KTRL('P'), do_cmd_messages },
156 { "Describe item to chat", KTRL('D'), NULL },
162 { "Save and don't quit", KTRL('S'), do_cmd_save_game },
195 { "Toggle wizard mode", KTRL('W'), do_cmd_wizard },
198 { "Debug mode commands", KTRL('A'), do_cmd_try_debug },
201 { "Borg commands", KTRL('Z'), do_cmd_try_borg },
499 if (KTRL(commands[oid].key) == commands[oid].key) in cmd_sub_entry()
941 if ((KTRL(*p) == *p) && (isalpha(UN_KTRL(*p)))) in command_from_keystroke()
[all …]
H A Dc-cmd.c416 case KTRL('U'): in process_command()
466 case KTRL('D'): /* 'Describe item. This means "brag about it in chat" */ in process_command()
472 case KTRL('O'): /* Repeat last message */ in process_command()
478 case KTRL('P'): in process_command()
484 case KTRL('X'): in process_command()
489 case KTRL('R'): in process_command()
507 case KTRL('E'): in process_command()
H A Dc-xtra2.c175 if ((k == 'p') || (k == KTRL('P')) || (k == ' ') || (k == '9')) in do_cmd_messages()
182 if ((k == 'n') || (k == KTRL('N')) || (k == '3')) in do_cmd_messages()
H A Dc-util.c892 case KTRL('B'): hack_dir = 1; return ('+');
902 case KTRL('M'): return ('\r');
905 case KTRL('D'): return ('k');
908 case KTRL('C'): return ('Q');
984 case KTRL('J'): return ('\r');
985 case KTRL('M'): return ('\r');
1010 case KTRL('K'): return ('Q');
1011 case KTRL('C'): return ('Q');
1412 ke.key = KTRL(ke.key); in request_command()
1429 ke.key = KTRL(ke.key); in request_command()
[all …]
/dports/games/tomenet/tomenet-4.6.0/src/common/
H A Dh-define.h124 # define KTRL(X) ((X) & 0x1F) macro
131 # define KTRL(X) ((X) & 0x1F) macro
/dports/games/mangband/mangband-1.5.3/src/common/
H A Dh-define.h126 # define KTRL(X) ((X) & 0x1F) macro
134 # define KTRL(X) ((X) & 0x1F) macro
/dports/games/zangband/zangband/src/
H A Dh-define.h166 # define KTRL(X) ((X) & 0x1F) macro
173 # define KTRL(X) ((X) & 0x1F) macro
H A Ddungeon.c1982 case KTRL('W'): in process_command()
2008 case KTRL('A'): in process_command()
2023 case KTRL('Z'): in process_command()
2092 case KTRL('I'): in process_command()
2483 case KTRL('F'): in process_command()
2490 case KTRL('P'): in process_command()
2497 case KTRL('Q'): in process_command()
2504 case KTRL('R'): in process_command()
2511 case KTRL('S'): in process_command()
2518 case KTRL('T'): in process_command()
[all …]
H A Dcmd3.c1187 if (sym == KTRL('A')) in do_cmd_query_symbol()
1192 else if (sym == KTRL('U')) in do_cmd_query_symbol()
1197 else if (sym == KTRL('N')) in do_cmd_query_symbol()
1202 else if (sym == KTRL('M')) in do_cmd_query_symbol()
1214 else if (sym == KTRL('K')) in do_cmd_query_symbol()
H A Dstore.c2053 case KTRL('I'): in do_standard_command()
2170 case KTRL('F'): in do_standard_command()
2177 case KTRL('P'): in do_standard_command()
2184 case KTRL('Q'): in do_standard_command()
2191 case KTRL('T'): in do_standard_command()
2277 case KTRL('R'): in store_process_command()
H A Dbirth.c1204 if (ch == KTRL('X')) quit(NULL); in player_birth_aux_2()
1532 if (ch == KTRL('X')) quit(NULL); in player_birth_aux_3()
1641 if (ch == KTRL('X')) quit(NULL); in player_birth_aux()
1644 if ((ch == 0x7F) || (ch == '.') || (ch == KTRL('H'))) return (FALSE); in player_birth_aux()
/dports/games/mangband/mangband-1.5.3/src/server/
H A Dutil.c498 case KTRL('B'): hack_dir = 1; return ('+');
499 case KTRL('J'): hack_dir = 2; return ('+');
500 case KTRL('N'): hack_dir = 3; return ('+');
501 case KTRL('H'): hack_dir = 4; return ('+');
508 case KTRL('M'): return ('\r');
511 case KTRL('D'): return ('k');
514 case KTRL('C'): return ('Q');
586 case KTRL('J'): return ('\r');
587 case KTRL('M'): return ('\r');
612 case KTRL('K'): return ('Q');
[all …]
/dports/games/tomenet/tomenet-4.6.0/src/console/
H A Dc-util.c292 cmd = KTRL(cmd); in request_command()
308 cmd = KTRL(cmd); in request_command()
/dports/games/angband/Angband-4.2.2/src/tests/command/
H A Dlookup.c47 require(cmd_lookup(KTRL('T'), KEYMAP_MODE_ROGUE) == CMD_TUNNEL); in test_cmd_lookup_rogue()

1234