Update of /cvsroot/jake2/jake2/src/jake2/game
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31480/src/jake2/game
Modified Files:
GameTriggerAdapters.java GameAIAdapters.java
Log Message:
trigger debug messages removed
Index: GameTriggerAdapters.java
===================================================================
RCS file: /cvsroot/jake2/jake2/src/jake2/game/GameTriggerAdapters.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** GameTriggerAdapters.java 8 Jul 2004 15:58:44 -0000 1.1
--- GameTriggerAdapters.java 22 Aug 2004 15:46:19 -0000 1.2
***************
*** 115,119 ****
int index;
- Com.p("trigger_key_use!");
if (self.item == null)
return;
--- 115,118 ----
***************
*** 225,229 ****
static EntTouchAdapter trigger_push_touch = new EntTouchAdapter() {
public void touch(edict_t self, edict_t other, cplane_t plane, csurface_t surf) {
- Com.p("TRIGGER TOUCH!");
if (Lib.strcmp(other.classname, "grenade") == 0) {
Math3D.VectorScale(self.movedir, self.speed * 10, other.velocity);
--- 224,227 ----
Index: GameAIAdapters.java
===================================================================
RCS file: /cvsroot/jake2/jake2/src/jake2/game/GameAIAdapters.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** GameAIAdapters.java 8 Jul 2004 20:24:29 -0000 1.2
--- GameAIAdapters.java 22 Aug 2004 15:46:19 -0000 1.3
***************
*** 32,52 ****
import java.util.*;
! public class GameAIAdapters
! {
/** Common Boss explode animation.*/
! public static EntThinkAdapter BossExplode = new EntThinkAdapter()
! {
! public boolean think(edict_t self)
! {
[...1800 lines suppressed...]
};
! public static ItemDropAdapter Drop_PowerArmor= new ItemDropAdapter() {
! public void drop(edict_t ent, gitem_t item) {
if (0 != (ent.flags & Defines.FL_POWER_ARMOR) && (ent.client.pers.inventory[GameUtil.ITEM_INDEX(item)] == 1))
Use_PowerArmor.use(ent, item);
***************
*** 1173,1178 ****
}
};
! public static gitem_armor_t jacketarmor_info = new gitem_armor_t(25, 50, .30f, .00f, Defines.ARMOR_JACKET);
! public static gitem_armor_t combatarmor_info = new gitem_armor_t(50, 100, .60f, .30f, Defines.ARMOR_COMBAT);
! public static gitem_armor_t bodyarmor_info = new gitem_armor_t(100, 200, .80f, .60f, Defines.ARMOR_BODY);
}
--- 1044,1049 ----
}
};
! public static gitem_armor_t jacketarmor_info= new gitem_armor_t(25, 50, .30f, .00f, Defines.ARMOR_JACKET);
! public static gitem_armor_t combatarmor_info= new gitem_armor_t(50, 100, .60f, .30f, Defines.ARMOR_COMBAT);
! public static gitem_armor_t bodyarmor_info= new gitem_armor_t(100, 200, .80f, .60f, Defines.ARMOR_BODY);
}
|