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:
parent
70fde8ac3b
commit
2e4c42719b
48 changed files with 310 additions and 221 deletions
|
@ -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) {
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue