diff options
author | Rene Stoeckel <[email protected]> | 2004-09-10 19:02:57 +0000 |
---|---|---|
committer | Rene Stoeckel <[email protected]> | 2004-09-10 19:02:57 +0000 |
commit | 6f76cc5ea1a24c918ceb82136328ae4fb8c526a4 (patch) | |
tree | 55225675ba3967ddb4deee9e7982eab17fb59e39 /src/jake2/game | |
parent | 3716116d5b04c5ec6fd51e21953f572a5373e918 (diff) |
did some cource cleanups
Diffstat (limited to 'src/jake2/game')
-rw-r--r-- | src/jake2/game/BigEndianHandler.java | 74 | ||||
-rw-r--r-- | src/jake2/game/Fire.java | 3 | ||||
-rw-r--r-- | src/jake2/game/GameAI.java | 3 | ||||
-rw-r--r-- | src/jake2/game/GameAIAdapters.java | 15 | ||||
-rw-r--r-- | src/jake2/game/GameBase.java | 25 | ||||
-rw-r--r-- | src/jake2/game/GameFunc.java | 3 | ||||
-rw-r--r-- | src/jake2/game/GameMisc.java | 5 | ||||
-rw-r--r-- | src/jake2/game/GamePWeapon.java | 19 | ||||
-rw-r--r-- | src/jake2/game/GameSave.java | 21 | ||||
-rw-r--r-- | src/jake2/game/GameSpawn.java | 97 | ||||
-rw-r--r-- | src/jake2/game/GameTargetAdapters.java | 4 | ||||
-rw-r--r-- | src/jake2/game/GameUtilAdapters.java | 22 | ||||
-rw-r--r-- | src/jake2/game/Info.java | 6 | ||||
-rw-r--r-- | src/jake2/game/LittleEndianHandler.java | 56 | ||||
-rw-r--r-- | src/jake2/game/M_SoldierAdapters.java | 7 | ||||
-rw-r--r-- | src/jake2/game/client_persistant_t.java | 144 | ||||
-rw-r--r-- | src/jake2/game/client_respawn_t.java | 14 | ||||
-rw-r--r-- | src/jake2/game/field_t.java | 45 | ||||
-rw-r--r-- | src/jake2/game/game_locals_t.java | 19 | ||||
-rw-r--r-- | src/jake2/game/gclient_t.java | 88 |
20 files changed, 91 insertions, 579 deletions
diff --git a/src/jake2/game/BigEndianHandler.java b/src/jake2/game/BigEndianHandler.java deleted file mode 100644 index c9e2830..0000000 --- a/src/jake2/game/BigEndianHandler.java +++ /dev/null @@ -1,74 +0,0 @@ -/* -Copyright (C) 1997-2001 Id Software, Inc. - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -*/ - -/* - * $Id: BigEndianHandler.java,v 1.2 2004-07-08 15:58:44 hzi Exp $ - */ -package jake2.game; - - -/** - * BigEndianHandler - */ -public final class BigEndianHandler extends EndianHandler { - - /* (non-Javadoc) - * @see quake2.EndianHandler#BigFloat(float) - */ - public float BigFloat(float f) { - return f; - } - - /* (non-Javadoc) - * @see quake2.EndianHandler#BigShort(short) - */ - public short BigShort(short s) { - return s; - } - - /* (non-Javadoc) - * @see quake2.EndianHandler#BigLong(int) - */ - public int BigLong(int i) { - return i; - } - - /* (non-Javadoc) - * @see quake2.EndianHandler#LittleFloat(float) - */ - public float LittleFloat(float f) { - return swapFloat(f); - } - - /* (non-Javadoc) - * @see quake2.EndianHandler#LittleShort(short) - */ - public short LittleShort(short s) { - return swapShort(s); - } - - /* (non-Javadoc) - * @see quake2.EndianHandler#LittleLong(int) - */ - public int LittleLong(int i) { - return swapInt(i); - } - -} diff --git a/src/jake2/game/Fire.java b/src/jake2/game/Fire.java index 2c79b3a..73a6f18 100644 --- a/src/jake2/game/Fire.java +++ b/src/jake2/game/Fire.java @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 04.12.2003 by RST. -// $Id: Fire.java,v 1.2 2004-07-08 15:58:43 hzi Exp $ +// $Id: Fire.java,v 1.3 2004-09-10 19:02:53 salomo Exp $ package jake2.game; @@ -310,6 +310,7 @@ public class Fire for (i = 0; i < count; i++) fire_lead(self, start, aimdir, damage, kick, Defines.TE_SHOTGUN, hspread, vspread, mod); } + public static void fire_blaster(edict_t self, float[] start, float[] dir, int damage, int speed, int effect, boolean hyper) { edict_t bolt; diff --git a/src/jake2/game/GameAI.java b/src/jake2/game/GameAI.java index fa2cdbd..d4ff055 100644 --- a/src/jake2/game/GameAI.java +++ b/src/jake2/game/GameAI.java @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 02.11.2003 by RST. -// $Id: GameAI.java,v 1.3 2004-08-28 16:40:12 cawe Exp $ +// $Id: GameAI.java,v 1.4 2004-09-10 19:02:55 salomo Exp $ package jake2.game; @@ -1668,7 +1668,6 @@ public class GameAI extends M_Flash public static void InitItems() { - //game.num_items = sizeof(itemlist)/sizeof(itemlist[0]) - 1; game.num_items = GameAI.itemlist.length - 1; } diff --git a/src/jake2/game/GameAIAdapters.java b/src/jake2/game/GameAIAdapters.java index e344318..93f0a4d 100644 --- a/src/jake2/game/GameAIAdapters.java +++ b/src/jake2/game/GameAIAdapters.java @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 26.02.2004 by RST. -// $Id: GameAIAdapters.java,v 1.3 2004-08-22 15:46:19 salomo Exp $ +// $Id: GameAIAdapters.java,v 1.4 2004-09-10 19:02:53 salomo Exp $ package jake2.game; @@ -166,13 +166,10 @@ public class GameAIAdapters { }; public static EntThinkAdapter swimmonster_start= new EntThinkAdapter() { public boolean think(edict_t self) { - - { - self.flags |= Defines.FL_SWIM; - self.think= swimmonster_start_go; - Monster.monster_start(self); - return true; - } + self.flags |= Defines.FL_SWIM; + self.think= swimmonster_start_go; + Monster.monster_start(self); + return true; } }; /* @@ -379,7 +376,7 @@ public class GameAIAdapters { if ((self.monsterinfo.search_time != 0) && (GameBase.level.time > (self.monsterinfo.search_time + 20))) { M.M_MoveToGoal(self, dist); self.monsterinfo.search_time= 0; - // dprint("search timeout\n"); + //dprint("search timeout\n"); return; } diff --git a/src/jake2/game/GameBase.java b/src/jake2/game/GameBase.java index 323f6c8..f71ba76 100644 --- a/src/jake2/game/GameBase.java +++ b/src/jake2/game/GameBase.java @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 30.11.2003 by RST. -// $Id: GameBase.java,v 1.6 2004-08-29 21:39:24 hzi Exp $ +// $Id: GameBase.java,v 1.7 2004-09-10 19:02:54 salomo Exp $ /** Father of all GameObjects. */ @@ -688,28 +688,5 @@ public class GameBase extends Globals { return SV_WORLD.SV_PointContents(o); } }; - - //globals.apiversion= GAME_API_VERSION; - /* - globals.Init = InitGame; - globals.Shutdown = ShutdownGame; - globals.SpawnEntities = SpawnEntities; - - globals.WriteGame = WriteGame; - globals.ReadGame = ReadGame; - globals.WriteLevel = WriteLevel; - globals.ReadLevel = ReadLevel; - - globals.ClientThink = ClientThink; - globals.ClientConnect = ClientConnect; - globals.ClientUserinfoChanged = ClientUserinfoChanged; - globals.ClientDisconnect = ClientDisconnect; - globals.ClientBegin = ClientBegin; - globals.ClientCommand = ClientCommand; - globals.RunFrame = G_RunFrame; - globals.ServerCommand = ServerCommand; - */ - - //return globals; } }
\ No newline at end of file diff --git a/src/jake2/game/GameFunc.java b/src/jake2/game/GameFunc.java index 091056f..cf24377 100644 --- a/src/jake2/game/GameFunc.java +++ b/src/jake2/game/GameFunc.java @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 18.11.2003 by RST. -// $Id: GameFunc.java,v 1.3 2004-07-09 06:50:49 hzi Exp $ +// $Id: GameFunc.java,v 1.4 2004-09-10 19:02:53 salomo Exp $ package jake2.game; @@ -374,7 +374,6 @@ public class GameFunc extends PlayerView t = edit.o; if (Lib.Q_stricmp(t.classname, "func_areaportal") == 0) { - //Com.p("Setting portalstate to:" + open); gi.SetAreaPortalState(t.style, open); } } diff --git a/src/jake2/game/GameMisc.java b/src/jake2/game/GameMisc.java index dbad217..1d4f4e8 100644 --- a/src/jake2/game/GameMisc.java +++ b/src/jake2/game/GameMisc.java @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 27.12.2003 by RST. -// $Id: GameMisc.java,v 1.2 2004-07-08 15:58:44 hzi Exp $ +// $Id: GameMisc.java,v 1.3 2004-09-10 19:02:54 salomo Exp $ package jake2.game; @@ -132,7 +132,7 @@ public class GameMisc extends GameTrigger // it must be TRIGGER_SPAWN if (0 == (self.spawnflags & 1)) { - // gi.dprintf("func_wall missing TRIGGER_SPAWN\n"); + gi.dprintf("func_wall missing TRIGGER_SPAWN\n"); self.spawnflags |= 1; } @@ -686,7 +686,6 @@ public class GameMisc extends GameTrigger func_clock_reset(self); - //self.message = gi.TagMalloc(CLOCK_MESSAGE_SIZE, TAG_LEVEL); self.message = new String(); self.think = GameMiscAdapters.func_clock_think; diff --git a/src/jake2/game/GamePWeapon.java b/src/jake2/game/GamePWeapon.java index e8247c4..cd915e8 100644 --- a/src/jake2/game/GamePWeapon.java +++ b/src/jake2/game/GamePWeapon.java @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 16.11.2003 by RST. -// $Id: GamePWeapon.java,v 1.2 2004-07-08 15:58:44 hzi Exp $ +// $Id: GamePWeapon.java,v 1.3 2004-09-10 19:02:55 salomo Exp $ package jake2.game; @@ -165,7 +165,6 @@ public class GamePWeapon { Fire.fire_grenade(ent, start, forward, damage, 600, 2.5f, radius); GameBase.gi.WriteByte(Defines.svc_muzzleflash); - //gi.WriteShort(ent - g_edicts); GameBase.gi.WriteShort(ent.index); GameBase.gi.WriteByte(Defines.MZ_GRENADE | GamePWeapon.is_silenced); GameBase.gi.multicast(ent.s.origin, Defines.MULTICAST_PVS); @@ -236,7 +235,7 @@ public class GamePWeapon { // send muzzle flash GameBase.gi.WriteByte(Defines.svc_muzzleflash); - //gi.WriteShort(ent - g_edicts); + GameBase.gi.WriteShort(ent.index); GameBase.gi.WriteByte(Defines.MZ_ROCKET | GamePWeapon.is_silenced); GameBase.gi.multicast(ent.s.origin, Defines.MULTICAST_PVS); @@ -455,7 +454,7 @@ public class GamePWeapon { // send muzzle flash GameBase.gi.WriteByte(Defines.svc_muzzleflash); - //gi.WriteShort(ent - g_edicts); + GameBase.gi.WriteShort(ent.index); GameBase.gi.WriteByte(Defines.MZ_SHOTGUN | GamePWeapon.is_silenced); GameBase.gi.multicast(ent.s.origin, Defines.MULTICAST_PVS); @@ -531,7 +530,7 @@ public class GamePWeapon { // send muzzle flash GameBase.gi.WriteByte(Defines.svc_muzzleflash); - //gi.WriteShort(ent - g_edicts); + GameBase.gi.WriteShort(ent.index); GameBase.gi.WriteByte(Defines.MZ_SSHOTGUN | GamePWeapon.is_silenced); GameBase.gi.multicast(ent.s.origin, Defines.MULTICAST_PVS); @@ -596,7 +595,7 @@ public class GamePWeapon { // send muzzle flash GameBase.gi.WriteByte(Defines.svc_muzzleflash); - //gi.WriteShort(ent - g_edicts); + GameBase.gi.WriteShort(ent.index); GameBase.gi.WriteByte(Defines.MZ_RAILGUN | GamePWeapon.is_silenced); GameBase.gi.multicast(ent.s.origin, Defines.MULTICAST_PVS); @@ -645,7 +644,7 @@ public class GamePWeapon { if (ent.client.ps.gunframe == 9) { // send muzzle flash GameBase.gi.WriteByte(Defines.svc_muzzleflash); - //gi.WriteShort(ent - g_edicts); + GameBase.gi.WriteShort(ent.index); GameBase.gi.WriteByte(Defines.MZ_BFG | GamePWeapon.is_silenced); GameBase.gi.multicast(ent.s.origin, Defines.MULTICAST_PVS); @@ -881,7 +880,7 @@ public class GamePWeapon { Defines.MOD_MACHINEGUN); GameBase.gi.WriteByte(Defines.svc_muzzleflash); - //gi.WriteShort(ent - g_edicts); + GameBase.gi.WriteShort(ent.index); GameBase.gi.WriteByte(Defines.MZ_MACHINEGUN | is_silenced); GameBase.gi.multicast(ent.s.origin, Defines.MULTICAST_PVS); @@ -1005,7 +1004,7 @@ public class GamePWeapon { // send muzzle flash GameBase.gi.WriteByte(Defines.svc_muzzleflash); - //gi.WriteShort(ent - g_edicts); + GameBase.gi.WriteShort(ent.index); GameBase.gi.WriteByte((Defines.MZ_CHAINGUN1 + shots - 1) | is_silenced); GameBase.gi.multicast(ent.s.origin, Defines.MULTICAST_PVS); @@ -1065,7 +1064,6 @@ public class GamePWeapon { i= ((ent.client.pers.weapon.weapmodel & 0xff) << 8); else i= 0; - //ent.s.skinnum = (ent - g_edicts - 1) | i; ent.s.skinnum= (ent.index - 1) | i; } @@ -1393,7 +1391,6 @@ public class GamePWeapon { // send muzzle flash GameBase.gi.WriteByte(Defines.svc_muzzleflash); - //gi.WriteShort(ent - g_edicts); GameBase.gi.WriteShort(ent.index); if (hyper) GameBase.gi.WriteByte(Defines.MZ_HYPERBLASTER | is_silenced); diff --git a/src/jake2/game/GameSave.java b/src/jake2/game/GameSave.java index b89ac21..25b102b 100644 --- a/src/jake2/game/GameSave.java +++ b/src/jake2/game/GameSave.java @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 29.12.2003 by RST. -// $Id: GameSave.java,v 1.5 2004-09-04 19:08:30 salomo Exp $ +// $Id: GameSave.java,v 1.6 2004-09-10 19:02:54 salomo Exp $ package jake2.game; @@ -28,22 +28,6 @@ import jake2.util.QuakeFile; public class GameSave extends GameFunc { - public static field_t levelfields[]= - { - new field_t("changemap", F_LSTRING), - new field_t("sight_client", F_EDICT), - new field_t("sight_entity", F_EDICT), - new field_t("sound_entity", F_EDICT), - new field_t("sound2_entity", F_EDICT), - new field_t(null, F_INT)}; - - public static field_t clientfields[]= - { - new field_t("pers.weapon", F_ITEM), - new field_t("pers.lastweapon", F_ITEM), - new field_t("newweapon", F_ITEM), - new field_t(null, F_INT)}; - public static void CreateEdicts() { g_edicts= new edict_t[game.maxentities]; for (int i= 0; i < game.maxentities; i++) @@ -130,9 +114,6 @@ public class GameSave extends GameFunc { game.maxentities= (int) maxentities.value; CreateEdicts(); -// globals.edicts= g_edicts; -// globals.max_edicts= game.maxentities; - // initialize all clients for this game game.maxclients= (int) maxclients.value; diff --git a/src/jake2/game/GameSpawn.java b/src/jake2/game/GameSpawn.java index 233cbff..2701fae 100644 --- a/src/jake2/game/GameSpawn.java +++ b/src/jake2/game/GameSpawn.java @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 18.11.2003 by RST. -// $Id: GameSpawn.java,v 1.7 2004-09-04 19:08:30 salomo Exp $ +// $Id: GameSpawn.java,v 1.8 2004-09-10 19:02:54 salomo Exp $ package jake2.game; @@ -27,99 +27,7 @@ import jake2.qcommon.Com; import jake2.util.Lib; public class GameSpawn extends GameSave { - -// static EntThinkAdapter SP_func_killbox = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// -// static EntThinkAdapter SP_trigger_always = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_trigger_once = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_trigger_multiple = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_trigger_relay = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_trigger_push = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_trigger_hurt = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_trigger_key = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_trigger_counter = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_trigger_elevator = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_trigger_gravity = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_trigger_monsterjump = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// -// static EntThinkAdapter SP_target_temp_entity = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_target_speaker = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_target_explosion = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_target_changelevel = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_target_secret = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_target_goal = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_target_splash = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_target_spawner = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_target_blaster = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_target_crosslevel_trigger = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_target_crosslevel_target = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_target_laser = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_target_help = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_target_actor = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_target_lightramp = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_target_earthquake = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_target_character = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_target_string = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// -// //static EntThinkAdapter SP_worldspawn = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_viewthing = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// -// static EntThinkAdapter SP_light = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_light_mine1 = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_light_mine2 = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_info_null = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_info_notnull = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_path_corner = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_point_combat = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// -// static EntThinkAdapter SP_misc_explobox = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_misc_banner = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_misc_satellite_dish = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_misc_actor = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_misc_gib_arm = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_misc_gib_leg = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_misc_gib_head = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_misc_insane = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_misc_deadsoldier = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_misc_viper = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_misc_viper_bomb = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_misc_bigviper = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_misc_strogg_ship = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_misc_teleporter = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_misc_teleporter_dest = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_misc_blackhole = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_misc_eastertank = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_misc_easterchick = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_misc_easterchick2 = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// -// static EntThinkAdapter SP_monster_berserk = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_monster_gladiator = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_monster_gunner = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_monster_infantry = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_monster_soldier_light = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_monster_soldier = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_monster_soldier_ss = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_monster_tank = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_monster_medic = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_monster_flipper = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_monster_chick = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_monster_parasite = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_monster_flyer = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_monster_brain = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_monster_floater = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_monster_hover = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_monster_mutant = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_monster_supertank = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_monster_boss2 = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_monster_jorg = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_monster_boss3_stand = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// -// static EntThinkAdapter SP_monster_commander_body = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// -// static EntThinkAdapter SP_turret_breach = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_turret_base = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; -// static EntThinkAdapter SP_turret_driver = new EntThinkAdapter() {public boolean think(edict_t ent){ return true;}}; - + /* ============= ED_NewString @@ -155,7 +63,6 @@ public class GameSpawn extends GameSave { =============== */ static void ED_ParseField(String key, String value, edict_t ent) { - field_t f1; byte b; float v; float[] vec = { 0, 0, 0 }; diff --git a/src/jake2/game/GameTargetAdapters.java b/src/jake2/game/GameTargetAdapters.java index 19a48c9..5833c52 100644 --- a/src/jake2/game/GameTargetAdapters.java +++ b/src/jake2/game/GameTargetAdapters.java @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 26.02.2004 by RST. -// $Id: GameTargetAdapters.java,v 1.3 2004-08-29 21:39:24 hzi Exp $ +// $Id: GameTargetAdapters.java,v 1.4 2004-09-10 19:02:53 salomo Exp $ package jake2.game; @@ -87,10 +87,8 @@ public class GameTargetAdapters { public void use(edict_t ent, edict_t other, edict_t activator) { if ((ent.spawnflags & 1) != 0) - //strncpy(game.helpmessage1, ent.message, sizeof(game.helpmessage2) - 1); GameBase.game.helpmessage1 = ent.message; else - //strncpy(game.helpmessage2, ent.message, sizeof(game.helpmessage1) - 1); GameBase.game.helpmessage2 = ent.message; GameBase.game.helpchanged++; diff --git a/src/jake2/game/GameUtilAdapters.java b/src/jake2/game/GameUtilAdapters.java index 7b312d6..0cf439b 100644 --- a/src/jake2/game/GameUtilAdapters.java +++ b/src/jake2/game/GameUtilAdapters.java @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 26.02.2004 by RST. -// $Id: GameUtilAdapters.java,v 1.3 2004-09-08 20:19:12 cawe Exp $ +// $Id: GameUtilAdapters.java,v 1.4 2004-09-10 19:02:54 salomo Exp $ package jake2.game; @@ -66,6 +66,7 @@ public class GameUtilAdapters return false; } }; + static EntThinkAdapter DoRespawn = new EntThinkAdapter() { public boolean think(edict_t ent) @@ -428,25 +429,6 @@ public class GameUtilAdapters GameBase.gi.sound(ent, Defines.CHAN_ITEM, GameBase.gi.soundindex("items/damage.wav"), 1, Defines.ATTN_NORM, 0); } }; - // ====================================================================== - /* - static ItemUseAdapter Use_Invulnerability = new ItemUseAdapter() - { - public void use(edict_t ent, gitem_t item) - { - - ent.client.pers.inventory[ITEM_INDEX(item)]--; - ValidateSelectedItem(ent); - - if (ent.client.invincible_framenum > level.framenum) - ent.client.invincible_framenum += 300; - else - ent.client.invincible_framenum = level.framenum + 300; - - gi.sound(ent, CHAN_ITEM, gi.soundindex("items/protect.wav"), 1, ATTN_NORM, 0); - } - }; - */ // ====================================================================== diff --git a/src/jake2/game/Info.java b/src/jake2/game/Info.java index b81322c..b13b065 100644 --- a/src/jake2/game/Info.java +++ b/src/jake2/game/Info.java @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 27.12.2003 by RST. -// $Id: Info.java,v 1.2 2004-07-08 15:58:44 hzi Exp $ +// $Id: Info.java,v 1.3 2004-09-10 19:02:54 salomo Exp $ package jake2.game; @@ -54,7 +54,7 @@ public class Info extends PlayerView { return ""; } - /** DANGEROUS, returns the modified userinfo string, was pointer-pointer manipulation first*/ + /**TODO RST: DANGEROUS port, returns the modified userinfo string, was pointer-pointer manipulation first*/ public static String Info_SetValueForKey1(String s, String key, String value) { if (value == null || value.length() == 0) @@ -96,7 +96,7 @@ public class Info extends PlayerView { - /** DANGEROUS, returns now the modified userinfo string.*/ + /** TODO RST: DANGEROUS port, returns now the modified userinfo string.*/ public static String Info_RemoveKey1(String s, String key) { StringBuffer sb = new StringBuffer(512); diff --git a/src/jake2/game/LittleEndianHandler.java b/src/jake2/game/LittleEndianHandler.java deleted file mode 100644 index 932a84b..0000000 --- a/src/jake2/game/LittleEndianHandler.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * LittleEndianHandler.java - * Copyright (C) 2003 - * - * $Id: LittleEndianHandler.java,v 1.1 2004-07-07 19:59:07 hzi Exp $ - */ -package jake2.game; - -/** - * LittleEndianHandler</code> - */ -public final class LittleEndianHandler extends EndianHandler { - - /* (non-Javadoc) - * @see quake2.EndianHandler#BigFloat(float) - */ - public float BigFloat(float f) { - return swapFloat(f); - } - - /* (non-Javadoc) - * @see quake2.EndianHandler#BigShort(short) - */ - public short BigShort(short s) { - return swapShort(s); - } - - /* (non-Javadoc) - * @see quake2.EndianHandler#BigLong(int) - */ - public int BigLong(int i) { - return swapInt(i); - } - - /* (non-Javadoc) - * @see quake2.EndianHandler#LittleFloat(float) - */ - public float LittleFloat(float f) { - return f; - } - - /* (non-Javadoc) - * @see quake2.EndianHandler#LittleShort(short) - */ - public short LittleShort(short s) { - return s; - } - - /* (non-Javadoc) - * @see quake2.EndianHandler#LittleLong(int) - */ - public int LittleLong(int i) { - return i; - } - -} diff --git a/src/jake2/game/M_SoldierAdapters.java b/src/jake2/game/M_SoldierAdapters.java index eab1171..31c89ff 100644 --- a/src/jake2/game/M_SoldierAdapters.java +++ b/src/jake2/game/M_SoldierAdapters.java @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 26.02.2004 by RST. -// $Id: M_SoldierAdapters.java,v 1.1 2004-07-08 15:58:44 hzi Exp $ +// $Id: M_SoldierAdapters.java,v 1.2 2004-09-10 19:02:54 salomo Exp $ package jake2.game; @@ -627,8 +627,9 @@ public class M_SoldierAdapters } }; - /*QUAKED monster_soldier_ss (1 .5 0) (-16 -16 -24) (16 16 32) Ambush Trigger_Spawn Sight - */ + /** + * QUAKED monster_soldier_ss (1 .5 0) (-16 -16 -24) (16 16 32) Ambush Trigger_Spawn Sight + */ static EntThinkAdapter SP_monster_soldier_ss = new EntThinkAdapter() { public boolean think(edict_t self) diff --git a/src/jake2/game/client_persistant_t.java b/src/jake2/game/client_persistant_t.java index 126d5d5..8421a35 100644 --- a/src/jake2/game/client_persistant_t.java +++ b/src/jake2/game/client_persistant_t.java @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 31.10.2003 by RST. -// $Id: client_persistant_t.java,v 1.5 2004-08-20 21:29:58 salomo Exp $ +// $Id: client_persistant_t.java,v 1.6 2004-09-10 19:02:55 salomo Exp $ package jake2.game; @@ -32,36 +32,36 @@ import java.io.RandomAccessFile; import java.nio.ByteBuffer; public class client_persistant_t { - - public void set(client_persistant_t from) - { - userinfo = from.userinfo; - netname = from.netname; - hand = from.hand; - connected = from.connected; - health = from.health; - max_health = from.max_health; - savedFlags = from.savedFlags; - selected_item = from.selected_item; + + public void set(client_persistant_t from) { + + userinfo= from.userinfo; + netname= from.netname; + hand= from.hand; + connected= from.connected; + health= from.health; + max_health= from.max_health; + savedFlags= from.savedFlags; + selected_item= from.selected_item; System.arraycopy(from.inventory, 0, inventory, 0, inventory.length); - max_bullets = from.max_bullets; - max_shells = from.max_shells; - max_rockets = from.max_rockets; - max_grenades = from.max_grenades; - max_cells = from.max_cells; - max_slugs = from.max_slugs; - weapon = from.weapon; - lastweapon = from.lastweapon; - power_cubes = from.power_cubes; - score = from.score; - game_helpchanged = from.game_helpchanged; - helpchanged = from.helpchanged; - spectator = from.spectator; + max_bullets= from.max_bullets; + max_shells= from.max_shells; + max_rockets= from.max_rockets; + max_grenades= from.max_grenades; + max_cells= from.max_cells; + max_slugs= from.max_slugs; + weapon= from.weapon; + lastweapon= from.lastweapon; + power_cubes= from.power_cubes; + score= from.score; + game_helpchanged= from.game_helpchanged; + helpchanged= from.helpchanged; + spectator= from.spectator; } // client data that stays across multiple level loads - String userinfo = ""; - String netname = ""; + String userinfo= ""; + String netname= ""; int hand; boolean connected; // a loadgame will leave valid entities that @@ -73,7 +73,7 @@ public class client_persistant_t { int savedFlags; int selected_item; - int inventory[] = new int[Defines.MAX_ITEMS]; + int inventory[]= new int[Defines.MAX_ITEMS]; // ammo capacities int max_bullets; @@ -92,40 +92,39 @@ public class client_persistant_t { int helpchanged; boolean spectator; // client is a spectator - /** Reads a client_persistant structure from a file. */ public void read(QuakeFile f) throws IOException { - userinfo = f.readString(); - netname = f.readString(); + userinfo= f.readString(); + netname= f.readString(); - hand = f.readInt(); + hand= f.readInt(); - connected = f.readInt() != 0; - health = f.readInt(); + connected= f.readInt() != 0; + health= f.readInt(); - max_health = f.readInt(); - savedFlags = f.readInt(); - selected_item = f.readInt(); + max_health= f.readInt(); + savedFlags= f.readInt(); + selected_item= f.readInt(); - for (int n = 0; n < Defines.MAX_ITEMS; n++) - inventory[n] = f.readInt(); + for (int n= 0; n < Defines.MAX_ITEMS; n++) + inventory[n]= f.readInt(); - max_bullets = f.readInt(); - max_shells = f.readInt(); - max_rockets = f.readInt(); - max_grenades = f.readInt(); - max_cells = f.readInt(); - max_slugs = f.readInt(); + max_bullets= f.readInt(); + max_shells= f.readInt(); + max_rockets= f.readInt(); + max_grenades= f.readInt(); + max_cells= f.readInt(); + max_slugs= f.readInt(); - weapon = f.readItem(); - lastweapon = f.readItem(); - power_cubes = f.readInt(); - score = f.readInt(); + weapon= f.readItem(); + lastweapon= f.readItem(); + power_cubes= f.readInt(); + score= f.readInt(); - game_helpchanged = f.readInt(); - helpchanged = f.readInt(); - spectator = f.readInt() != 0; + game_helpchanged= f.readInt(); + helpchanged= f.readInt(); + spectator= f.readInt() != 0; } /** Writes a client_persistant structure to a file. */ @@ -136,14 +135,14 @@ public class client_persistant_t { f.writeInt(hand); - f.writeInt(connected ? 1:0); + f.writeInt(connected ? 1 : 0); f.writeInt(health); f.writeInt(max_health); f.writeInt(savedFlags); f.writeInt(selected_item); - for (int n = 0; n < Defines.MAX_ITEMS; n++) + for (int n= 0; n < Defines.MAX_ITEMS; n++) f.writeInt(inventory[n]); f.writeInt(max_bullets); @@ -160,41 +159,6 @@ public class client_persistant_t { f.writeInt(game_helpchanged); f.writeInt(helpchanged); - f.writeInt(spectator?1:0); - } - - - public void dump() { - // client persistant_t - - System.out.println("userinfo: " + userinfo); - System.out.println("netname: " + netname); - - System.out.println("hand: " + hand); - - System.out.println("connected: " + connected); - System.out.println("health: " + health); - - System.out.println("max_health: " + max_health); - System.out.println("savedFlags: " + savedFlags); - System.out.println("selected_item: " + selected_item); - - for (int n = 0; n < Defines.MAX_ITEMS; n++) - System.out.println("inventory[" + n + "]: " + inventory[n]); - - System.out.println("max_bullets: " + max_bullets); - System.out.println("max_shells: " + max_shells); - System.out.println("max_rockets: " + max_rockets); - System.out.println("max_grenades: " + max_grenades); - System.out.println("max_cells: " + max_cells); - System.out.println("max_slugs: " + max_slugs); - System.out.println("weapon: " + weapon); - System.out.println("lastweapon: " + lastweapon); - System.out.println("powercubes: " + power_cubes); - System.out.println("score: " + score); - - System.out.println("gamehelpchanged: " + game_helpchanged); - System.out.println("helpchanged: " + helpchanged); - System.out.println("spectator: " + spectator); + f.writeInt(spectator ? 1 : 0); } }
\ No newline at end of file diff --git a/src/jake2/game/client_respawn_t.java b/src/jake2/game/client_respawn_t.java index 26e69a2..e9c11de 100644 --- a/src/jake2/game/client_respawn_t.java +++ b/src/jake2/game/client_respawn_t.java @@ -18,7 +18,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 31.10.2003 by RST. -// $Id: client_respawn_t.java,v 1.5 2004-08-20 21:29:57 salomo Exp $ +// $Id: client_respawn_t.java,v 1.6 2004-09-10 19:02:54 salomo Exp $ package jake2.game; @@ -94,16 +94,4 @@ public class client_respawn_t f.writeFloat(cmd_angles[2]); f.writeInt(spectator?1:0); } - - - - /** Prints out a client_respawn_t to the quake console.*/ - public void dump() - { - coop_respawn.dump(); - Com.Println("enterframe: " + enterframe); - Com.Println("score: " + score); - Lib.printv("cmd_angles", cmd_angles); - Com.Println("spectator: " + spectator); - } } diff --git a/src/jake2/game/field_t.java b/src/jake2/game/field_t.java deleted file mode 100644 index ecdf156..0000000 --- a/src/jake2/game/field_t.java +++ /dev/null @@ -1,45 +0,0 @@ -/* -Copyright (C) 1997-2001 Id Software, Inc. - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -*/ -// Created on 20.11.2003 by RST -// $Id: field_t.java,v 1.2 2004-07-08 15:58:44 hzi Exp $ - -package jake2.game; - -public class field_t -{ - public field_t(String name, int type, int flags) - { - this.name = name; - this.type = type; - this.flags = flags; - } - - public field_t(String name, int type) - { - - this.name = name; - this.type = type; - flags = 0; - } - - public String name; - public int type; - public int flags; -} diff --git a/src/jake2/game/game_locals_t.java b/src/jake2/game/game_locals_t.java index cf9718a..679bbd2 100644 --- a/src/jake2/game/game_locals_t.java +++ b/src/jake2/game/game_locals_t.java @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 31.10.2003 by RST. -// $Id: game_locals_t.java,v 1.5 2004-09-04 19:08:29 salomo Exp $ +// $Id: game_locals_t.java,v 1.6 2004-09-10 19:02:54 salomo Exp $ package jake2.game; @@ -107,21 +107,4 @@ public class game_locals_t extends Defines // rst's checker :-) f.writeInt(1928); } - - /** Prints the game locals.*/ - public void dump() - { - Com.Println("String helpmessage1: " + helpmessage1); - Com.Println("String helpmessage2: " + helpmessage2); - - Com.Println("spawnpoit: " + spawnpoint); - Com.Println("maxclients: " + maxclients); - Com.Println("maxentities: " + maxentities); - Com.Println("serverflags: " + serverflags); - Com.Println("numitems: " + num_items); - Com.Println("autosaved: " + autosaved); - - for (int i = 0; i < maxclients; i++) - clients[i].dump(); - } } diff --git a/src/jake2/game/gclient_t.java b/src/jake2/game/gclient_t.java index 2cbda59..cdccd02 100644 --- a/src/jake2/game/gclient_t.java +++ b/src/jake2/game/gclient_t.java @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 31.10.2003 by RST. -// $Id: gclient_t.java,v 1.3 2004-08-20 21:29:58 salomo Exp $ +// $Id: gclient_t.java,v 1.4 2004-09-10 19:02:56 salomo Exp $ package jake2.game; @@ -394,90 +394,4 @@ public class gclient_t f.writeInt(8765); } - - public void dump() - { - - Com.Println("ping: " + ping); - - pers.dump(); - resp.dump(); - - old_pmove.dump(); - - Com.Println("showscores: " + showscores); - Com.Println("showinventury: " + showinventory); - Com.Println("showhelp: " + showhelp); - Com.Println("showhelpicon: " + showhelpicon); - Com.Println("ammoindex: " + ammo_index); - - Com.Println("buttons: " + buttons); - Com.Println("oldbuttons: " + oldbuttons); - Com.Println("latchedbuttons: " + latched_buttons); - - Com.Println("weaponthunk: " + weapon_thunk); - - Com.Println("newweapon: " + newweapon); - - Com.Println("damage_armor: " + damage_armor); - Com.Println("damage_parmor: " + damage_parmor); - Com.Println("damage_blood: " + damage_blood); - Com.Println("damage_knockback: " + damage_knockback); - - Lib.printv("damage_from", damage_from); - - Com.Println("killer_yaw: " + killer_yaw); - - Com.Println("weaponstate: " + weaponstate); - - Lib.printv("kick_angles", kick_angles); - Lib.printv("kick_origin", kick_origin); - - Com.Println("v_dmg_roll: " + v_dmg_roll); - Com.Println("v_dmg_pitch: " + v_dmg_pitch); - Com.Println("v_dmg_time: " + v_dmg_time); - - Com.Println("fall_time: " + fall_time); - Com.Println("fall_value: " + fall_value); - Com.Println("damage_alpha: " + damage_alpha); - Com.Println("bonus_alpha: " + bonus_alpha); - - Lib.printv("damage_blend", damage_blend); - - Lib.printv("v_angle", v_angle); - - Com.Println("bobtime: " + bobtime); - - Lib.printv("oldviewangles", oldviewangles); - Lib.printv("oldvelocity", oldvelocity); - - Com.Println("next_downtime: " + next_drown_time); - - Com.Println("old_waterlevel: " + old_waterlevel); - Com.Println("breathersound: " + breather_sound); - Com.Println("machinegun_shots: " + machinegun_shots); - Com.Println("anim_end: " + anim_end); - Com.Println("anim_priority: " + anim_priority); - Com.Println("anim_duck: " + anim_duck); - Com.Println("anim_run: " + anim_run); - - Com.Println("quad_framenum: " + quad_framenum); - Com.Println("invincible_framenum: " + invincible_framenum); - Com.Println("breather_framenum: " + breather_framenum); - Com.Println("enviro_framenum: " + enviro_framenum); - - Com.Println("grenade_blew_up: " + grenade_blew_up); - Com.Println("grenade_time: " + grenade_time); - Com.Println("silencer_shots: " + silencer_shots); - Com.Println("weapon_sound: " + weapon_sound); - Com.Println("pickup_msg_time: " + pickup_msg_time); - Com.Println("flood_locktill: " + flood_locktill); - - Lib.printv("flood_when", flood_when); - - Com.Println("flood_whenhead: " + flood_whenhead); - Com.Println("respawn_time: " + respawn_time); - Com.Println("chase_target: " + chase_target); - Com.Println("update_chase: " + update_chase); - } } |