Home
last modified time | relevance | path

Searched refs:CS_TRAPS (Results 1 – 11 of 11) sorted by relevance

/dports/games/tomenet/tomenet-4.6.0/src/server/
H A Dtraps.c540 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 Dcsfunc.c210 if ((cs_ptr = GetCS(c_ptr, CS_TRAPS)) && !p_ptr->ghost) { in thit()
H A Dcmd2.c2054 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 Dcmd3.c2944 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 Dcmd1.c1464 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 Dcave.c2767 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 Dspells2.c2658 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 Dspells1.c4019 if ((cs_ptr = GetCS(c_ptr, CS_TRAPS))) {
4084 if ((cs_ptr = GetCS(c_ptr, CS_TRAPS))) {
H A Dobject2.c8245 if (!(cs_ptr = GetCS(c_ptr, CS_TRAPS))) return;
H A Dgenerate.c728 cs_ptr->type = CS_TRAPS; in place_fountain()
/dports/games/tomenet/tomenet-4.6.0/src/common/
H A Ddefines.h8171 #define CS_TRAPS 3 /* CS stands for Cave Special */ macro