Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-07-18 10:59:23 +0000
committerStijn Buys <ingar@osirion.org>2008-07-18 10:59:23 +0000
commit415cbb44d031e0a348d937c917c629913da0afce (patch)
treeb310564128d80bd24217cc32f71d39844dae5441 /src/model/model.h
parentd419f413daa75262cbf9ba3eb271c4028b0b6921 (diff)
parse engine sound from .map model
Diffstat (limited to 'src/model/model.h')
-rw-r--r--src/model/model.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/model/model.h b/src/model/model.h
index cb1352f..d2b7d65 100644
--- a/src/model/model.h
+++ b/src/model/model.h
@@ -70,6 +70,9 @@ public:
/// number of detail evertices in this model
inline size_t lvertex_detail() const { return model_lvertex_countdetail; }
+ /// engine sound loop for this model
+ inline unsigned int enginesound() const { return model_enginesound; }
+
/// total number of triangles in this model
size_t tris() const;
@@ -115,6 +118,8 @@ public:
size_t model_lvertex_count;
size_t model_lvertex_countdetail;
+ unsigned int model_enginesound;
+
/* ---- static functions for the Model registry -------------------- */
/// the Model registry