diff options
Diffstat (limited to 'src/jake2/game/M_Supertank.java')
-rw-r--r-- | src/jake2/game/M_Supertank.java | 540 |
1 files changed, 270 insertions, 270 deletions
diff --git a/src/jake2/game/M_Supertank.java b/src/jake2/game/M_Supertank.java index a70d8f2..1b8f030 100644 --- a/src/jake2/game/M_Supertank.java +++ b/src/jake2/game/M_Supertank.java @@ -19,14 +19,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 13.11.2003 by RST. -// $Id: M_Supertank.java,v 1.1 2004-07-07 19:59:19 hzi Exp $ +// $Id: M_Supertank.java,v 1.2 2004-07-08 15:58:44 hzi Exp $ package jake2.game; import jake2.util.*; import jake2.util.*; -public class M_Supertank extends GamePWeapon { +public class M_Supertank extends M_Player { // This file generated by ModelGen - Do NOT Modify @@ -319,66 +319,66 @@ public class M_Supertank extends GamePWeapon { static mframe_t supertank_frames_stand[] = new mframe_t[] { - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null), - new mframe_t(ai_stand, 0, null)}; + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null), + new mframe_t(GameAIAdapters.ai_stand, 0, null)}; static mmove_t supertank_move_stand = new mmove_t(FRAME_stand_1, FRAME_stand_60, supertank_frames_stand, null); static EntThinkAdapter supertank_stand = new EntThinkAdapter() { @@ -392,24 +392,24 @@ public class M_Supertank extends GamePWeapon { static mframe_t supertank_frames_run[] = new mframe_t[] { - new mframe_t(ai_run, 12, TreadSound), - new mframe_t(ai_run, 12, null), - new mframe_t(ai_run, 12, null), - new mframe_t(ai_run, 12, null), - new mframe_t(ai_run, 12, null), - new mframe_t(ai_run, 12, null), - new mframe_t(ai_run, 12, null), - new mframe_t(ai_run, 12, null), - new mframe_t(ai_run, 12, null), - new mframe_t(ai_run, 12, null), - new mframe_t(ai_run, 12, null), - new mframe_t(ai_run, 12, null), - new mframe_t(ai_run, 12, null), - new mframe_t(ai_run, 12, null), - new mframe_t(ai_run, 12, null), - new mframe_t(ai_run, 12, null), - new mframe_t(ai_run, 12, null), - new mframe_t(ai_run, 12, null)}; + new mframe_t(GameAIAdapters.ai_run, 12, TreadSound), + new mframe_t(GameAIAdapters.ai_run, 12, null), + new mframe_t(GameAIAdapters.ai_run, 12, null), + new mframe_t(GameAIAdapters.ai_run, 12, null), + new mframe_t(GameAIAdapters.ai_run, 12, null), + new mframe_t(GameAIAdapters.ai_run, 12, null), + new mframe_t(GameAIAdapters.ai_run, 12, null), + new mframe_t(GameAIAdapters.ai_run, 12, null), + new mframe_t(GameAIAdapters.ai_run, 12, null), + new mframe_t(GameAIAdapters.ai_run, 12, null), + new mframe_t(GameAIAdapters.ai_run, 12, null), + new mframe_t(GameAIAdapters.ai_run, 12, null), + new mframe_t(GameAIAdapters.ai_run, 12, null), + new mframe_t(GameAIAdapters.ai_run, 12, null), + new mframe_t(GameAIAdapters.ai_run, 12, null), + new mframe_t(GameAIAdapters.ai_run, 12, null), + new mframe_t(GameAIAdapters.ai_run, 12, null), + new mframe_t(GameAIAdapters.ai_run, 12, null)}; static mmove_t supertank_move_run = new mmove_t(FRAME_forwrd_1, FRAME_forwrd_18, supertank_frames_run, null); // @@ -418,24 +418,24 @@ public class M_Supertank extends GamePWeapon { static mframe_t supertank_frames_forward[] = new mframe_t[] { - new mframe_t(ai_walk, 4, TreadSound), - new mframe_t(ai_walk, 4, null), - new mframe_t(ai_walk, 4, null), - new mframe_t(ai_walk, 4, null), - new mframe_t(ai_walk, 4, null), - new mframe_t(ai_walk, 4, null), - new mframe_t(ai_walk, 4, null), - new mframe_t(ai_walk, 4, null), - new mframe_t(ai_walk, 4, null), - new mframe_t(ai_walk, 4, null), - new mframe_t(ai_walk, 4, null), - new mframe_t(ai_walk, 4, null), - new mframe_t(ai_walk, 4, null), - new mframe_t(ai_walk, 4, null), - new mframe_t(ai_walk, 4, null), - new mframe_t(ai_walk, 4, null), - new mframe_t(ai_walk, 4, null), - new mframe_t(ai_walk, 4, null)}; + new mframe_t(GameAIAdapters.ai_walk, 4, TreadSound), + new mframe_t(GameAIAdapters.ai_walk, 4, null), + new mframe_t(GameAIAdapters.ai_walk, 4, null), + new mframe_t(GameAIAdapters.ai_walk, 4, null), + new mframe_t(GameAIAdapters.ai_walk, 4, null), + new mframe_t(GameAIAdapters.ai_walk, 4, null), + new mframe_t(GameAIAdapters.ai_walk, 4, null), + new mframe_t(GameAIAdapters.ai_walk, 4, null), + new mframe_t(GameAIAdapters.ai_walk, 4, null), + new mframe_t(GameAIAdapters.ai_walk, 4, null), + new mframe_t(GameAIAdapters.ai_walk, 4, null), + new mframe_t(GameAIAdapters.ai_walk, 4, null), + new mframe_t(GameAIAdapters.ai_walk, 4, null), + new mframe_t(GameAIAdapters.ai_walk, 4, null), + new mframe_t(GameAIAdapters.ai_walk, 4, null), + new mframe_t(GameAIAdapters.ai_walk, 4, null), + new mframe_t(GameAIAdapters.ai_walk, 4, null), + new mframe_t(GameAIAdapters.ai_walk, 4, null)}; static mmove_t supertank_move_forward = new mmove_t(FRAME_forwrd_1, FRAME_forwrd_18, supertank_frames_forward, null); static EntThinkAdapter supertank_forward = new EntThinkAdapter() { @@ -565,192 +565,192 @@ public class M_Supertank extends GamePWeapon { static mframe_t supertank_frames_turn_right[] = new mframe_t[] { - new mframe_t(ai_move, 0, TreadSound), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null)}; + new mframe_t(GameAIAdapters.ai_move, 0, TreadSound), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null)}; static mmove_t supertank_move_turn_right = new mmove_t(FRAME_right_1, FRAME_right_18, supertank_frames_turn_right, supertank_run); static mframe_t supertank_frames_turn_left[] = new mframe_t[] { - new mframe_t(ai_move, 0, TreadSound), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null)}; + new mframe_t(GameAIAdapters.ai_move, 0, TreadSound), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null)}; static mmove_t supertank_move_turn_left = new mmove_t(FRAME_left_1, FRAME_left_18, supertank_frames_turn_left, supertank_run); static mframe_t supertank_frames_pain3[] = new mframe_t[] { - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null)}; + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null)}; static mmove_t supertank_move_pain3 = new mmove_t(FRAME_pain3_9, FRAME_pain3_12, supertank_frames_pain3, supertank_run); static mframe_t supertank_frames_pain2[] = new mframe_t[] { - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null)}; + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null)}; static mmove_t supertank_move_pain2 = new mmove_t(FRAME_pain2_5, FRAME_pain2_8, supertank_frames_pain2, supertank_run); static mframe_t supertank_frames_pain1[] = new mframe_t[] { - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null)}; + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null)}; static mmove_t supertank_move_pain1 = new mmove_t(FRAME_pain1_1, FRAME_pain1_4, supertank_frames_pain1, supertank_run); static mframe_t supertank_frames_death1[] = new mframe_t[] { - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, BossExplode)}; + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, GameAIAdapters.BossExplode)}; static mmove_t supertank_move_death = new mmove_t(FRAME_death_1, FRAME_death_24, supertank_frames_death1, supertank_dead); static mframe_t supertank_frames_backward[] = new mframe_t[] { - new mframe_t(ai_walk, 0, TreadSound), - new mframe_t(ai_walk, 0, null), - new mframe_t(ai_walk, 0, null), - new mframe_t(ai_walk, 0, null), - new mframe_t(ai_walk, 0, null), - new mframe_t(ai_walk, 0, null), - new mframe_t(ai_walk, 0, null), - new mframe_t(ai_walk, 0, null), - new mframe_t(ai_walk, 0, null), - new mframe_t(ai_walk, 0, null), - new mframe_t(ai_walk, 0, null), - new mframe_t(ai_walk, 0, null), - new mframe_t(ai_walk, 0, null), - new mframe_t(ai_walk, 0, null), - new mframe_t(ai_walk, 0, null), - new mframe_t(ai_walk, 0, null), - new mframe_t(ai_walk, 0, null), - new mframe_t(ai_walk, 0, null)}; + new mframe_t(GameAIAdapters.ai_walk, 0, TreadSound), + new mframe_t(GameAIAdapters.ai_walk, 0, null), + new mframe_t(GameAIAdapters.ai_walk, 0, null), + new mframe_t(GameAIAdapters.ai_walk, 0, null), + new mframe_t(GameAIAdapters.ai_walk, 0, null), + new mframe_t(GameAIAdapters.ai_walk, 0, null), + new mframe_t(GameAIAdapters.ai_walk, 0, null), + new mframe_t(GameAIAdapters.ai_walk, 0, null), + new mframe_t(GameAIAdapters.ai_walk, 0, null), + new mframe_t(GameAIAdapters.ai_walk, 0, null), + new mframe_t(GameAIAdapters.ai_walk, 0, null), + new mframe_t(GameAIAdapters.ai_walk, 0, null), + new mframe_t(GameAIAdapters.ai_walk, 0, null), + new mframe_t(GameAIAdapters.ai_walk, 0, null), + new mframe_t(GameAIAdapters.ai_walk, 0, null), + new mframe_t(GameAIAdapters.ai_walk, 0, null), + new mframe_t(GameAIAdapters.ai_walk, 0, null), + new mframe_t(GameAIAdapters.ai_walk, 0, null)}; static mmove_t supertank_move_backward = new mmove_t(FRAME_backwd_1, FRAME_backwd_18, supertank_frames_backward, null); static mframe_t supertank_frames_attack4[] = new mframe_t[] { - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null)}; + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null)}; static mmove_t supertank_move_attack4 = new mmove_t(FRAME_attak4_1, FRAME_attak4_6, supertank_frames_attack4, supertank_run); static mframe_t supertank_frames_attack3[] = new mframe_t[] { - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null)}; + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null)}; static mmove_t supertank_move_attack3 = new mmove_t(FRAME_attak3_1, FRAME_attak3_27, supertank_frames_attack3, supertank_run); static mframe_t supertank_frames_attack2[] = new mframe_t[] { - new mframe_t(ai_charge, 0, null), - new mframe_t(ai_charge, 0, null), - new mframe_t(ai_charge, 0, null), - new mframe_t(ai_charge, 0, null), - new mframe_t(ai_charge, 0, null), - new mframe_t(ai_charge, 0, null), - new mframe_t(ai_charge, 0, null), - new mframe_t(ai_charge, 0, supertankRocket), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, supertankRocket), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, supertankRocket), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null)}; + new mframe_t(GameAIAdapters.ai_charge, 0, null), + new mframe_t(GameAIAdapters.ai_charge, 0, null), + new mframe_t(GameAIAdapters.ai_charge, 0, null), + new mframe_t(GameAIAdapters.ai_charge, 0, null), + new mframe_t(GameAIAdapters.ai_charge, 0, null), + new mframe_t(GameAIAdapters.ai_charge, 0, null), + new mframe_t(GameAIAdapters.ai_charge, 0, null), + new mframe_t(GameAIAdapters.ai_charge, 0, supertankRocket), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, supertankRocket), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, supertankRocket), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null)}; static mmove_t supertank_move_attack2 = new mmove_t(FRAME_attak2_1, FRAME_attak2_27, supertank_frames_attack2, supertank_run); static EntThinkAdapter supertank_reattack1 = new EntThinkAdapter() { @@ -770,31 +770,31 @@ public class M_Supertank extends GamePWeapon { static mframe_t supertank_frames_attack1[] = new mframe_t[] { - new mframe_t(ai_charge, 0, supertankMachineGun), - new mframe_t(ai_charge, 0, supertankMachineGun), - new mframe_t(ai_charge, 0, supertankMachineGun), - new mframe_t(ai_charge, 0, supertankMachineGun), - new mframe_t(ai_charge, 0, supertankMachineGun), - new mframe_t(ai_charge, 0, supertankMachineGun), + new mframe_t(GameAIAdapters.ai_charge, 0, supertankMachineGun), + new mframe_t(GameAIAdapters.ai_charge, 0, supertankMachineGun), + new mframe_t(GameAIAdapters.ai_charge, 0, supertankMachineGun), + new mframe_t(GameAIAdapters.ai_charge, 0, supertankMachineGun), + new mframe_t(GameAIAdapters.ai_charge, 0, supertankMachineGun), + new mframe_t(GameAIAdapters.ai_charge, 0, supertankMachineGun), }; static mmove_t supertank_move_attack1 = new mmove_t(FRAME_attak1_1, FRAME_attak1_6, supertank_frames_attack1, supertank_reattack1); static mframe_t supertank_frames_end_attack1[] = new mframe_t[] { - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null), - new mframe_t(ai_move, 0, null)}; + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null), + new mframe_t(GameAIAdapters.ai_move, 0, null)}; static mmove_t supertank_move_end_attack1 = new mmove_t(FRAME_attak1_7, FRAME_attak1_20, supertank_frames_end_attack1, supertank_run); @@ -840,7 +840,7 @@ public class M_Supertank extends GamePWeapon { float[] org={0,0,0}; int n; - self.think = BossExplode; + self.think = GameAIAdapters.BossExplode; Math3D.VectorCopy(self.s.origin, org); org[2] += 24 + (Lib.rand() & 15); switch (self.count++) { @@ -955,7 +955,7 @@ public class M_Supertank extends GamePWeapon { self.monsterinfo.currentmove = supertank_move_stand; self.monsterinfo.scale = MODEL_SCALE; - walkmonster_start.think(self); + GameAIAdapters.walkmonster_start.think(self); return true; } }; |