mirror of
https://github.com/zeldaret/mm.git
synced 2026-07-11 14:18:39 -04:00
Move libultra variables to their respective headers (#1369)
* internal_rsp; move size_t and NULL to ultratypes.h * guint.h * Move system variables to os_system.h * controller, pi and vi * osint.h * piint.h * siint, ucode, viint, voiceinternal * Remove remaining variables from variables.h * format * final renames * bss * review * review
This commit is contained in:
@@ -36,6 +36,8 @@
|
||||
#include "PR/os_motor.h"
|
||||
#include "fault.h"
|
||||
|
||||
extern FaultMgr gFaultMgr;
|
||||
|
||||
#define PADMGR_RETRACE_MSG (1 << 0)
|
||||
#define PADMGR_PRE_NMI_MSG (1 << 1)
|
||||
#define PADMGR_NMI_MSG (1 << 2)
|
||||
|
||||
+1
-2
@@ -3,8 +3,7 @@
|
||||
* Description:
|
||||
*/
|
||||
|
||||
#include "prevent_bss_reordering.h"
|
||||
#include "global.h"
|
||||
#include "z64actor.h"
|
||||
#include "fault.h"
|
||||
#include "sys_cfb.h"
|
||||
#include "loadfragment.h"
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "prevent_bss_reordering.h"
|
||||
#include "global.h"
|
||||
#include "libc/string.h"
|
||||
#include "z64quake.h"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#include "prevent_bss_reordering.h"
|
||||
#include "global.h"
|
||||
#include "z64collision_check.h"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ typedef struct {
|
||||
NmiBuff* gNMIBuffer;
|
||||
|
||||
void Nmi_Init(void) {
|
||||
gNMIBuffer = (NmiBuff*)osAppNmiBuffer;
|
||||
gNMIBuffer = (NmiBuff*)osAppNMIBuffer;
|
||||
gNMIBuffer->resetting = false;
|
||||
|
||||
if (osResetType == COLD_RESET) {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "global.h"
|
||||
#include "PR/gs2dex.h"
|
||||
#include "sys_cfb.h"
|
||||
#include "z64snap.h"
|
||||
#include "z64view.h"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "global.h"
|
||||
#include "PR/gs2dex.h"
|
||||
#include "debug.h"
|
||||
|
||||
void Room_Noop(PlayState* play, Room* room, Input* input, s32 arg3) {
|
||||
|
||||
Reference in New Issue
Block a user