Home
last modified time | relevance | path

Searched refs:target_okay (Results 1 – 25 of 26) sorted by relevance

12

/dports/games/angband/Angband-4.2.2/src/
H A Dtarget.h46 bool target_okay(void);
H A Dtarget.c123 bool target_okay(void) in target_okay() function
413 return target_okay() && in target_sighted()
H A Dui-input.c1286 if (OPT(player, use_old_target) && target_okay() && !dir) dir = 5; in textui_get_aim_dir()
1291 if (!target_okay()) in textui_get_aim_dir()
1318 if (target_okay()) in textui_get_aim_dir()
H A Deffects.c160 if (dir == DIR_TARGET && target_okay()) { in get_target()
3103 } while (dir == DIR_TARGET && !target_okay()); in effect_handler_TELEPORT_TO()
3457 if ((dir == DIR_TARGET) && target_okay()) { in effect_handler_EARTHQUAKE()
3918 if (context->dir == DIR_TARGET && target_okay()) { in effect_handler_BALL()
4010 if (context->dir == DIR_TARGET && target_okay()) { in effect_handler_BREATH()
4084 if (context->dir == DIR_TARGET && target_okay()) { in effect_handler_ARC()
4140 if (context->dir == DIR_TARGET && target_okay()) { in effect_handler_SHORT_BEAM()
4252 if ((context->dir == DIR_TARGET) && target_okay()) { in effect_handler_SWARM()
4276 if ((context->dir == DIR_TARGET) && target_okay()) { in effect_handler_STRIKE()
5198 if (context->dir == DIR_TARGET && target_okay()) { in effect_handler_MELEE_BLOWS()
[all …]
H A Dcmd-core.c677 (*target != DIR_TARGET || target_okay())) in cmd_get_target()
H A Dplayer-attack.c960 if ((dir == DIR_TARGET) && target_okay()) { in ranged_helper()
/dports/games/zangband/zangband/src/
H A Dxtra2.c1699 bool target_okay(void) in target_okay() function
2904 if (use_old_target && target_okay()) dir = 5; in get_aim_dir()
2911 if (!(*dp == 5 && !target_okay())) in get_aim_dir()
2927 if (!target_okay()) in get_aim_dir()
2970 if ((dir == 5) && !target_okay()) dir = 0; in get_aim_dir()
3660 if (!target_okay()) in get_hack_dir()
3703 if ((dir == 5) && !target_okay()) dir = 0; in get_hack_dir()
H A Dspells2.c3112 if ((dir == 5) && target_okay()) in fire_ball()
3139 if ((dir == 5) && target_okay()) in teleport_swap()
3271 if ((dir == 5) && target_okay()) in project_hook()
H A Dcmd2.c2494 if ((dir == 5) && target_okay()) in do_cmd_fire_aux()
H A Dexterns.h1000 extern bool target_okay(void);
H A Dspells3.c1156 if ((dir == 5) && target_okay()) in fetch()
/dports/games/tomenet/tomenet-4.6.0/src/server/
H A Drunecraft.c564 if (!target_okay(Ind)) return 0; in cast_rune_spell()
855 if ((dir == 5) && target_okay(Ind)) { /* Use a target -- Fix this in wizard/mkey!! - Kurzel */ in cast_rune_spell()
886 if ((dir == 5) && target_okay(Ind)) { /* Use a target -- Fix this in wizard/mkey!! - Kurzel */ in cast_rune_spell()
H A Dcmd5.c787 if ((dir == 5) && !target_okay(Ind)) { in do_mimic_power_aux()
1266 if (dir != 5 || !target_okay(Ind)) return; in do_mimic_power_aux()
1677 if (dir != 5 || !target_okay(Ind)) return; in cast_school_spell()
H A Dspells2.c6001 if ((dir == 5) && target_okay(Ind)) { in fire_ball()
6070 if ((dir == 5) && target_okay(Ind)) { in fire_full_ball()
6139 if ((dir == 5) && target_okay(Ind)) in fire_cloud()
6452 if ((dir == 5) && target_okay(Ind)) { in project_hook()
6536 if ((dir == 5) && target_okay(Ind)) { in fire_wall()
6581 if ((dir == 5) && target_okay(Ind)) { in fire_grid_bolt()
6624 if ((dir == 5) && target_okay(Ind)) { in fire_grid_beam()
H A Dnserver.c112 if (target_okay(Ind)) *dir = 5; in bad_dir1()
115 if (!target_okay(Ind)) return TRUE; in bad_dir1()
128 if (target_okay(Ind)) *dir = 5; in bad_dir3()
131 if (!target_okay(Ind)) return TRUE; in bad_dir3()
H A Ddungeon.c5119 if (target_okay(Ind)) {
5136 if (p_ptr->shooting_till_kill && !target_okay(Ind)) p_ptr->shooting_till_kill = FALSE;
5160 if (target_okay(Ind)) {
H A Dcmd2.c4500 bool target_ok = target_okay(Ind);
6063 bool hit_body = FALSE, target_ok = target_okay(Ind);
H A Dexterns.h1976 extern bool target_okay(int Ind);
H A Dxtra2.c9823 bool target_okay(int Ind) function
10443 if (p_ptr->use_old_target && target_okay(Ind)) {
/dports/games/mangband/mangband-1.5.3/src/server/
H A Dspells2.c4604 if ((dir == 5) && target_okay(p_ptr)) in fire_ball()
4640 if ((dir == 5) && target_okay(p_ptr)) in fire_swarm()
4672 if ((dir == 5) && target_okay(p_ptr)) in project_hook()
H A Dcmd2.c3659 if ((dir == 5) && target_okay(p_ptr)) in do_cmd_fire()
4060 if ((dir == 5) && target_okay(p_ptr)) in do_cmd_throw()
H A Dxtra2.c3600 bool target_okay(player_type *p_ptr) in target_okay() function
4901 && dir == 5 && !target_okay(p_ptr)) dir = 0; in get_aim_dir()
5721 else if (!target_okay(p_ptr)) {return;} in do_cmd_social()
H A Dexterns.h1131 extern bool target_okay(player_type *p_ptr);
/dports/games/tomenet/tomenet-4.6.0/src/common/
H A Dexterns.h720 extern bool target_okay(int Ind);
/dports/games/tomenet/tomenet-4.6.0/src/client/
H A Dc-util.c2191 if (!target_okay()) {

12