Searched refs:CS_TRAPS (Results 1 – 11 of 11) sorted by relevance
/dports/games/tomenet/tomenet-4.6.0/src/server/ |
H A D | traps.c | 540 if (item < 0) trap = GetCS(c_ptr, CS_TRAPS)->sc.trap.t_idx; in player_activate_trap_type() 839 if (in_bounds(y + l, x + k) && (!GetCS(&zcave[y + l][x + k], CS_TRAPS))) in player_activate_trap_type() 1222 cs_ptr = GetCS(c_ptr, CS_TRAPS); 1251 cs_ptr = GetCS(c_ptr, CS_TRAPS); 2479 if (!(cs_ptr = GetCS(cc_ptr, CS_TRAPS))) continue; 2563 struct c_special *cs_ptr = GetCS(c_ptr, CS_TRAPS); 2612 cs_ptr = GetCS(c_ptr, CS_TRAPS); in player_activate_door_trap() 2754 if (!(cs_ptr = AddCS(c_ptr, CS_TRAPS))) return; in place_trap() 2835 if (!(cs_ptr = AddCS(c_ptr, CS_TRAPS))) return; in place_trap_specific() 2991 if (!(cs_ptr = AddCS(c_ptr, CS_TRAPS))) return; in wiz_place_trap()
|
H A D | csfunc.c | 210 if ((cs_ptr = GetCS(c_ptr, CS_TRAPS)) && !p_ptr->ghost) { in thit()
|
H A D | cmd2.c | 2054 if (GetCS(c_ptr, CS_TRAPS)) player_activate_door_trap(Ind, y, x); in do_cmd_open() 2200 if (GetCS(c_ptr, CS_TRAPS)) player_activate_door_trap(Ind, y, x); in do_cmd_open() 2373 if (GetCS(c_ptr, CS_TRAPS)) player_activate_door_trap(Ind, y, x); in do_cmd_close() 3051 if (GetCS(c_ptr, CS_TRAPS)) { in do_cmd_tunnel() 3292 if ((cs_ptr = GetCS(c_ptr, CS_TRAPS))) in do_cmd_disarm() 3743 if(GetCS(c_ptr, CS_TRAPS)) player_activate_door_trap(Ind, y, x); in do_cmd_bash() 3796 if (GetCS(c_ptr, CS_TRAPS)) player_activate_door_trap(Ind, y, x); in do_cmd_bash() 3962 if (GetCS(c_ptr, CS_TRAPS)) player_activate_door_trap(Ind, y, x); in do_cmd_spike() 4022 (cs_ptr = GetCS(c_ptr, CS_TRAPS)) && in do_cmd_walk()
|
H A D | cmd3.c | 2944 if ((cs_ptr = GetCS(c_ptr, CS_TRAPS))) { 3237 if ((cs_ptr = GetCS(c_ptr, CS_TRAPS))) { 3265 if ((cs_ptr = GetCS(c_ptr, CS_TRAPS))) {
|
H A D | cmd1.c | 1464 if ((cs_ptr = GetCS(c_ptr, CS_TRAPS))) { in search() 2858 if (!(cs_ptr = GetCS(c_ptr, CS_TRAPS))) return; in hit_trap() 6459 if ((cs_ptr = GetCS(c_ptr, CS_TRAPS)) && !p_ptr->ghost) { 7041 if ((cs_ptr = GetCS(c_ptr, CS_TRAPS)) && cs_ptr->sc.trap.found) return TRUE;
|
H A D | cave.c | 2767 if ((cs_ptr = GetCS(c_ptr, CS_TRAPS)) && c_ptr->feat != FEAT_ILLUS_WALL) { 2937 if ((cs_ptr = GetCS(c_ptr, CS_TRAPS)) && c_ptr->feat != FEAT_ILLUS_WALL) { 3186 if (!p_ptr->searching || !((cs_ptr = GetCS(c_ptr, CS_TRAPS)) && cs_ptr->sc.trap.found)) {
|
H A D | spells2.c | 2658 if ((cs_ptr = GetCS(c_ptr, CS_TRAPS)) && magik(chance)) { in detect_bounty() 2859 if ((cs_ptr = GetCS(c_ptr, CS_TRAPS))) { in detect_trap() 5126 if ((cs_ptr = GetCS(c_ptr, CS_TRAPS))) { in destroy_area()
|
H A D | spells1.c | 4019 if ((cs_ptr = GetCS(c_ptr, CS_TRAPS))) { 4084 if ((cs_ptr = GetCS(c_ptr, CS_TRAPS))) {
|
H A D | object2.c | 8245 if (!(cs_ptr = GetCS(c_ptr, CS_TRAPS))) return;
|
H A D | generate.c | 728 cs_ptr->type = CS_TRAPS; in place_fountain()
|
/dports/games/tomenet/tomenet-4.6.0/src/common/ |
H A D | defines.h | 8171 #define CS_TRAPS 3 /* CS stands for Cave Special */ macro
|