mirror of
https://github.com/zeldaret/af.git
synced 2026-10-01 23:42:04 -04:00
f19df74c6e
* C file * drafts * Actor_info_ct and Actor_info_dt * Actor_info_make_actor draft * new_var = &argC; * func_80057940_jp * Actor_free_overlay_area, actor_free_check, Actor_get_overlay_area, func_80057940_jp, Actor_data_bank_regist_check * Shape_Info_init * Actor struct's size confirmed, Actor_malloc_actor_class and Actor_init_actor_class * func_80056380_jp, Actor_info_part_new, restore_fgdata, Actor_info_delete * Actor_info_draw_actor * Actor_data_bank_dma_end_check, Actor_draw_actor_no_culling_check, Actor_draw_actor_no_culling_check2, Actor_cull_check, Actor_delete_check, Actor_info_make_child_actor, restore_fgdata_all, Actor_info_save_actor * gSegments * Actor_world_to_eye, Actor_position_speed_set, Actor_position_moveF and func_80057B70_jp * Actor_player_look_direction_check * Actor_position_move * find m_kankyo file split * Actor_ct * fgName * projection_pos_set, Actor_display_position_set * Actor_info_call_actor * func_80057A8C_jp * import data and bss * cleanups * more cleanup * format * and even more cleanup * hilite funcs * Part_Break_init * and more cleanup * Actor_draw * fake stuff * Part_Break stuff from OoT * a * fix * fix fake symbol * fix * fix
93 lines
2.9 KiB
C
93 lines
2.9 KiB
C
#ifndef FAULT_H
|
|
#define FAULT_H
|
|
|
|
#include "ultra64.h"
|
|
#include "attributes.h"
|
|
#include "libc/stdint.h"
|
|
|
|
|
|
typedef void (*FaultClientCallback)(void*, void*);
|
|
|
|
// TODO: taken from MM, needs to be verified
|
|
typedef struct FaultClient {
|
|
/* 0x0 */ struct FaultClient* next;
|
|
/* 0x4 */ FaultClientCallback callback;
|
|
/* 0x8 */ void* arg0;
|
|
/* 0xC */ void* arg1;
|
|
} FaultClient; // size = 0x10
|
|
|
|
|
|
typedef uintptr_t (*FaultAddrConvClientCallback)(uintptr_t, void*);
|
|
|
|
// TODO: taken from MM, needs to be verified
|
|
typedef struct FaultAddrConvClient {
|
|
/* 0x0 */ struct FaultAddrConvClient* next;
|
|
/* 0x4 */ FaultAddrConvClientCallback callback;
|
|
/* 0x8 */ void* arg;
|
|
} FaultAddrConvClient; // size = 0xC
|
|
|
|
// void Fault_SleepImpl();
|
|
// void Fault_ClientProcessThread();
|
|
// void Fault_ClientRunTask();
|
|
// void Fault_ProcessClient();
|
|
void Fault_AddClient(FaultClient* client, FaultClientCallback callback, void* arg0, void* arg1);
|
|
void Fault_RemoveClient(FaultClient* client);
|
|
void Fault_AddAddrConvClient(FaultAddrConvClient* client, FaultAddrConvClientCallback callback, void* arg);
|
|
void Fault_RemoveAddrConvClient(FaultAddrConvClient* client);
|
|
// void Fault_ConvertAddress();
|
|
// void Fault_Sleep();
|
|
// void Fault_PadCallback();
|
|
// void Fault_UpdatePadImpl();
|
|
// void Fault_WaitForInputImpl();
|
|
// void Fault_WaitForInput();
|
|
// void Fault_DrawRec();
|
|
// void Fault_FillScreenBlack();
|
|
// void Fault_FillScreenRed();
|
|
// void Fault_DrawCornerRec();
|
|
// void Fault_PrintFReg();
|
|
// void Fault_LogFReg();
|
|
// void Fault_PrintFPCSR();
|
|
// void Fault_LogFPCSR();
|
|
// void Fault_PrintThreadContext();
|
|
// void Fault_LogThreadContext();
|
|
// void Fault_FindFaultedThread();
|
|
// void Fault_Wait5Seconds();
|
|
// void Fault_WaitForButtonCombo();
|
|
// void Fault_DrawMemDumpContents();
|
|
// void Fault_DrawMemDump();
|
|
// void Fault_WalkStack();
|
|
// void Fault_DrawStackTrace();
|
|
// void Fault_LogStackTrace();
|
|
// void Fault_ResumeThread();
|
|
// void Fault_DisplayFrameBuffer();
|
|
// void Fault_ProcessClients();
|
|
// void Fault_UpdatePad();
|
|
// void Fault_ThreadEntry();
|
|
// void Fault_SetFrameBuffer();
|
|
// void Fault_Init();
|
|
// void Fault_HungupFaultClient();
|
|
NORETURN void Fault_AddHungupAndCrashImpl(const char* exp1, const char* exp2);
|
|
// NORETURN void Fault_AddHungupAndCrash();
|
|
|
|
// void FaultDrawer_SetOsSyncPrintfEnabled();
|
|
// void FaultDrawer_DrawRecImpl();
|
|
// void FaultDrawer_DrawChar();
|
|
// void FaultDrawer_ColorToPrintColor();
|
|
// void FaultDrawer_UpdatePrintColor();
|
|
// void FaultDrawer_SetForeColor();
|
|
// void FaultDrawer_SetBackColor();
|
|
void FaultDrawer_SetFontColor(u16 color);
|
|
void FaultDrawer_SetCharPad(s8 padW, s8 padH);
|
|
void FaultDrawer_SetCursor(s32 arg0, s32 arg1);
|
|
// void FaultDrawer_FillScreen();
|
|
// void FaultDrawer_PrintCallback();
|
|
// void FaultDrawer_VPrintf();
|
|
void FaultDrawer_Printf(const char* fmt, ...);
|
|
// void FaultDrawer_DrawText();
|
|
// void FaultDrawer_SetDrawerFB();
|
|
// void FaultDrawer_SetInputCallback();
|
|
// void FaultDrawer_WritebackFBDCache();
|
|
// void FaultDrawer_Init();
|
|
|
|
#endif
|