summaryrefslogtreecommitdiff
path: root/include/sample_state.h
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2025-02-20 07:50:13 -0500
committerGitHub <noreply@github.com>2025-02-20 07:50:13 -0500
commit2e4d7a11012bf90ac21086ec1a9cd23f54413e86 (patch)
tree78676e8f4f9409ad65a92d48f3023afd51c4045d /include/sample_state.h
parent4cfb5f05a08d0747f993ef914d4d78872ca02b2f (diff)
Create headers for Game States (#2482)
* make headers for gamestates * fixes * fixes 2 * bss
Diffstat (limited to 'include/sample_state.h')
-rw-r--r--include/sample_state.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/sample_state.h b/include/sample_state.h
new file mode 100644
index 000000000..b568a83f9
--- /dev/null
+++ b/include/sample_state.h
@@ -0,0 +1,17 @@
+#ifndef SAMPLE_STATE_H
+#define SAMPLE_STATE_H
+
+#include "ultra64.h"
+#include "z64game.h"
+#include "z64view.h"
+
+typedef struct SampleState {
+ /* 0x0000 */ GameState state;
+ /* 0x00A4 */ u8* staticSegment;
+ /* 0x00A8 */ View view;
+} SampleState; // size = 0x1D0
+
+void Sample_Init(GameState* thisx);
+void Sample_Destroy(GameState* thisx);
+
+#endif