/dports/games/solarus-quest-editor/solarus-quest-editor-e541e1312c242bff10aa1fb84a7eb8b6cb8504ba/assets/initial_quest/data/enemies/ |
H A D | shamablin_fire.lua | 3 local enemy = ... 4 local game = enemy:get_game() 5 local map = enemy:get_map() 13 function enemy:on_created() 14 body_sprite = enemy:create_sprite("enemies/" .. enemy:get_breed()) 24 function enemy:on_restarted() 93 enemy:start_wander() 99 function enemy:start_wander() 108 m:start(enemy) 121 function enemy:on_hurt(attack) [all …]
|
H A D | explosion.lua | 3 local enemy = ... 4 local game = enemy:get_game() 5 local map = enemy:get_map() 9 function enemy:on_created() 13 enemy:prepare_explosion_sprite() 14 enemy:set_invincible() -- Invincible!!! 15 enemy:set_life(1) 16 enemy:set_damage(12) -- Damage: 3 full hearts!!! 17 enemy:set_layer_independent_collisions(true) -- Detect collisions from any layer. 23 function enemy:prepare_explosion_sprite(sprite_id, sprite_animation, direction) [all …]
|
/dports/x11-toolkits/gtkglarea2/gtkglarea-2.0.1/examples/ |
H A D | zktor.c | 79 Entity enemy[10]; variable 295 while (enemy[i].dir > 180) enemy[i].dir -= 360; in game_play() 299 while (enemy[i].dir <-180) enemy[i].dir += 360; in game_play() 310 enemy[i].pos_x += enemy[i].vel_x * game_tick; in game_play() 311 enemy[i].pos_y += enemy[i].vel_y * game_tick; in game_play() 315 enemy[i].vel_x = 0; in game_play() 319 enemy[i].vel_x = 0; in game_play() 323 enemy[i].vel_y = 0; in game_play() 336 e_bullet[j].pos_x = enemy[i].pos_x + enemy[i].radius*dx; in game_play() 337 e_bullet[j].pos_y = enemy[i].pos_y + enemy[i].radius*dy; in game_play() [all …]
|
/dports/games/holotz-castle/holotz-castle-1.3.14-src/res/stories/holotzcastle/script/en/ |
H A D | level020.hcs | 6 {[ MOVE enemy(0) dir=8 amount=0 ] 7 [ MOVE enemy(1) dir=8 amount=0 ] 8 [ MOVE enemy(2) dir=4 amount=0 ] 9 [ MOVE enemy(3) dir=6 amount=0 ] 10 [ MOVE enemy(4) dir=4 amount=0 ] 11 [ MOVE enemy(5) dir=6 amount=0 ]} 26 {[ MOVE enemy(1) dir=4 amount=3 ] 29 {[ MOVE enemy(1) dir=4 amount=1 ] 34 {[ DIALOG enemy(5) text="Oh ho! 40 {[ MOVE enemy(5) dir=6 amount=4 ] [all …]
|
H A D | level030.hcs | 9 [ MOVE enemy(0) dir=8 amount=6 ] 10 [ MOVE enemy(1) dir=8 amount=6 ] 11 [ MOVE enemy(2) dir=8 amount=6 ]} 14 [ MOVE enemy(0) dir=4 amount=3 ] 15 [ MOVE enemy(1) dir=8 amount=4 ] 16 [ MOVE enemy(2) dir=8 amount=4 ]} 19 [ MOVE enemy(0) dir=4 amount=4 ] 20 [ MOVE enemy(1) dir=4 amount=3 ] 21 [ MOVE enemy(2) dir=6 amount=3 ]} 26 [ MOVE enemy(0) dir=6 amount=1 ]} [all …]
|
/dports/games/holotz-castle/holotz-castle-1.3.14-src/res/stories/holotzcastle/script/nl/ |
H A D | level020.hcs | 6 {[ MOVE enemy(0) dir=8 amount=0 ] 7 [ MOVE enemy(1) dir=8 amount=0 ] 8 [ MOVE enemy(2) dir=4 amount=0 ] 9 [ MOVE enemy(3) dir=6 amount=0 ] 10 [ MOVE enemy(4) dir=4 amount=0 ] 11 [ MOVE enemy(5) dir=6 amount=0 ]} 26 {[ MOVE enemy(1) dir=4 amount=3 ] 29 {[ MOVE enemy(1) dir=4 amount=1 ] 34 {[ DIALOG enemy(5) text="Oh ho! 40 {[ MOVE enemy(5) dir=6 amount=4 ] [all …]
|
H A D | level030.hcs | 9 [ MOVE enemy(0) dir=8 amount=6 ] 10 [ MOVE enemy(1) dir=8 amount=6 ] 11 [ MOVE enemy(2) dir=8 amount=6 ]} 14 [ MOVE enemy(0) dir=4 amount=3 ] 15 [ MOVE enemy(1) dir=8 amount=4 ] 16 [ MOVE enemy(2) dir=8 amount=4 ]} 19 [ MOVE enemy(0) dir=4 amount=4 ] 20 [ MOVE enemy(1) dir=4 amount=3 ] 21 [ MOVE enemy(2) dir=6 amount=3 ]} 26 [ MOVE enemy(0) dir=6 amount=1 ]} [all …]
|
/dports/games/openjk/OpenJK-07675e2/code/game/ |
H A D | AI_Default.cpp | 148 if ( NPC->enemy->enemy == NPC ) in NPC_StandTrackAndShoot() 259 if ( NPC->enemy ) in NPC_BSHuntAndKill() 386 if(NPC->enemy) in NPC_BSStandAndShoot() 393 if(NPC->enemy) in NPC_BSStandAndShoot() 436 if ( NPC->enemy ) in NPC_BSRunAndShoot() 443 if ( NPC->enemy ) in NPC_BSRunAndShoot() 525 if ( !NPC->enemy || !NPC->enemy->inuse || (NPC->enemy->NPC && NPC->enemy->health <= 0) ) in NPC_BSPointShoot() 635 if(NPC->enemy) in NPC_BSMove() 686 if(NPC->enemy) in NPC_BSPatrol() 756 if ( !NPC->enemy ) in NPC_BSDefault() [all …]
|
/dports/games/openjk/OpenJK-07675e2/codeJK2/game/ |
H A D | AI_Default.cpp | 152 if ( NPC->enemy->enemy == NPC ) in NPC_StandTrackAndShoot() 262 if ( NPC->enemy ) in NPC_BSHuntAndKill() 389 if(NPC->enemy) in NPC_BSStandAndShoot() 396 if(NPC->enemy) in NPC_BSStandAndShoot() 439 if ( NPC->enemy ) in NPC_BSRunAndShoot() 446 if ( NPC->enemy ) in NPC_BSRunAndShoot() 529 if ( !NPC->enemy || !NPC->enemy->inuse || (NPC->enemy->NPC && NPC->enemy->health <= 0) ) in NPC_BSPointShoot() 638 if(NPC->enemy) in NPC_BSMove() 689 if(NPC->enemy) in NPC_BSPatrol() 759 if ( !NPC->enemy ) in NPC_BSDefault() [all …]
|
/dports/games/legend-of-edgar/edgar-1.34/data/gfx/enemy/ |
H A D | red_centurion.dat | 1 gfx/enemy/centurion/red_centurion_walk00.png 2 gfx/enemy/centurion/red_centurion_walk01.png 3 gfx/enemy/centurion/red_centurion_walk02.png 4 gfx/enemy/centurion/red_centurion_walk03.png 5 gfx/enemy/centurion/red_centurion_walk04.png 6 gfx/enemy/centurion/red_centurion_walk05.png 7 gfx/enemy/centurion/red_centurion_attack00.png 8 gfx/enemy/centurion/red_centurion_attack01.png 9 gfx/enemy/centurion/red_centurion_attack02.png 10 gfx/enemy/centurion/red_centurion_attack03.png [all …]
|
H A D | gold_centurion.dat | 1 gfx/enemy/gold_centurion/gold_centurion_walk00.png 2 gfx/enemy/gold_centurion/gold_centurion_walk01.png 3 gfx/enemy/gold_centurion/gold_centurion_walk02.png 4 gfx/enemy/gold_centurion/gold_centurion_walk03.png 5 gfx/enemy/gold_centurion/gold_centurion_walk04.png 6 gfx/enemy/gold_centurion/gold_centurion_walk05.png 7 gfx/enemy/gold_centurion/gold_centurion_attack00.png 8 gfx/enemy/gold_centurion/gold_centurion_attack01.png 9 gfx/enemy/gold_centurion/gold_centurion_attack02.png 10 gfx/enemy/gold_centurion/gold_centurion_attack03.png [all …]
|
H A D | scorpion.dat | 1 gfx/enemy/scorpion/scorpion00.png 2 gfx/enemy/scorpion/scorpion01.png 3 gfx/enemy/scorpion/scorpion02.png 4 gfx/enemy/scorpion/scorpion03.png 5 gfx/enemy/scorpion/scorpion04.png 6 gfx/enemy/scorpion/scorpion05.png 7 gfx/enemy/scorpion/scorpion06.png 8 gfx/enemy/scorpion/scorpion07.png 9 gfx/enemy/scorpion/scorpion_stand00.png 10 gfx/enemy/scorpion/scorpion_stand01.png [all …]
|
H A D | centurion.dat | 1 gfx/enemy/centurion/centurion_walk00.png 2 gfx/enemy/centurion/centurion_walk01.png 3 gfx/enemy/centurion/centurion_walk02.png 4 gfx/enemy/centurion/centurion_walk03.png 5 gfx/enemy/centurion/centurion_walk04.png 6 gfx/enemy/centurion/centurion_walk05.png 7 gfx/enemy/centurion/centurion_attack00.png 8 gfx/enemy/centurion/centurion_attack01.png 9 gfx/enemy/centurion/centurion_attack02.png 10 gfx/enemy/centurion/centurion_attack03.png [all …]
|
H A D | gas_plant.dat | 1 gfx/enemy/gas_plant/gas_plant00.png 2 gfx/enemy/gas_plant/gas_plant01.png 3 gfx/enemy/gas_plant/gas_plant02.png 4 gfx/enemy/gas_plant/gas_plant03.png 5 gfx/enemy/gas_plant/gas_plant04.png 6 gfx/enemy/gas_plant/gas_plant05.png 7 gfx/enemy/gas_plant/gas_plant06.png 8 gfx/enemy/gas_plant/gas_plant07.png 9 gfx/enemy/gas_plant/gas_plant08.png 10 gfx/enemy/gas_plant/gas_plant09.png [all …]
|
/dports/games/openmw/openmw-openmw-0.47.0/apps/openmw/mwmechanics/ |
H A D | spellpriority.cpp | 239 const CreatureStats& stats = enemy.getClass().getCreatureStats(enemy); in rateEffect() 257 const CreatureStats& stats = enemy.getClass().getCreatureStats(enemy); in rateEffect() 322 if (!enemy.getClass().hasInventoryStore(enemy)) in rateEffect() 326 … float burden = enemy.getClass().getEncumbrance(enemy) - enemy.getClass().getCapacity(enemy); in rateEffect() 458 if (!enemy.getClass().hasInventoryStore(enemy)) in rateEffect() 502 if (!enemy.getClass().hasInventoryStore(enemy)) in rateEffect() 517 …if (!enemy.isEmpty() && enemy.getClass().getCreatureStats(enemy).getAttribute(effect.mAttribute).g… in rateEffect() 539 if (enemy.isEmpty() || !enemy.getClass().isNpc()) in rateEffect() 541 if (enemy.getClass().getSkill(enemy, effect.mSkill) <= 0) in rateEffect() 580 CreatureStats& stats = enemy.getClass().getCreatureStats(enemy); in rateEffect() [all …]
|
/dports/games/holotz-castle/holotz-castle-1.3.14-src/res/stories/holotzcastle/script/ru/ |
H A D | level030.hcs | 9 [ MOVE enemy(0) dir=8 amount=6 ] 10 [ MOVE enemy(1) dir=8 amount=6 ] 11 [ MOVE enemy(2) dir=8 amount=6 ]} 14 [ MOVE enemy(0) dir=4 amount=3 ] 15 [ MOVE enemy(1) dir=8 amount=4 ] 16 [ MOVE enemy(2) dir=8 amount=4 ]} 19 [ MOVE enemy(0) dir=4 amount=4 ] 20 [ MOVE enemy(1) dir=4 amount=3 ] 21 [ MOVE enemy(2) dir=6 amount=3 ]} 29 {[ DIALOG enemy(0) text="Теперь мы [all …]
|
/dports/games/holotz-castle/holotz-castle-1.3.14-src/res/stories/holotzcastle/script/ua/ |
H A D | level030.hcs | 9 [ MOVE enemy(0) dir=8 amount=6 ] 10 [ MOVE enemy(1) dir=8 amount=6 ] 11 [ MOVE enemy(2) dir=8 amount=6 ]} 14 [ MOVE enemy(0) dir=4 amount=3 ] 15 [ MOVE enemy(1) dir=8 amount=4 ] 16 [ MOVE enemy(2) dir=8 amount=4 ]} 19 [ MOVE enemy(0) dir=4 amount=4 ] 20 [ MOVE enemy(1) dir=4 amount=3 ] 21 [ MOVE enemy(2) dir=6 amount=3 ]} 29 {[ DIALOG enemy(0) text="Тепер ми [all …]
|
/dports/games/holotz-castle/holotz-castle-1.3.14-src/res/stories/holotzcastle/script/sr/ |
H A D | level014.hcs | 31 [ DIALOG enemy(0) text="Како 58 {[ DIALOG enemy(0) text="Јеси... 73 {[ DIALOG enemy(0) text="Господар 76 {[ DIALOG enemy(0) text="Дошао... 80 {[ DIALOG enemy(0) text="нови... 107 {[ DIALOG enemy(0) text="Да... 112 {[ DIALOG enemy(0) text="Само... 119 {[ DIALOG enemy(0) text="Он... 127 {[ DIALOG enemy(0) text="Не... 136 {[ DIALOG enemy(0) text="Сада... [all …]
|
/dports/games/easyrpg-player/Player-0.7.0/src/ |
H A D | game_enemy.h | 251 return enemy->exp; in GetExp() 255 return enemy->gold; in GetMoney() 259 return enemy->drop_id; in GetDropId() 279 return enemy->ID; in GetId() 287 return enemy->max_hp; in GetBaseMaxHp() 291 return enemy->max_sp; in GetBaseMaxSp() 295 return enemy->attack; in GetBaseAtk() 299 return enemy->defense; in GetBaseDef() 303 return enemy->spirit; in GetBaseSpi() 327 return enemy->name; in GetName() [all …]
|
/dports/games/libretro-nxengine/nxengine-libretro-10c4381/nxengine/ai/weapons/ |
H A D | weapons.cpp | 54 Object *enemy; in check_hit_enemy() local 55 FOREACH_OBJECT(enemy) in check_hit_enemy() 61 if (hitdetect(enemy, shot)) in check_hit_enemy() 67 return enemy; in check_hit_enemy() 84 Object *enemy; in damage_enemies() local 89 if (enemy->flags & FLAG_INVULNERABLE) in damage_enemies() 96 enemy->DealDamage(o->shot.damage, o); in damage_enemies() 99 return enemy; in damage_enemies() 109 Object *enemy; in damage_all_enemies_in_bb() local 112 FOREACH_OBJECT(enemy) in damage_all_enemies_in_bb() [all …]
|
/dports/games/holotz-castle/holotz-castle-1.3.14-src/res/stories/holotzcastle/script/sv/ |
H A D | level020.hcs | 6 {[ MOVE enemy(0) dir=8 amount=0 ] 7 [ MOVE enemy(1) dir=8 amount=0 ] 8 [ MOVE enemy(2) dir=4 amount=0 ] 9 [ MOVE enemy(3) dir=6 amount=0 ] 10 [ MOVE enemy(4) dir=4 amount=0 ] 11 [ MOVE enemy(5) dir=6 amount=0 ]} 26 {[ MOVE enemy(1) dir=4 amount=3 ] 29 {[ MOVE enemy(1) dir=4 amount=1 ] 34 {[ DIALOG enemy(5) text="Oh ho! 40 {[ MOVE enemy(5) dir=6 amount=4 ] [all …]
|
H A D | level030.hcs | 9 [ MOVE enemy(0) dir=8 amount=6 ] 10 [ MOVE enemy(1) dir=8 amount=6 ] 11 [ MOVE enemy(2) dir=8 amount=6 ]} 14 [ MOVE enemy(0) dir=4 amount=3 ] 15 [ MOVE enemy(1) dir=8 amount=4 ] 16 [ MOVE enemy(2) dir=8 amount=4 ]} 19 [ MOVE enemy(0) dir=4 amount=4 ] 20 [ MOVE enemy(1) dir=4 amount=3 ] 21 [ MOVE enemy(2) dir=6 amount=3 ]} 26 [ MOVE enemy(0) dir=6 amount=1 ]} [all …]
|
/dports/games/xbat/Xev111/ |
H A D | bacu.c | 90 enemy[enemy_no].tmp1 = 0; 91 enemy[enemy_no].tmp2 = 1; 92 enemy[enemy_no].tmp3 = 45; 95 enemy[enemy_no].vx = 0; 108 enemy[enemy_no].tmp1 +=STPF; 109 enemy[enemy_no].tmp1 %= 36; 121 enemy[enemy_no].tmp3--; 125 if(!enemy[enemy_no].tmp3) { 132 enemy[enemy_no].enemy_no = 0; 142 enemy[enemy_no].y.sht[UNION], [all …]
|
/dports/games/allacrost/allacrost-1.0.2/dat/maps/ |
H A D | new_cave.lua | 870 enemy:SetContext(1); 878 enemy:AddEnemy(3); 879 enemy:AddEnemy(2); 881 enemy:AddEnemy(3); 882 enemy:AddEnemy(3); 901 enemy:SetContext(1); 909 enemy:AddEnemy(1); 910 enemy:AddEnemy(1); 911 enemy:AddEnemy(1); 913 enemy:AddEnemy(1); [all …]
|
/dports/games/solarus-quest-editor/solarus-quest-editor-e541e1312c242bff10aa1fb84a7eb8b6cb8504ba/resources/initial_files/ |
H A D | enemy_script_template.lua | 11 local enemy = ... 12 local game = enemy:get_game() 13 local map = enemy:get_map() 19 function enemy:on_created() 23 sprite = enemy:create_sprite("enemies/" .. enemy:get_breed()) 24 enemy:set_life(1) 25 enemy:set_damage(1) 31 function enemy:on_restarted() 36 movement:start(enemy)
|