summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--context.h6
-rw-r--r--include/pso/TMath.h14
2 files changed, 20 insertions, 0 deletions
diff --git a/context.h b/context.h
index 3ef2a01..cdfe79f 100644
--- a/context.h
+++ b/context.h
@@ -556,6 +556,12 @@ struct packet_header {
void bswap();
} __packed__;
+// pso/TMath.h
+struct vec2f {
+ float x;
+ float y;
+};
+
// pso/TPlyGuildCardTag.h
struct gc_tag {
u8 tag0;
diff --git a/include/pso/TMath.h b/include/pso/TMath.h
new file mode 100644
index 0000000..799c498
--- /dev/null
+++ b/include/pso/TMath.h
@@ -0,0 +1,14 @@
+#ifndef TMATH_H
+#define TMATH_H
+
+#include <global_types.h>
+#include <pso/macros.h>
+#include <pso/protocol.h>
+#include <pso/TArray.h>
+
+struct vec2f {
+ float x;
+ float y;
+};
+
+#endif