summaryrefslogtreecommitdiff
path: root/src/cgame/cg_local.h
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2002-02-07 22:48:12 +0000
committerTim Angus <tim@ngus.net>2002-02-07 22:48:12 +0000
commitc5cae84d6cf86421d358778403df57e1e36effeb (patch)
tree894a93eb79fc28800183d843668018a5c8be8e04 /src/cgame/cg_local.h
parentc7f239a68ae042d023d075c6ac94e172205e69c5 (diff)
Buildable sounds
Diffstat (limited to 'src/cgame/cg_local.h')
-rw-r--r--src/cgame/cg_local.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/cgame/cg_local.h b/src/cgame/cg_local.h
index e497fc83..e1aed132 100644
--- a/src/cgame/cg_local.h
+++ b/src/cgame/cg_local.h
@@ -429,7 +429,19 @@ typedef struct {
typedef struct
{
- qhandle_t models[MAX_ITEM_MODELS];
+ qboolean looped;
+ qboolean enabled;
+
+ sfxHandle_t sound;
+} sound_t;
+
+typedef struct
+{
+ qhandle_t models[ MAX_ITEM_MODELS ];
+ animation_t animations[ MAX_BUILDABLE_ANIMATIONS ];
+
+ //same number of sounds as animations
+ sound_t sounds[ MAX_BUILDABLE_ANIMATIONS ];
} buildableInfo_t;
typedef struct {