1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-12 10:54:44 +00:00

Reduce dependencies on global.h (9) (#2488)

* split game states

* split all GameState headers

* match fig names

* deduplicate headers from bad merge

* split z64actor.h into z64actor_profile.h, z_actor_dlftbls.h

* fix compile error

* .bss
This commit is contained in:
mzxrules 2025-02-24 20:55:55 -05:00 committed by GitHub
parent 70fde8ac3b
commit 2e4c42719b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
48 changed files with 310 additions and 221 deletions

View file

@ -1,10 +1,16 @@
#include "file_select_state.h"
#include "global.h"
#include "controller.h"
#include "terminal.h"
#include "versions.h"
#include "z64game.h"
#include "z64message.h"
#include "z64save.h"
#include "z64scene.h"
#include "z64sram.h"
#include "z64ss_sram.h"
#include "global.h"
#define SLOT_SIZE (sizeof(SaveContext) + 0x28)
#define CHECKSUM_SIZE (sizeof(Save) / 2)
@ -1060,5 +1066,5 @@ void Sram_Alloc(GameState* gameState, SramContext* sramCtx) {
ASSERT(sramCtx->readBuff != NULL, "sram->read_buff != NULL", "../z_sram.c", 1295);
}
void Sram_Init(PlayState* play, SramContext* sramCtx) {
void Sram_Init(GameState* gameState, SramContext* sramCtx) {
}