Home
last modified time | relevance | path

Searched refs:foe (Results 1 – 25 of 1403) sorted by relevance

12345678910>>...57

/dports/games/powermanga/powermanga-0.93.1/src/
H A Dlonely_foes.c57 enemy *foe; in lonely_foe_new() local
73 foe->fire_rate_count = foe->fire_rate; in lonely_foe_new()
78 return foe; in lonely_foe_new()
103 return foe; in lonely_foe_create()
251 foe = in lonely_foe_add()
282 foe = in lonely_foe_add()
298 foe = in lonely_foe_add()
314 foe = in lonely_foe_add()
330 foe = in lonely_foe_add()
346 foe = in lonely_foe_add()
[all …]
H A Denemies.c556 foe->fire_rate_count = foe->fire_rate; in enemy_curve()
814 foe->angle_tir = get_new_angle (foe->angle_tir, a, foe->agilite); in enemy_lonely_soukee()
841 foe->img_old_angle = foe->img_angle; in enemy_lonely_soukee()
1242 foe->type == ARCHINIANS) && foe->img_angle != foe->spr.current_image) in lonely_foe_fire()
1248 foe->fire_rate_count = foe->fire_rate; in lonely_foe_fire()
1395 foe->img_angle = (Sint16) abs (foe->img_angle); in lonely_foe_anim_adjustable_cannon()
1776 foe = foe->next; in enemy_check_chained_list()
1789 foe = foe->previous; in enemy_check_chained_list()
1869 foe->previous->next = foe->next; in enemy_delete()
1873 foe->next->previous = foe->previous; in enemy_delete()
[all …]
H A Dcongratulations.c243 foe->spr.xcoord = in congratulations_play()
246 enemy_draw (foe); in congratulations_play()
320 foe->fire_rate = 60; in congratulations_new_enemy()
323 foe->spr.xcoord = (float) (offscreen_width - foe->spr.img[0]->w) / 2; in congratulations_new_enemy()
324 foe->spr.ycoord = (float) (offscreen_height - foe->spr.img[0]->h) / 2; in congratulations_new_enemy()
336 foe->dead = FALSE; in congratulations_new_enemy()
337 foe->visible = TRUE; in congratulations_new_enemy()
347 if (foe->sens_anim) in congratulations_enemy_animation()
350 if (foe->spr.anim_count >= foe->spr.anim_speed) in congratulations_enemy_animation()
364 if (foe->spr.anim_count >= foe->spr.anim_speed) in congratulations_enemy_animation()
[all …]
H A Dmeteors_phase.c81 enemy *foe; in meteors_handle() local
105 foe = enemy_get (); in meteors_handle()
106 if (foe == NULL) in meteors_handle()
135 foe->spr.energy_level = in meteors_handle()
142 foe->spr.anim_count = 0; in meteors_handle()
150 foe->fire_rate = 10000; in meteors_handle()
152 foe->fire_rate_count = foe->fire_rate; in meteors_handle()
157 foe->spr.xcoord = in meteors_handle()
162 foe->x_speed = 0.0; in meteors_handle()
166 foe->timelife = 210; in meteors_handle()
[all …]
H A Dgrid_phase.c187 enemy *foe; in grid_start() local
197 foe = enemy_get (); in grid_start()
198 if (foe == NULL) in grid_start()
212 foe->type = 0; in grid_start()
220 foe->spr.pow_of_dest = in grid_start()
228 foe->type = 1; in grid_start()
231 foe->spr.numof_images = 8; in grid_start()
236 foe->spr.anim_speed = 10; in grid_start()
238 foe->spr.anim_count = 0; in grid_start()
245 foe->spr.img[k] = in grid_start()
[all …]
H A Dguardians.c786 foe->spr.energy_level = foe->spr.pow_of_dest >> 2; in guardian_add_missile()
796 foe->fire_rate_count = foe->fire_rate; in guardian_add_missile()
804 foe->img_old_angle = foe->img_angle; in guardian_add_missile()
908 foe->fire_rate_count = foe->fire_rate; in guardian_add_foe()
956 foe = in guardian_add_soukee()
970 foe->img_old_angle = foe->img_angle; in guardian_add_soukee()
994 foe = in guardian_add_shuriky()
1054 foe = in guardian_add_quibouly()
1085 foe = in guardian_add_tournadee()
1134 foe = in guardian_add_sapouch()
[all …]
H A Dshots.c285 enemy *foe; in shot_moving() local
311 foe->spr.img[foe-> in shot_moving()
314 foe->spr.img[foe-> in shot_moving()
627 switch (foe->type) in shot_enemy_add()
666 foe->spr.img[foe->spr.current_image]->cannons_coords[k][XCOORD] - in shot_enemy_add()
670 foe->spr.img[foe->spr.current_image]->cannons_coords[k][YCOORD] - in shot_enemy_add()
999 enemy *foe; in shot_enemies_collisions() local
1003 if (foe == NULL) in shot_enemies_collisions()
1009 for (i = 0; i < num_of_enemies; i++, foe = foe->next) in shot_enemies_collisions()
1020 if (!foe->visible || foe->dead || in shot_enemies_collisions()
[all …]
H A Delectrical_shock.c69 enemy *foe; in electrical_shock() local
78 foe = enemy_get_first (); in electrical_shock()
79 if (foe == NULL) in electrical_shock()
83 spr = &foe->spr; in electrical_shock()
88 if (!foe->dead && !gameover_enable && !player_pause in electrical_shock()
118 foe->is_white_mask_displayed = TRUE; in electrical_shock()
131 if (foe->type >= BIGMETEOR) in electrical_shock()
133 bonus_meteor_add (foe); in electrical_shock()
140 explosions_add_serie (foe); in electrical_shock()
146 bonus_add (foe); in electrical_shock()
[all …]
H A Dcurve_phase.c110 enemy *foe; in curve_phase() local
129 foe = enemy_get (); in curve_phase()
130 if (foe == NULL) in curve_phase()
156 foe->fire_rate_count = foe->fire_rate; in curve_phase()
162 foe->spr.xcoord = in curve_phase()
164 foe->spr.ycoord = in curve_phase()
173 foe->type = 0; in curve_phase()
643 enemy *foe; in curve_enable_level() local
664 if (foe == NULL) in curve_enable_level()
676 foe->type = 0; in curve_enable_level()
[all …]
H A Dextra_gun.c630 foe->spr.img[foe->spr.current_image]->numof_collisions_zones; in guns_enemy_collisions()
635 (Sint32) foe->spr.xcoord + in guns_enemy_collisions()
636 foe->spr.img[foe->spr.current_image]-> in guns_enemy_collisions()
639 (Sint32) foe->spr.ycoord + in guns_enemy_collisions()
640 foe->spr.img[foe->spr.current_image]-> in guns_enemy_collisions()
646 foe->spr.img[foe->spr.current_image]->collisions_sizes[m] in guns_enemy_collisions()
650 foe->spr.img[foe->spr. in guns_enemy_collisions()
655 foe->spr.energy_level = in guns_enemy_collisions()
680 if ((foe->type >= BIGMETEOR && foe->type <= SMALLMETEOR) in guns_enemy_collisions()
688 foe->spr.img[foe->spr. in guns_enemy_collisions()
[all …]
H A Dsatellite_protections.c655 foe->spr.img[foe->spr.current_image]->numof_collisions_zones; in satellites_enemy_collisions()
660 (Sint32) foe->spr.xcoord + in satellites_enemy_collisions()
661 foe->spr.img[foe->spr. in satellites_enemy_collisions()
664 (Sint32) foe->spr.ycoord + in satellites_enemy_collisions()
665 foe->spr.img[foe->spr. in satellites_enemy_collisions()
673 foe->spr.img[foe->spr. in satellites_enemy_collisions()
678 foe->spr.img[foe->spr.current_image]-> in satellites_enemy_collisions()
682 foe->spr.energy_level = in satellites_enemy_collisions()
709 if ((foe->type >= BIGMETEOR && foe->type <= SMALLMETEOR) in satellites_enemy_collisions()
717 foe->spr.img[foe-> in satellites_enemy_collisions()
[all …]
/dports/games/oldrunner/oldrunner/
H A Dfoes.c38 struct foe { struct
70 struct foe *f; in foes_add()
101 foe_killed (struct foe *foe) in foe_killed() argument
112 foe_trapped (struct foe *foe) in foe_trapped() argument
119 check_trap (struct foe *foe) in check_trap() argument
133 check_hole (struct foe *foe) in check_hole() argument
164 compute_move (const struct coord *hero, struct foe *foe) in compute_move() argument
169 coord_compute (&foe->pos, foe->current_move, &foe->pos); in compute_move()
182 foe->current_move = lvl_shortest_way (&foe->pos, in compute_move()
185 coord_compute (&foe->pos, foe->current_move, &foe->pos); in compute_move()
[all …]
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/
H A Dmon-behv.cc66 if (mon->foe != MHITNOT && mon->foe != MHITYOU) in _mon_check_foe_invalid()
80 mon->foe = MHITNOT; in _mon_check_foe_invalid()
153 if (mon->foe == MHITYOU) in _decide_monster_firing_position()
321 && (mon->foe == MHITNOT || mon->foe == MHITYOU) in handle_behaviour()
370 mon->foe = MHITNOT; in handle_behaviour()
374 if (!mons_is_avatar(mon->type) && mon->foe != MHITNOT && mon->foe != MHITYOU in handle_behaviour()
377 mon->foe = MHITNOT; in handle_behaviour()
384 && (mon->foe == MHITYOU || env.mons[mon->foe].neutral())) in handle_behaviour()
393 && mon->foe != MHITYOU && mon->foe != MHITNOT in handle_behaviour()
902 return foe && foe != mon in _mons_check_foe()
[all …]
H A Dmon-cast.cc577 const bool need_more = foe && (foe->is_player() in _fire_direct_explosion()
1956 if (!foe in _battle_cry()
2037 if (!foe in _mons_call_of_chaos()
2818 mon->foe = foe; in mons_word_of_recall()
2970 beast->foe = druid->foe; in _place_druids_call_beast()
3721 if (mons.foe == MHITYOU || mons.foe == MHITNOT) in _should_cast_spell()
4256 if (!foe || !actor_is_illusion_cloneable(foe)) in _mons_cast_summon_illusion()
4671 ally->foe = mon->foe; in _blink_allies_encircle()
5151 if (!foe.is_player() && you.see_cell(foe.pos())) in _sheep_message()
7085 if (!foe || !adjacent(foe->pos(), pos)) in _throw_ally_site_score()
[all …]
H A Dmon-clone.cc80 monster* foe) in _mons_summon_monster_illusion() argument
83 if (!_mons_is_illusion_cloneable(foe)) in _mons_summon_monster_illusion()
94 const string clone_id = _monster_clone_id_for(foe); in _mons_summon_monster_illusion()
96 foe->props[CLONE_MASTER_KEY] = clone_id; in _mons_summon_monster_illusion()
118 foe->name(DESC_THE).c_str(), in _mons_summon_monster_illusion()
119 foe->pronoun(PRONOUN_REFLEXIVE).c_str()); in _mons_summon_monster_illusion()
124 foe->name(DESC_THE).c_str(), in _mons_summon_monster_illusion()
181 void mons_summon_illusion_from(monster* mons, actor *foe, in mons_summon_illusion_from() argument
184 if (foe->is_player()) in mons_summon_illusion_from()
196 mons->pos(), mons->foe) in mons_summon_illusion_from()
[all …]
H A Dmon-speak.cc405 && invalid_monster_index(mon.foe)) in _get_foe()
496 const actor* foe = _get_foe(*mons); in mons_speaks() local
497 const monster* m_foe = foe ? foe->as_monster() : nullptr; in mons_speaks()
499 if (!foe || foe->is_player() || mons->wont_attack()) in mons_speaks()
509 mons_genus(foe->mons_species())) in mons_speaks()
515 const god_type god = foe ? foe->deity() : in mons_speaks()
571 const bool no_foe = (foe == nullptr); in mons_speaks()
574 && (!foe || !foe->is_player())); in mons_speaks()
790 const actor* foe = _get_foe(mon); in invalid_msg() local
791 const monster* m_foe = foe ? foe->as_monster() : nullptr; in invalid_msg()
[all …]
/dports/games/openglad/openglad-0.98/src/
H A Dstats.cpp509 controller->foe = foe; in hit_response()
510 foe->foe = controller; in hit_response()
533 controller->foe = foe; in hit_response()
534 foe->foe = controller; in hit_response()
603 if (!controller->foe || controller->foe != foe) in hit_response()
605 controller->foe = foe; in hit_response()
641 controller->foe = foe; in hit_response()
642 foe->foe = controller; in hit_response()
664 if (foe != here->ob->foe) in yell_for_help()
666 here->ob->foe = foe; in yell_for_help()
[all …]
H A Dliving.cpp53 if (foe && (foe->dead || (random(foe->invisibility_left/20) > 0) ) ) in act()
54 foe = NULL; in act()
55 if (is_friendly(foe)) in act()
56 foe = NULL; in act()
345 if (!foe) in act()
526 if (!foe) in check_special()
548 if (!foe) in check_special()
848 if (!foe) in act_random()
884 if (foe) in do_action()
889 if (leader->foe) in do_action()
[all …]
/dports/misc/openmvg/openMVG-2.0/src/third_party/ceres-solver/examples/
H A Ddenoising.cc89 void CreateProblem(const FieldsOfExperts& foe, in CreateProblem() argument
107 std::vector<ceres::LossFunction*> loss_function(foe.NumFilters()); in CreateProblem()
108 std::vector<ceres::CostFunction*> cost_function(foe.NumFilters()); in CreateProblem()
110 loss_function[alpha_index] = foe.NewLossFunction(alpha_index); in CreateProblem()
111 cost_function[alpha_index] = foe.NewCostFunction(alpha_index); in CreateProblem()
115 for (int x = 0; x < image.width() - (foe.Size() - 1); ++x) { in CreateProblem()
116 for (int y = 0; y < image.height() - (foe.Size() - 1); ++y) { in CreateProblem()
121 for (int i = 0; i < foe.NumVariables(); ++i) { in CreateProblem()
194 FieldsOfExperts foe; in main() local
195 if (!foe.LoadFromFile(FLAGS_foe_file)) { in main()
[all …]
/dports/math/ceres-solver/ceres-solver-2.0.0/examples/
H A Ddenoising.cc132 void CreateProblem(const FieldsOfExperts& foe, in CreateProblem() argument
148 std::vector<ceres::LossFunction*> loss_function(foe.NumFilters()); in CreateProblem()
149 std::vector<ceres::CostFunction*> cost_function(foe.NumFilters()); in CreateProblem()
151 loss_function[alpha_index] = foe.NewLossFunction(alpha_index); in CreateProblem()
152 cost_function[alpha_index] = foe.NewCostFunction(alpha_index); in CreateProblem()
156 for (int x = 0; x < image.width() - (foe.Size() - 1); ++x) { in CreateProblem()
157 for (int y = 0; y < image.height() - (foe.Size() - 1); ++y) { in CreateProblem()
162 for (int i = 0; i < foe.NumVariables(); ++i) { in CreateProblem()
270 FieldsOfExperts foe; in main() local
271 if (!foe.LoadFromFile(FLAGS_foe_file)) { in main()
[all …]
/dports/games/nxengine/CaveStory/data/Stage/
H A DMazeD.tsc1foe.+DQQZR.+]nob]dnvQQQQ]gbjQQQR]foe.+DQQZS.+]nob]dnvQQQQ]gbjQQQS]foe.+DQQZT.+]nob]dnvQQQQ]gbjQQQT…
/dports/games/libretro-nxengine/nxengine-libretro-10c4381/datafiles/data/Stage/
H A DMazeD.tsc1foe.+DQQZR.+]nob]dnvQQQQ]gbjQQQR]foe.+DQQZS.+]nob]dnvQQQQ]gbjQQQS]foe.+DQQZT.+]nob]dnvQQQQ]gbjQQQT…
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dmondefense.cpp54 if( const player *const foe = dynamic_cast<player *>( source ) ) { in zapback() local
56 for( const item &i : foe->worn ) { in zapback()
64 if( !foe->weapon.conductive() ) { in zapback()
65 if( foe->reach_attacking ) { in zapback()
68 if( !foe->used_weapon().is_null() ) { in zapback()
111 if( const player *const foe = dynamic_cast<player *>( source ) ) { in acidsplash() local
112 … if( foe->weapon.is_melee( damage_type::CUT ) || foe->weapon.is_melee( damage_type::STAB ) ) { in acidsplash()
115 if( foe->unarmed_attack() ) { in acidsplash()
161 const player *const foe = dynamic_cast<player *>( source ); in return_fire() local
163 if( foe == nullptr || foe->weapon.gun_noise().volume < rl_dist( m.pos(), source->pos() ) ) { in return_fire()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dmondefense.cpp54 if( const player *const foe = dynamic_cast<player *>( source ) ) { in zapback() local
56 for( const item &i : foe->worn ) { in zapback()
64 if( !foe->weapon.conductive() ) { in zapback()
65 if( foe->reach_attacking ) { in zapback()
68 if( !foe->used_weapon().is_null() ) { in zapback()
111 if( const player *const foe = dynamic_cast<player *>( source ) ) { in acidsplash() local
112 … if( foe->weapon.is_melee( damage_type::CUT ) || foe->weapon.is_melee( damage_type::STAB ) ) { in acidsplash()
115 if( foe->unarmed_attack() ) { in acidsplash()
161 const player *const foe = dynamic_cast<player *>( source ); in return_fire() local
163 if( foe == nullptr || foe->weapon.gun_noise().volume < rl_dist( m.pos(), source->pos() ) ) { in return_fire()
/dports/games/scummvm/scummvm-2.5.1/devtools/create_ultima/files/ultima6/scripts/u6/
H A Dactor.lua1350 if foe ~= nil and foe.actor_num == attacker.actor_num then
1464 if foe ~= nil and (foe.x ~= target_x or foe.y ~= target_y) then
1493 if foe ~= nil and (foe.x ~= target_x or foe.y ~= target_y) then
1523 if foe ~= nil and foe.x == target_x and foe.y == target_y then
1595 if foe ~= nil and foe.obj_n ~= 0 then
1654 local range = Actor.get_range(attacker, foe.x, foe.y)
3516 hit_anim(foe.x, foe.y)
3533 hit_anim(foe.x, foe.y)
3564 foe.old_align = foe.align
3566 hit_anim(foe.x, foe.y)
[all …]

12345678910>>...57