Home
last modified time | relevance | path

Searched refs:is_walking_with (Results 1 – 14 of 14) sorted by relevance

/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dnpcmove.cpp822 } else if( !ai_cache.sound_alerts.empty() && !is_walking_with() ) { in move()
870 if( action == npc_undecided && is_walking_with() && player_character.in_vehicle && in move()
875 if( action == npc_undecided && is_walking_with() && rules.has_flag( ally_rule::follow_close ) && in move()
949 if( is_walking_with() && player_character.in_vehicle ) { in move()
1057 if( is_walking_with() ) { in execute_action()
1908 } else if( is_walking_with() && player_character.in_sleep_state() && in address_needs()
2951 if( fetching_item && rl_dist( wanted_item_pos, pos() ) > 1 && is_walking_with() ) { in find_item()
3259 const tripoint &around = is_walking_with() ? player_character.pos() : pos(); in find_corpse_to_pulp()
3275 if( corpse != nullptr && corpse != old_target && is_walking_with() ) { in find_corpse_to_pulp()
H A Dvehicle_part.cpp490 if( who.is_dead_state() || !( who.is_walking_with() || who.is_player_ally() ) ) { in set_crew()
H A Dnpc.cpp2067 return is_ally( p ) || ( p.is_player() && ( is_walking_with() || is_player_ally() ) ); in is_friendly()
2080 bool npc::is_walking_with() const in is_walking_with() function in npc
2087 return ( p.is_player() && is_walking_with() && is_player_ally() ) || in is_obeying()
2279 if( is_walking_with() && in follow_distance()
2303 } else if( is_walking_with() ) { in basic_symbol_color()
H A Dtalker_npc.cpp114 … } else if( me_npc->is_player_ally() && ( me_npc->is_walking_with() || me_npc->has_activity() ) ) { in get_topics()
H A Dnpc.h877 bool is_walking_with() const;
H A Dnpctalk_funcs.cpp594 … if( guy.is_walking_with() && rl_dist( guy.pos(), get_player_character().pos() ) < PICKUP_RANGE ) { in give_all_aid()
H A Dgame.cpp11090 return np->is_walking_with() && !np->is_mounted() && !np->in_sleep_state() && in vertical_move()
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dnpcmove.cpp822 } else if( !ai_cache.sound_alerts.empty() && !is_walking_with() ) { in move()
870 if( action == npc_undecided && is_walking_with() && player_character.in_vehicle && in move()
875 if( action == npc_undecided && is_walking_with() && rules.has_flag( ally_rule::follow_close ) && in move()
949 if( is_walking_with() && player_character.in_vehicle ) { in move()
1057 if( is_walking_with() ) { in execute_action()
1908 } else if( is_walking_with() && player_character.in_sleep_state() && in address_needs()
2951 if( fetching_item && rl_dist( wanted_item_pos, pos() ) > 1 && is_walking_with() ) { in find_item()
3259 const tripoint &around = is_walking_with() ? player_character.pos() : pos(); in find_corpse_to_pulp()
3275 if( corpse != nullptr && corpse != old_target && is_walking_with() ) { in find_corpse_to_pulp()
H A Dvehicle_part.cpp490 if( who.is_dead_state() || !( who.is_walking_with() || who.is_player_ally() ) ) { in set_crew()
H A Dnpc.cpp2067 return is_ally( p ) || ( p.is_player() && ( is_walking_with() || is_player_ally() ) ); in is_friendly()
2080 bool npc::is_walking_with() const in is_walking_with() function in npc
2087 return ( p.is_player() && is_walking_with() && is_player_ally() ) || in is_obeying()
2279 if( is_walking_with() && in follow_distance()
2303 } else if( is_walking_with() ) { in basic_symbol_color()
H A Dtalker_npc.cpp114 … } else if( me_npc->is_player_ally() && ( me_npc->is_walking_with() || me_npc->has_activity() ) ) { in get_topics()
H A Dnpc.h877 bool is_walking_with() const;
H A Dnpctalk_funcs.cpp594 … if( guy.is_walking_with() && rl_dist( guy.pos(), get_player_character().pos() ) < PICKUP_RANGE ) { in give_all_aid()
H A Dgame.cpp11090 return np->is_walking_with() && !np->is_mounted() && !np->in_sleep_state() && in vertical_move()