/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/ |
H A D | actor-los.cc | 13 return crawl_state.game_is_arena() || is_player() || you.can_see(*this); in observable() 39 bool actor::can_see(const actor &target) const in can_see() function in actor 54 bool player::can_see(const actor& a) const in can_see() function in player 59 return actor::can_see(a); in can_see()
|
H A D | behold.cc | 26 if (can_see(mon)) in add_beholder() 36 if (can_see(mon)) in add_beholder() 139 if (you.can_see(mon)) in _removed_beholder_msg() 149 if (you.can_see(mon)) in _removed_beholder_msg() 158 if (you.can_see(mon)) in _removed_beholder_msg()
|
H A D | mon-poly.cc | 207 bool could_see = you.can_see(*mons); in change_monster_type() 392 if (you.can_see(*mons)) in change_monster_type() 583 bool could_see = you.can_see(*mons); in monster_polymorph() 613 bool can_see = you.can_see(*mons); in monster_polymorph() local 620 string obj = can_see ? mons_type_name(targetc, DESC_A) in monster_polymorph() 637 else if (can_see) in monster_polymorph() 645 if (need_note || could_see && can_see && mons_is_notable(*mons)) in monster_polymorph() 647 string new_name = can_see ? mons->full_name(DESC_A) in monster_polymorph() 652 if (can_see) in monster_polymorph() 657 if (can_see) in monster_polymorph()
|
H A D | dactions.cc | 366 const bool could_see = you.can_see(*mon); in _daction_hog_to_human() 415 const bool can_see = you.can_see(*mon); in _daction_hog_to_human() local 434 if (could_see && !can_see) in _daction_hog_to_human() 436 else if (!could_see && can_see) in _daction_hog_to_human()
|
H A D | mon-clone.cc | 115 if (!you.can_see(*caster)) in _mons_summon_monster_illusion() 338 if (you.can_see(*orig) && you.can_see(*mons)) in clone_mons() 345 if (you.can_see(*mons)) in clone_mons()
|
H A D | mon-abil.cc | 212 if (you.can_see(*thing)) in _do_split() 220 if (you.can_see(*thing)) in _do_split() 282 const bool merge_to_was_visible = you.can_see(*merge_to); in _do_merge_slimes() 319 if (you.can_see(*merge_to)) in _do_merge_slimes() 334 else if (you.can_see(*initial_slime)) in _do_merge_slimes() 448 const bool has_foe = (foe != nullptr && thing->can_see(*foe)); in _slime_split() 742 if (you.can_see(mons)) in lost_soul_revive() 799 if (created && you.can_see(mons)) in treant_release_fauna() 987 if (foe && mons->can_see(*foe)) in mon_special_ability()
|
H A D | actor.cc | 678 && can_see(*defender) in can_constrict() 685 return can_see(*defender) in can_constrict() 728 && you.can_see(defender)) in constriction_damage_defender() 735 if (is_player() || you.can_see(*this)) in constriction_damage_defender() 765 else if (you.can_see(defender) || defender.is_player()) in constriction_damage_defender() 950 if (you.can_see(*this) || you.can_see(*other)) in collide() 984 if (you.can_see(*this)) in collide()
|
H A D | teleport.cc | 229 bool was_seen = !silent && you.can_see(*mons); in monster_teleport() 358 if (from_seen && !mon->can_see(*caster)) in blink_away() 384 if (!foe || !mon->can_see(*foe)) in blink_range() 402 if (!foe || !mon->can_see(*foe)) in blink_close()
|
H A D | mon-ench.cc | 648 if (you.can_see(*this)) in remove_enchantment_effect() 759 if (you.can_see(*this)) in remove_enchantment_effect() 884 if (!quiet && you.can_see(*this)) in remove_enchantment_effect() 903 if (!quiet && you.can_see(*this)) in remove_enchantment_effect() 1518 if (you.can_see(*this)) in apply_enchantment() 1550 if (you.can_see(*this)) in apply_enchantment() 1639 if (you.can_see(*this)) in apply_enchantment() 1702 if (you.can_see(*this)) in apply_enchantment() 1731 if (you.can_see(*this)) in apply_enchantment() 1808 if (you.can_see(*this)) in apply_enchantment() [all …]
|
H A D | spl-summoning.cc | 231 if (you.can_see(*beast)) in cast_monstrous_menagerie() 2051 if (you.can_see(*caster)) in init_servitor() 2176 if (you.can_see(*agent) && you.can_see(*battlesphere)) in cast_battlesphere() 2210 if (you.can_see(*mons)) in end_battlesphere() 2223 else if (you.can_see(*mons)) in end_battlesphere() 2505 if (caster->can_see(*victim)) in cast_fulminating_prism() 2518 if (you.can_see(*victim)) in cast_fulminating_prism() 2553 else if (you.can_see(*caster)) in cast_fulminating_prism() 2580 if (you.can_see(*mons)) in end_spectral_weapon() 2950 if (you.can_see(*mons)) in fedhas_grow_ballistomycete() [all …]
|
H A D | fight.cc | 278 if (you.can_see(*defender) && !simu in fight_melee() 399 const bool could_see = you.can_see(*mons); in fight_melee() 402 if (could_see || you.can_see(*mons)) in fight_melee() 463 if (attacker && !attacker->can_see(defender)) in find_stab_type() 1023 if (!you.can_see(*mon)) in bad_attack() 1104 if (you.confused() || !you.can_see(*mon)) in stop_attack_prompt() 1172 if (!mon || !you.can_see(*mon)) in stop_attack_prompt()
|
H A D | shout.cc | 165 const string suffix = you.can_see(*mons) ? " seen" : " unseen"; in monster_shout() 232 if (you.can_see(*mons)) in monster_shout() 241 if (channel != MSGCH_TALK_VISUAL || you.can_see(*mons)) in monster_shout() 244 if (you.can_see(*mons)) in monster_shout() 259 if (crawl_state.game_is_hints() && (heard || you.can_see(*mons))) in monster_shout() 325 if (you.can_see(*mons) // to avoid leaking information in check_awaken() 533 if (target->alive() && you.can_see(*target)) in _issue_orders_prompt() 628 cancel = (m == nullptr || !you.can_see(*m)); in _issue_order()
|
H A D | spl-damage.cc | 82 && (!tracer || caster.can_see(*act))) in _find_closest_target() 263 && you.can_see(*new_victim) in chain_lightning_targets() 328 if (you.can_see(caster)) in cast_chain_lightning() 552 if (damage && you.can_see(mon)) in _player_hurt_monster() 583 if (you.can_see(*mon)) in _los_spell_pre_damage_monsters() 775 else if (you.can_see(*agent)) in _cast_los_attack_spell() 1208 && caster.can_see(*victim) in _init_frag_effect() 2739 if (!mon || !you.can_see(*mon)) in cast_dazzling_flash() 2926 if (!mons || !you.can_see(*mons)) in cast_poisonous_vapours() 3331 if (!mon || !you.can_see(*mon)) in cast_hailstorm() [all …]
|
H A D | fineff.cc | 452 && mon->can_see(*ally)) in fire() 503 if (serpent && you.can_see(*serpent)) in fire() 510 else if (you.can_see(oppressor)) in fire() 577 if (you.can_see(*rakshasa)) in fire() 612 if (you.see_cell(posn) || you.can_see(*scarab)) in fire() 700 else if (you.can_see(*victim)) in fire()
|
H A D | mon-cast.cc | 2005 if (you.can_see(**mi)) in _battle_cry() 2087 if (you.can_see(**mi)) in _mons_call_of_chaos() 2661 if (you.can_see(*mon)) in _make_monster_angry() 3732 if (!mons.can_see(*foe)) in _should_cast_spell() 4320 if (you.can_see(*target)) in _mons_cast_freeze() 4453 && mons->can_see(you) in _mons_cause_fear() 4536 && mons->can_see(you) in _mons_mass_confuse() 5331 if (you.can_see(*mons)) in _mons_vortex() 5416 if (mons->can_see(you) && in mons_cast() 6810 && you.can_see(*foe) in _speech_fill_target() [all …]
|
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/test/ |
H A D | los_maps.lua | 39 local can_see = you.see_cell(xa, ya) 40 local err = can_see and (not should_see) or (not can_see) and should_see 42 local cans = can_see and "can" or "can't"
|
/dports/www/rt50/rt-5.0.2/lib/RT/REST2/Resource/ |
H A D | Record.pm | 105 my $can_see = $self->record->can("CurrentUserCanSee"); 106 return 1 if $can_see and not $self->record->$can_see();
|
/dports/games/abuse_sdl/abuse-0.8/data/addon/leon/lisp/ |
H A D | njug.lsp | 6 (can_see firex firey playerx playery nil))) 14 (if (and (can_see (x) (y) firex firey nil) (can_see firex firey playerx playery nil)) 56 (if (can_see (x) (y) (x) (+ (y) 5) nil)
|
/dports/games/abuse_sdl/abuse-0.8/src/ |
H A D | ant.cpp | 34 int can_see(game_object *o, int32_t x1, int32_t y1, int32_t x2, int32_t y2) in can_see() function 48 if (can_see(o,o->x,o->y,b->x,b->y)) in scream_check() 74 if (!can_see(o,o->x,o->y,o->x,o->y-120)) // is there a roof above? in ant_dodge() 107 return can_see(o,o->x+(o->direction>0?15:-15),o->y-15,b->x,b->y-15); in can_hit_player() 114 if (can_see(o,o->x,o->y,firex,firey) && can_see(o,firex,firey,playerx,playery)) in fire_at_player() 230 if ((ret&BLOCKED_DOWN) || !can_see(o,o->x,o->y,o->x,o->y+1)) in ant_ai() 411 if (can_see(o,o->x,o->y-31,o->x+speed,o->y-31) && in ant_ai() 412 !can_see(o,o->x+speed,o->y-31,o->x+speed,o->y-32)) in ant_ai()
|
/dports/www/mod_rivet/rivet-3.2.0/rivet/rivet-tcl/ |
H A D | debug.tcl | 62 set can_see 0 65 set can_see 1
|
/dports/games/openglad/openglad-0.98/src/ |
H A D | radar.cpp | 89 short can_see = 0, do_show = 0; in draw() local 109 can_see = 1; in draw() 157 || (oborder == ORDER_GENERATOR && can_see) in draw() 159 && (obteam==here->ob->team_num || here->ob->invisibility_left < 1 || can_see) in draw() 259 if (can_see) in draw()
|
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/badguy/ |
H A D | igel.cpp | 52 Igel::can_see(const MovingObject& o) const in can_see() function in Igel 72 if (can_see(bullet)) wants_to_flee = true; in active_update()
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | faction.cpp | 553 std::string can_see; in faction_display() local 586 can_see = _( "Within radio range" ); in faction_display() 589 can_see = _( "Not within radio range" ); in faction_display() 593 can_see = _( "You do not have a radio" ); in faction_display() 596 can_see = _( "Follower does not have a radio" ); in faction_display() 599 can_see = _( "Both you and follower need a radio" ); in faction_display() 604 can_see = _( "Within interaction range" ); in faction_display() 609 can_see = _( "Press enter to recall from their mission." ); in faction_display() 612 mvwprintz( fac_w, point( width, ++y ), see_color, "%s", can_see ); in faction_display()
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | faction.cpp | 553 std::string can_see; in faction_display() local 586 can_see = _( "Within radio range" ); in faction_display() 589 can_see = _( "Not within radio range" ); in faction_display() 593 can_see = _( "You do not have a radio" ); in faction_display() 596 can_see = _( "Follower does not have a radio" ); in faction_display() 599 can_see = _( "Both you and follower need a radio" ); in faction_display() 604 can_see = _( "Within interaction range" ); in faction_display() 609 can_see = _( "Press enter to recall from their mission." ); in faction_display() 612 mvwprintz( fac_w, point( width, ++y ), see_color, "%s", can_see ); in faction_display()
|
/dports/games/abuse_sdl/abuse-0.8/data/lisp/ |
H A D | ant.lsp | 125 (can_see firex firey playerx playery nil))) 137 (defun roof_above () (not (can_see (x) (y) (x) (- (y) 120) nil))) 145 (if (and (can_see (x) (y) firex firey nil) (can_see firex firey playerx playery nil)) 175 (if (can_see (x) (y) (with_object (bg) (x)) (with_object (bg) (y)) nil) 324 (if (and (can_see (x) (- (y) 31) (+ (x) xspeed) (- (y) 31) nil) 325 (not (can_see (+ (x) xspeed) (- (y) 31) 641 (if (and (can_see (x) (y) firex firey nil) (can_see firex firey playerx playery nil))
|