summaryrefslogtreecommitdiff
path: root/src/code/z_fbdemo_fade.c
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2023-11-22 23:55:05 -0300
committerGitHub <noreply@github.com>2023-11-23 13:55:05 +1100
commit506e2155474b1914fe93f070c55debdeaf6df0a6 (patch)
tree5ffab32ee39bb1cafc8803caafd1030ff72f93ef /src/code/z_fbdemo_fade.c
parent5ef277df2db5dd54c02c098ec88777f63680f6c3 (diff)
Yet another header cleanup (#1508)
* lights.c * z64skin_matrix.h * Move out some stuff from macros.h * gamealloc.h * move most transition functions to z64transition.h * z64lib.h * `include` cleanup on transition files * z_overlay cleanup * z64malloc.h * format * forgot to remove those * forgot this * fix borken includes
Diffstat (limited to 'src/code/z_fbdemo_fade.c')
-rw-r--r--src/code/z_fbdemo_fade.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/code/z_fbdemo_fade.c b/src/code/z_fbdemo_fade.c
index a9ab37d48..f1e535594 100644
--- a/src/code/z_fbdemo_fade.c
+++ b/src/code/z_fbdemo_fade.c
@@ -1,13 +1,19 @@
-#include "global.h"
+#include "z64transition.h"
+
+#include "libc/stdbool.h"
+#include "gfx.h"
+#include "regs.h"
+#include "z64math.h"
+#include "z64save.h"
#define THIS ((TransitionFade*)thisx)
-typedef enum {
+typedef enum TransitionFadeDirection {
/* 0 */ TRANS_FADE_DIR_IN,
/* 1 */ TRANS_FADE_DIR_OUT
} TransitionFadeDirection;
-typedef enum {
+typedef enum TransitionFadeType {
/* 0 */ TRANS_FADE_TYPE_NONE,
/* 1 */ TRANS_FADE_TYPE_ONE_WAY,
/* 2 */ TRANS_FADE_TYPE_FLASH