summaryrefslogtreecommitdiff
path: root/src/code/game.c
diff options
context:
space:
mode:
authormzxrules <mzxrules@gmail.com>2025-02-19 05:54:39 -0500
committerGitHub <noreply@github.com>2025-02-19 05:54:39 -0500
commit981af4b6af34cdd9e4f55f8f9f4fce803600fa62 (patch)
treeb8be209d7db0077a326ecdbdad140b6b9aab2bf8 /src/code/game.c
parent3d61fb85efa13203db2e4888c9e892833a164277 (diff)
Reduce overlay dependencies on global.h (8) (#2478)
* move variables into z64environment.h * z_room.h * z64sram.h, z64ss_sram.h, z64font.h, kanread.h * z64lifemeter.h, z64debug.h, debug_arena.h * buffers.h * remove z_bgcheck global * gamealloc.h * suggestions * .bdd
Diffstat (limited to 'src/code/game.c')
-rw-r--r--src/code/game.c23
1 files changed, 20 insertions, 3 deletions
diff --git a/src/code/game.c b/src/code/game.c
index 436783952..2e9e9e2d5 100644
--- a/src/code/game.c
+++ b/src/code/game.c
@@ -1,12 +1,29 @@
-#include "global.h"
+#include "libu64/debug.h"
+#include "libu64/gfxprint.h"
+#include "audiomgr.h"
+#include "buffers.h"
+#include "controller.h"
+#include "debug_arena.h"
+#include "gfx.h"
+#include "gfxalloc.h"
#include "fault.h"
#include "libc64/os_malloc.h"
-#include "terminal.h"
-#include "versions.h"
#include "line_numbers.h"
#if PLATFORM_N64
#include "n64dd.h"
#endif
+#include "padmgr.h"
+#include "regs.h"
+#include "rumble.h"
+#include "speed_meter.h"
+#include "terminal.h"
+#include "versions.h"
+#include "z64debug.h"
+#include "z64game.h"
+#include "z64vis.h"
+
+#include "macros.h"
+#include "global.h"
#pragma increment_block_number "gc-eu:128 gc-eu-mq:128 gc-jp:128 gc-jp-ce:128 gc-jp-mq:128 gc-us:128 gc-us-mq:128"