mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-23 06:54:14 -04:00
Small general cleanup (#1644)
* m2ctx.py * check warnings * vimode includes * bgcheck includes * padmgr includes * sprintf * z_std_dma * sys_ucode * z64voice * z64lib * z64effect_ss * segment_symbols.h * padutils * main * stdarg.h * fault * bzero * undefined_syms * z64rumble
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
|
||||
#include "stdarg.h"
|
||||
#include "stdint.h"
|
||||
#include "PR/controller.h"
|
||||
|
||||
#include "padmgr.h"
|
||||
#include "stack.h"
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
|
||||
#include "ultra64.h"
|
||||
|
||||
#include "stdarg.h"
|
||||
|
||||
int vaprintf(PrintCallback* pfn, const char* fmt, va_list args);
|
||||
int aprintf(PrintCallback* pfn, const char* fmt, ...);
|
||||
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
|
||||
#include "ultra64.h"
|
||||
|
||||
#include "stdarg.h"
|
||||
|
||||
int vsprintf(char* dst, const char* fmt, va_list args);
|
||||
int sprintf(char* dst, const char* fmt, ...);
|
||||
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
#define MAIN_H
|
||||
|
||||
#include "ultra64.h"
|
||||
|
||||
#include "stdint.h"
|
||||
|
||||
#include "scheduler.h"
|
||||
#include "padmgr.h"
|
||||
|
||||
|
||||
+3
-1
@@ -1,8 +1,10 @@
|
||||
#ifndef PADMGR_H
|
||||
#define PADMGR_H
|
||||
|
||||
#include "stdbool.h"
|
||||
#include "ultra64.h"
|
||||
|
||||
#include "stdbool.h"
|
||||
|
||||
#include "irqmgr.h"
|
||||
#include "padutils.h"
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
#ifndef PADUTILS_H
|
||||
#define PADUTILS_H
|
||||
|
||||
#include "PR/controller.h"
|
||||
#include "PR/os_cont.h"
|
||||
|
||||
|
||||
typedef struct Input {
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define SEGMENT_SYMBOLS_H
|
||||
|
||||
#include "stddef.h"
|
||||
#include "stdint.h"
|
||||
#include "PR/ultratypes.h"
|
||||
|
||||
#include "romfile.h"
|
||||
|
||||
+3
-1
@@ -2,9 +2,11 @@
|
||||
#define Z64DMA_H
|
||||
|
||||
#include "ultra64.h"
|
||||
#include "unk.h"
|
||||
|
||||
#include "stdint.h"
|
||||
|
||||
#include "romfile.h"
|
||||
#include "unk.h"
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ uintptr_t vromAddr; // VROM address (source)
|
||||
|
||||
@@ -3,11 +3,12 @@
|
||||
|
||||
#include "ultra64.h"
|
||||
|
||||
#include "color.h"
|
||||
#include "z64math.h"
|
||||
#include "stdint.h"
|
||||
|
||||
#include "color.h"
|
||||
#include "z64dma.h"
|
||||
#include "z64eff_ss_dead.h"
|
||||
#include "z64math.h"
|
||||
|
||||
struct Actor;
|
||||
struct PlayState;
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
|
||||
#include "ultra64.h"
|
||||
|
||||
#include "stdint.h"
|
||||
|
||||
#include "color.h"
|
||||
#include "z64math.h"
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#define Z64RUMBLE_H
|
||||
|
||||
#include "PR/ultratypes.h"
|
||||
#include "PR/controller.h"
|
||||
|
||||
typedef enum RumbleManagerState {
|
||||
/* 0 */ RUMBLEMANAGER_STATE_WIPE, // Disables the request processing and wipes every request. It can be either set manually or automatically by the system as fail-safe in case the Rumble Pak has been vibrating for 2 minutes
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "PR/ultratypes.h"
|
||||
#include "PR/os_time.h"
|
||||
|
||||
#include "unk.h"
|
||||
|
||||
struct GameState;
|
||||
|
||||
+3
-1
@@ -2,9 +2,11 @@
|
||||
#define Z64VOICE_H
|
||||
|
||||
#include "PR/ultratypes.h"
|
||||
#include "unk.h"
|
||||
#include "PR/os_message.h"
|
||||
#include "PR/os_voice.h"
|
||||
|
||||
#include "unk.h"
|
||||
|
||||
typedef struct {
|
||||
/* 0x000 */ u16 words[20][15]; // 20 words, each with up to 15 syllables
|
||||
/* 0x258 */ u8 numWords;
|
||||
|
||||
Reference in New Issue
Block a user