Update of /cvsroot/jake2/jake2/src/jake2/sound/joal
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11556/src/jake2/sound/joal
Modified Files:
JOALSoundImpl.java
Log Message:
major refactoring in game, server and client package
Index: JOALSoundImpl.java
===================================================================
RCS file: /cvsroot/jake2/jake2/src/jake2/sound/joal/JOALSoundImpl.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** JOALSoundImpl.java 19 Sep 2004 09:12:20 -0000 1.4
--- JOALSoundImpl.java 22 Sep 2004 19:22:15 -0000 1.5
***************
*** 10,13 ****
--- 10,14 ----
import jake2.Globals;
import jake2.client.CL;
+ import jake2.client.CL_ents;
import jake2.game.*;
import jake2.qcommon.*;
***************
*** 358,362 ****
}
! if ((Game.gi.pointcontents.pointcontents(origin)& Defines.MASK_WATER)!= 0) {
changeEnv = currentEnv != EAX.EAX_ENVIRONMENT_UNDERWATER;
currentEnv = EAX.EAX_ENVIRONMENT_UNDERWATER;
--- 359,363 ----
}
! if ((GameBase.gi.pointcontents.pointcontents(origin)& Defines.MASK_WATER)!= 0) {
changeEnv = currentEnv != EAX.EAX_ENVIRONMENT_UNDERWATER;
currentEnv = EAX.EAX_ENVIRONMENT_UNDERWATER;
***************
*** 484,488 ****
break;
case Channel.DYNAMIC:
! CL.GetEntitySoundOrigin(ch.entity, entityOrigin);
convertVector(entityOrigin, sourceOrigin);
break;
--- 485,489 ----
break;
case Channel.DYNAMIC:
! CL_ents.GetEntitySoundOrigin(ch.entity, entityOrigin);
convertVector(entityOrigin, sourceOrigin);
break;
|