summaryrefslogtreecommitdiffstats
path: root/tools/DSGmaker/DSGList.hpp
diff options
context:
space:
mode:
authorSvxy <aidan61605@gmail.com>2023-05-31 23:31:32 +0200
committerSvxy <aidan61605@gmail.com>2023-05-31 23:31:32 +0200
commiteb4b3404aa00220d659e532151dab13d642c17a3 (patch)
tree7e1107c4995489a26c4007e41b53ea8d00ab2134 /tools/DSGmaker/DSGList.hpp
downloadThe-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.gz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.bz2
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.lz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.xz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.zst
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.zip
Diffstat (limited to 'tools/DSGmaker/DSGList.hpp')
-rw-r--r--tools/DSGmaker/DSGList.hpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/tools/DSGmaker/DSGList.hpp b/tools/DSGmaker/DSGList.hpp
new file mode 100644
index 0000000..e7ba78d
--- /dev/null
+++ b/tools/DSGmaker/DSGList.hpp
@@ -0,0 +1,29 @@
+#ifndef DSGLIST_H
+#define DSGLIST_H
+
+//custom list class,stores the address of DynaPhysDSG in a array,that i create in DSGmaker
+
+class tlDataChunk ;
+
+
+
+class DSGList
+{
+ public:
+
+ bool mbNoInstanceChunks;
+ DSGList();
+ virtual ~DSGList();
+ int AddDSG(tlDataChunk* p_dsg);
+ unsigned int GetIndexCount();
+ tlDataChunk* GetDSG(const char* name);
+ tlDataChunk* GetDSGByIndex(unsigned int i);
+ unsigned int VerifyChunks(void);
+ void ReSortDSGChunks(void);
+
+ private:
+ void PrintErrors(void);
+ tlDataChunk** mp_list;
+ unsigned int mindex;
+};
+#endif //end of file \ No newline at end of file