summaryrefslogtreecommitdiff
path: root/include/SComponent
diff options
context:
space:
mode:
authorPheenoh <pheenoh@gmail.com>2021-01-02 17:47:43 -0500
committerPheenoh <pheenoh@gmail.com>2021-01-02 17:47:43 -0500
commit458be4d8cb1dbbe06d748c4e759131e02e73b467 (patch)
tree74e4c4420ad6bb86e51765a943c11998b379886e /include/SComponent
parent992cf48c7f5ae78b498197af8795ed9159e37f8b (diff)
more d_save funcs OK, initial map out of dcomifg_play_c and it's classes
Diffstat (limited to 'include/SComponent')
-rw-r--r--include/SComponent/c_angle/c_angle.h12
-rw-r--r--include/SComponent/c_cc_d/c_cc_d.h42
-rw-r--r--include/SComponent/c_cc_s/c_cc_s.h14
-rw-r--r--include/SComponent/c_m3d/c_m3d.h39
-rw-r--r--include/SComponent/c_xyz/c_xyz.h10
5 files changed, 117 insertions, 0 deletions
diff --git a/include/SComponent/c_angle/c_angle.h b/include/SComponent/c_angle/c_angle.h
new file mode 100644
index 0000000000..03ae0e541a
--- /dev/null
+++ b/include/SComponent/c_angle/c_angle.h
@@ -0,0 +1,12 @@
+#ifndef __C_ANGLE_H_
+#define __C_ANGLE_H_
+
+#include "global.h"
+
+class cSAngle {
+public:
+private:
+ s16 value;
+};
+
+#endif \ No newline at end of file
diff --git a/include/SComponent/c_cc_d/c_cc_d.h b/include/SComponent/c_cc_d/c_cc_d.h
new file mode 100644
index 0000000000..593c9e2c02
--- /dev/null
+++ b/include/SComponent/c_cc_d/c_cc_d.h
@@ -0,0 +1,42 @@
+#ifndef __C_CC_D_H_
+#define __C_CC_D_H_
+
+#include "SComponent/c_m3d/c_m3d.h"
+#include "global.h"
+
+class cCcD_ShapeAttr {
+public:
+private:
+ cM3dGAab cm3dgaab;
+ void* vtable;
+};
+
+class cCcD_CpsAttr {
+public:
+private:
+ cCcD_ShapeAttr cccd_shapeattr;
+ cM3dGCps cm3dgcps;
+};
+
+class cCcD_CylAttr {
+public:
+private:
+ cCcD_ShapeAttr cccd_shapeattr;
+ cM3dGCyl cm3dgcyl;
+};
+
+class cCcD_DivideInfo {
+public:
+private:
+ u8 field_0x0[12];
+ void* vtable;
+};
+
+class cCcD_DivideArea {
+public:
+private:
+ cM3dGAab cM3dGAab;
+ void* vtable;
+};
+
+#endif \ No newline at end of file
diff --git a/include/SComponent/c_cc_s/c_cc_s.h b/include/SComponent/c_cc_s/c_cc_s.h
new file mode 100644
index 0000000000..06ce04692a
--- /dev/null
+++ b/include/SComponent/c_cc_s/c_cc_s.h
@@ -0,0 +1,14 @@
+#ifndef __C_CC_S_H_
+#define __C_CC_S_H_
+
+#include "global.h"
+#include "SComponent/c_cc_d/c_cc_d.h"
+
+class cCcS {
+public:
+private:
+ u8 field_0x0[10260];
+ cCcD_DivideArea cccd_dividearea;
+};
+
+#endif \ No newline at end of file
diff --git a/include/SComponent/c_m3d/c_m3d.h b/include/SComponent/c_m3d/c_m3d.h
new file mode 100644
index 0000000000..c448bb5e43
--- /dev/null
+++ b/include/SComponent/c_m3d/c_m3d.h
@@ -0,0 +1,39 @@
+#ifndef __C_M3D_H_
+#define __C_M3D_H_
+
+#include "SComponent/c_xyz/c_xyz.h"
+#include "global.h"
+
+class cM3dGLin_members {
+public:
+private:
+ cXyz start;
+ cXyz end;
+};
+
+class cM3dGCps {
+public:
+private:
+ cM3dGLin_members base;
+ void* vtable;
+ float field_0x1c;
+};
+
+class cM3dGCyl { /* Cylinder class */
+public:
+private:
+ cXyz center;
+ float radius;
+ float height;
+ void* vtable;
+};
+
+class cM3dGAab { /* Axis-aligned bounding box */
+public:
+private:
+ cXyz min;
+ cXyz max;
+ void* vtable;
+};
+
+#endif \ No newline at end of file
diff --git a/include/SComponent/c_xyz/c_xyz.h b/include/SComponent/c_xyz/c_xyz.h
new file mode 100644
index 0000000000..c70f940b4e
--- /dev/null
+++ b/include/SComponent/c_xyz/c_xyz.h
@@ -0,0 +1,10 @@
+#ifndef __C_XYZ_H_
+#define __C_XYZ_H_
+#include "global.h"
+
+class cXyz {
+public:
+ float x, y, z;
+};
+
+#endif \ No newline at end of file