mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-11 09:20:17 +00:00
Reduce dependencies on global.h (10) (#2490)
* reduce z64.h size * fix z_cheap_proc.inc.c * ,bss * remove temp delcaration
This commit is contained in:
parent
2b30c61a26
commit
cf1a39c26f
116 changed files with 663 additions and 308 deletions
|
@ -1,7 +1,7 @@
|
|||
// Does some command processing
|
||||
#include "global.h"
|
||||
#include "n64dd.h"
|
||||
#include "versions.h"
|
||||
#include "z_locale.h"
|
||||
|
||||
void func_801C8554(void);
|
||||
void func_801C8578(void* arg0, void* arg1, OSId id, void* sp, OSPri pri);
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
// Lower-level command processing in a background thread
|
||||
#include "global.h"
|
||||
#include "n64dd.h"
|
||||
#include "libc64/sleep.h"
|
||||
#include "attributes.h"
|
||||
|
||||
#include "global.h"
|
||||
|
||||
s32 D_801D2EA0 = 0;
|
||||
u8* D_801D2EA4 = NULL;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// User-facing error handling
|
||||
#include "global.h"
|
||||
#include "n64dd.h"
|
||||
#include "z_locale.h"
|
||||
|
||||
u8 B_801E0F80[0x600];
|
||||
u8 B_801E1580[0x2800];
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#include "global.h"
|
||||
#include "n64dd.h"
|
||||
#include "libc64/aprintf.h"
|
||||
#include "attributes.h"
|
||||
|
||||
#include "global.h"
|
||||
|
||||
// Draws text to framebuffer
|
||||
typedef struct struct_801CA704 {
|
||||
|
|
|
@ -1,11 +1,15 @@
|
|||
// Main interface for the 64DD from the rest of the game. Starts background
|
||||
// threads and provides functions to submit commands to them.
|
||||
#include "global.h"
|
||||
#include "libc64/sleep.h"
|
||||
#include "fault.h"
|
||||
#include "irqmgr.h"
|
||||
#include "line_numbers.h"
|
||||
#include "n64dd.h"
|
||||
#include "stack.h"
|
||||
#include "stackcheck.h"
|
||||
#include "sys_freeze.h"
|
||||
#include "versions.h"
|
||||
#include "line_numbers.h"
|
||||
#include "z64audio.h"
|
||||
#include "z64thread.h"
|
||||
|
||||
#pragma increment_block_number "ntsc-1.0:128 ntsc-1.1:128 ntsc-1.2:128 pal-1.0:128 pal-1.1:128"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue