diff options
Diffstat (limited to 'src/jake2/game/monsters/M_Boss2.java')
-rw-r--r-- | src/jake2/game/monsters/M_Boss2.java | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/jake2/game/monsters/M_Boss2.java b/src/jake2/game/monsters/M_Boss2.java index 5633398..c77e6ce 100644 --- a/src/jake2/game/monsters/M_Boss2.java +++ b/src/jake2/game/monsters/M_Boss2.java @@ -19,7 +19,7 @@ */ // Created on 13.11.2003 by RST. -// $Id: M_Boss2.java,v 1.3 2005-11-16 22:24:52 salomo Exp $ +// $Id: M_Boss2.java,v 1.4 2005-11-20 22:18:33 salomo Exp $ package jake2.game.monsters; import jake2.Defines; @@ -414,6 +414,7 @@ public class M_Boss2 { static int sound_search1; static EntThinkAdapter boss2_stand = new EntThinkAdapter() { + public String getID() { return "boss2_stand"; } public boolean think(edict_t self) { self.monsterinfo.currentmove = boss2_move_stand; return true; @@ -421,6 +422,7 @@ public class M_Boss2 { }; static EntThinkAdapter boss2_run = new EntThinkAdapter() { + public String getID() { return "boss2_run"; } public boolean think(edict_t self) { if ((self.monsterinfo.aiflags & Defines.AI_STAND_GROUND) != 0) self.monsterinfo.currentmove = boss2_move_stand; @@ -431,6 +433,7 @@ public class M_Boss2 { }; static EntThinkAdapter boss2_walk = new EntThinkAdapter() { + public String getID() { return "boss2_walk"; } public boolean think(edict_t self) { self.monsterinfo.currentmove = boss2_move_stand; @@ -440,6 +443,7 @@ public class M_Boss2 { }; static EntThinkAdapter boss2_attack = new EntThinkAdapter() { + public String getID() { return "boss2_attack"; } public boolean think(edict_t self) { float[] vec = { 0, 0, 0 }; @@ -461,6 +465,7 @@ public class M_Boss2 { }; static EntThinkAdapter boss2_attack_mg = new EntThinkAdapter() { + public String getID() { return "boss2_attack_mg"; } public boolean think(edict_t self) { self.monsterinfo.currentmove = boss2_move_attack_mg; return true; @@ -468,6 +473,7 @@ public class M_Boss2 { }; static EntThinkAdapter boss2_reattack_mg = new EntThinkAdapter() { + public String getID() { return "boss2_reattack_mg"; } public boolean think(edict_t self) { if (GameUtil.infront(self, self.enemy)) if (Lib.random() <= 0.7) @@ -481,6 +487,7 @@ public class M_Boss2 { }; static EntPainAdapter boss2_pain = new EntPainAdapter() { + public String getID() { return "boss2_pain"; } public void pain(edict_t self, edict_t other, float kick, int damage) { if (self.health < (self.max_health / 2)) self.s.skinnum = 1; @@ -507,6 +514,7 @@ public class M_Boss2 { }; static EntThinkAdapter boss2_dead = new EntThinkAdapter() { + public String getID() { return "boss2_dead"; } public boolean think(edict_t self) { Math3D.VectorSet(self.mins, -56, -56, 0); Math3D.VectorSet(self.maxs, 56, 56, 80); @@ -519,6 +527,7 @@ public class M_Boss2 { }; static EntDieAdapter boss2_die = new EntDieAdapter() { + public String getID() { return "boss2_die"; } public void die(edict_t self, edict_t inflictor, edict_t attacker, int damage, float[] point) { GameBase.gi.sound(self, Defines.CHAN_VOICE, sound_death, 1, @@ -532,6 +541,7 @@ public class M_Boss2 { }; static EntThinkAdapter Boss2_CheckAttack = new EntThinkAdapter() { + public String getID() { return "Boss2_CheckAttack"; } public boolean think(edict_t self) { float[] spot1 = { 0, 0, 0 }, spot2 = { 0, 0, 0 }; float[] temp = { 0, 0, 0 }; @@ -615,6 +625,7 @@ public class M_Boss2 { }; static EntThinkAdapter boss2_search = new EntThinkAdapter() { + public String getID() { return "boss2_search"; } public boolean think(edict_t self) { if (Lib.random() < 0.5) GameBase.gi.sound(self, Defines.CHAN_VOICE, sound_search1, 1, @@ -624,6 +635,7 @@ public class M_Boss2 { }; static EntThinkAdapter Boss2Rocket = new EntThinkAdapter() { + public String getID() { return "Boss2Rocket"; } public boolean think(edict_t self) { float[] forward = { 0, 0, 0 }, right = { 0, 0, 0 }; float[] start = { 0, 0, 0 }; @@ -680,6 +692,7 @@ public class M_Boss2 { }; static EntThinkAdapter boss2_firebullet_right = new EntThinkAdapter() { + public String getID() { return "boss2_firebullet_right"; } public boolean think(edict_t self) { float[] forward = { 0, 0, 0 }, right = { 0, 0, 0 }, target = { 0, 0, 0 }; @@ -708,6 +721,7 @@ public class M_Boss2 { }; static EntThinkAdapter boss2_firebullet_left = new EntThinkAdapter() { + public String getID() { return "boss2_firebullet_left"; } public boolean think(edict_t self) { float[] forward = { 0, 0, 0 }, right = { 0, 0, 0 }, target = { 0, 0, 0 }; @@ -737,6 +751,7 @@ public class M_Boss2 { }; static EntThinkAdapter Boss2MachineGun = new EntThinkAdapter() { + public String getID() { return "Boss2MachineGun"; } public boolean think(edict_t self) { /* * RST: this was disabled ! float[] forward={0,0,0}, right={0,0,0}; |