diff options
author | Tim Angus <tim@ngus.net> | 2003-09-28 00:54:11 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2003-09-28 00:54:11 +0000 |
commit | ccbc3c206cf841d352d903feadd358a0dd3ee81e (patch) | |
tree | 6d67aa1581e24989bb8d726632cff3f1af6be1e7 /src/cgame/cg_local.h | |
parent | 2c917c986c82fafafe2b58a61479657997d80718 (diff) |
* Jetpack now uses new particle system
Diffstat (limited to 'src/cgame/cg_local.h')
-rw-r--r-- | src/cgame/cg_local.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/cgame/cg_local.h b/src/cgame/cg_local.h index 08df7337..5988d22b 100644 --- a/src/cgame/cg_local.h +++ b/src/cgame/cg_local.h @@ -114,6 +114,13 @@ typedef enum IMPACTSOUND_FLESH } impactSound_t; +typedef enum +{ + JPS_OFF, + JPS_DESCENDING, + JPS_HOVERING, + JPS_ASCENDING +} jetPackState_t; //particle system stuff #define MAX_SHADER_FRAMES 64 @@ -424,8 +431,6 @@ typedef struct centity_s lerpFrame_t lerpFrame; //TA: - int jetTime; //limit jet count - buildableAnimNumber_t buildableAnim; //persistant anim number buildableAnimNumber_t oldBuildableAnim; //to detect when new anims are set int buildableSmokeTime; @@ -443,6 +448,9 @@ typedef struct centity_s particleSystem_t *muzzlePS; qboolean muzzlePsTrigger; + particleSystem_t *jetPackPS; + jetPackState_t jetPackState; + qboolean valid; qboolean oldValid; } centity_t; @@ -1143,6 +1151,10 @@ typedef struct sfxHandle_t jetpackIdleSound; sfxHandle_t jetpackAscendSound; + qhandle_t jetPackDescendPS; + qhandle_t jetPackHoverPS; + qhandle_t jetPackAscendPS; + //TA: sfxHandle_t alienStageTransition; sfxHandle_t humanStageTransition; |