summaryrefslogtreecommitdiffstats
path: root/tools/DSGmaker/DynaDSGList.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/DSGmaker/DynaDSGList.hpp')
-rw-r--r--tools/DSGmaker/DynaDSGList.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/DSGmaker/DynaDSGList.hpp b/tools/DSGmaker/DynaDSGList.hpp
new file mode 100644
index 0000000..3ba56a6
--- /dev/null
+++ b/tools/DSGmaker/DynaDSGList.hpp
@@ -0,0 +1,22 @@
+#ifndef DYNADSGLIST_H
+#define DYNADSGLIST_H
+
+//custom list class,stores the address of DynaPhysDSG in a array,that i create in DSGmaker
+
+class tlDynaPhysDSGChunk ;
+
+class DynaPhysDSGList
+{
+ public:
+ DynaPhysDSGList();
+ virtual ~DynaPhysDSGList();
+ int AddDyna(tlDynaPhysDSGChunk* p_dyna);
+ unsigned int GetIndexCount();
+ tlDynaPhysDSGChunk* GetDyna(const char* name);
+
+
+ private:
+ tlDynaPhysDSGChunk** mp_list;
+ unsigned int mindex;
+};
+#endif //end of file \ No newline at end of file