summaryrefslogtreecommitdiffstats
path: root/tools/DSGmaker/InstaStaticPhysDSGList.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/DSGmaker/InstaStaticPhysDSGList.hpp')
-rw-r--r--tools/DSGmaker/InstaStaticPhysDSGList.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/DSGmaker/InstaStaticPhysDSGList.hpp b/tools/DSGmaker/InstaStaticPhysDSGList.hpp
new file mode 100644
index 0000000..2f9fc1a
--- /dev/null
+++ b/tools/DSGmaker/InstaStaticPhysDSGList.hpp
@@ -0,0 +1,20 @@
+#ifndef INSTAPHYSDSGLIST_H
+#define INSTAPHYSDSGLIST_H
+
+//custom list class,stores the address of InstaEntityDSG's in a array,that i create in DSGmaker
+
+class tlInstaStaticPhysDSGChunk ;
+
+class InstaStaticPhysDSGList
+{
+ public:
+ InstaStaticPhysDSGList();
+ virtual ~InstaStaticPhysDSGList();
+ int AddInstaStaticPhys(tlInstaStaticPhysDSGChunk* p_insta);
+ tlInstaStaticPhysDSGChunk* GetInstaStaticPhys(const char* name);
+
+ private:
+ tlInstaStaticPhysDSGChunk** mp_list;
+ unsigned int mindex;
+};
+#endif //end of file \ No newline at end of file