Merge pull request #364 from gamemasterplc/main

Rename InitBoard and BoardCommonInit
This commit is contained in:
Liam Coleman 2024-06-26 08:07:51 -05:00 committed by GitHub
commit 359e75be15
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 19 additions and 19 deletions

View file

@ -1,4 +1,4 @@
InitBoard = .text:0x00000000; // type:function size:0x30 scope:local ObjectSetup = .text:0x00000000; // type:function size:0x30 scope:local
_prolog = .text:0x00000030; // type:function size:0x64 scope:global _prolog = .text:0x00000030; // type:function size:0x64 scope:global
_epilog = .text:0x00000094; // type:function size:0x4C scope:global _epilog = .text:0x00000094; // type:function size:0x4C scope:global
BoardCreate = .text:0x000000E0; // type:function size:0x4BC BoardCreate = .text:0x000000E0; // type:function size:0x4BC

View file

@ -1,4 +1,4 @@
InitBoard = .text:0x00000000; // type:function size:0x30 scope:local ObjectSetup = .text:0x00000000; // type:function size:0x30 scope:local
_prolog = .text:0x00000030; // type:function size:0x64 scope:global _prolog = .text:0x00000030; // type:function size:0x64 scope:global
_epilog = .text:0x00000094; // type:function size:0x4C scope:global _epilog = .text:0x00000094; // type:function size:0x4C scope:global
BoardCreate = .text:0x000000E0; // type:function size:0x4F4 BoardCreate = .text:0x000000E0; // type:function size:0x4F4

View file

@ -1,4 +1,4 @@
InitBoard = .text:0x00000000; // type:function size:0x30 scope:local ObjectSetup = .text:0x00000000; // type:function size:0x30 scope:local
_prolog = .text:0x00000030; // type:function size:0x64 scope:global _prolog = .text:0x00000030; // type:function size:0x64 scope:global
_epilog = .text:0x00000094; // type:function size:0x4C scope:global _epilog = .text:0x00000094; // type:function size:0x4C scope:global
BoardCreate = .text:0x000000E0; // type:function size:0x660 BoardCreate = .text:0x000000E0; // type:function size:0x660

View file

@ -1,4 +1,4 @@
InitBoard = .text:0x00000000; // type:function size:0x30 scope:local ObjectSetup = .text:0x00000000; // type:function size:0x30 scope:local
_prolog = .text:0x00000030; // type:function size:0x64 scope:global _prolog = .text:0x00000030; // type:function size:0x64 scope:global
_epilog = .text:0x00000094; // type:function size:0x4C scope:global _epilog = .text:0x00000094; // type:function size:0x4C scope:global
BoardCreate = .text:0x000000E0; // type:function size:0x514 BoardCreate = .text:0x000000E0; // type:function size:0x514

View file

@ -1,4 +1,4 @@
InitBoard = .text:0x00000000; // type:function size:0x30 scope:local ObjectSetup = .text:0x00000000; // type:function size:0x30 scope:local
_prolog = .text:0x00000030; // type:function size:0x64 scope:global _prolog = .text:0x00000030; // type:function size:0x64 scope:global
_epilog = .text:0x00000094; // type:function size:0x4C scope:global _epilog = .text:0x00000094; // type:function size:0x4C scope:global
BoardCreate = .text:0x000000E0; // type:function size:0x4D8 BoardCreate = .text:0x000000E0; // type:function size:0x4D8

View file

@ -1,4 +1,4 @@
InitBoard = .text:0x00000000; // type:function size:0x30 scope:local ObjectSetup = .text:0x00000000; // type:function size:0x30 scope:local
_prolog = .text:0x00000030; // type:function size:0x64 scope:global _prolog = .text:0x00000030; // type:function size:0x64 scope:global
_epilog = .text:0x00000094; // type:function size:0x4C scope:global _epilog = .text:0x00000094; // type:function size:0x4C scope:global
BoardCreate = .text:0x000000E0; // type:function size:0x4C4 BoardCreate = .text:0x000000E0; // type:function size:0x4C4

View file

@ -1,4 +1,4 @@
InitBoard = .text:0x00000000; // type:function size:0x30 scope:local ObjectSetup = .text:0x00000000; // type:function size:0x30 scope:local
_prolog = .text:0x00000030; // type:function size:0x64 scope:global _prolog = .text:0x00000030; // type:function size:0x64 scope:global
_epilog = .text:0x00000094; // type:function size:0x4C scope:global _epilog = .text:0x00000094; // type:function size:0x4C scope:global
BoardCreate = .text:0x000000E0; // type:function size:0x5F8 BoardCreate = .text:0x000000E0; // type:function size:0x5F8

View file

@ -1,4 +1,4 @@
InitBoard = .text:0x00000000; // type:function size:0x30 scope:local ObjectSetup = .text:0x00000000; // type:function size:0x30 scope:local
_prolog = .text:0x00000030; // type:function size:0x64 scope:global _prolog = .text:0x00000030; // type:function size:0x64 scope:global
_epilog = .text:0x00000094; // type:function size:0x4C scope:global _epilog = .text:0x00000094; // type:function size:0x4C scope:global
BoardCreate = .text:0x000000E0; // type:function size:0x2B0 BoardCreate = .text:0x000000E0; // type:function size:0x2B0

View file

@ -1,4 +1,4 @@
InitBoard = .text:0x00000000; // type:function size:0x30 scope:local ObjectSetup = .text:0x00000000; // type:function size:0x30 scope:local
_prolog = .text:0x00000030; // type:function size:0x64 scope:global _prolog = .text:0x00000030; // type:function size:0x64 scope:global
_epilog = .text:0x00000094; // type:function size:0x4C scope:global _epilog = .text:0x00000094; // type:function size:0x4C scope:global
BoardCreate = .text:0x000000E0; // type:function size:0x1D4 BoardCreate = .text:0x000000E0; // type:function size:0x1D4

View file

@ -999,7 +999,7 @@ HuRestartSystem = .text:0x8005AE34; // type:function size:0xDC
HuSoftResetCheck = .text:0x8005AF10; // type:function size:0xFC scope:local HuSoftResetCheck = .text:0x8005AF10; // type:function size:0xFC scope:local
HuSoftResetCountCheck = .text:0x8005B00C; // type:function size:0xCC scope:local HuSoftResetCountCheck = .text:0x8005B00C; // type:function size:0xCC scope:local
HuSoftResetPostProc = .text:0x8005B0D8; // type:function size:0x78 scope:local HuSoftResetPostProc = .text:0x8005B0D8; // type:function size:0x78 scope:local
BoardCommonInit = .text:0x8005B150; // type:function size:0x2E0 BoardObjectSetup = .text:0x8005B150; // type:function size:0x2E0
InitBoardFunc = .text:0x8005B430; // type:function size:0x64 scope:local InitBoardFunc = .text:0x8005B430; // type:function size:0x64 scope:local
ExecBoardFunc = .text:0x8005B494; // type:function size:0x9C scope:local ExecBoardFunc = .text:0x8005B494; // type:function size:0x9C scope:local
KillBoardFunc = .text:0x8005B530; // type:function size:0xCC scope:local KillBoardFunc = .text:0x8005B530; // type:function size:0xCC scope:local

View file

@ -14,7 +14,7 @@ typedef void (*VoidFunc)(void);
extern const VoidFunc _ctors[]; extern const VoidFunc _ctors[];
extern const VoidFunc _dtors[]; extern const VoidFunc _dtors[];
extern void BoardCommonInit(VoidFunc create, VoidFunc destroy); extern void BoardObjectSetup(VoidFunc create, VoidFunc destroy);
extern void BoardCreate(void); extern void BoardCreate(void);
extern void BoardDestroy(void); extern void BoardDestroy(void);

View file

@ -1,8 +1,8 @@
#include "REL/board_executor.h" #include "REL/board_executor.h"
#include "rel_sqrt_consts.h" #include "rel_sqrt_consts.h"
static void InitBoard(void) { static void ObjectSetup(void) {
BoardCommonInit(BoardCreate, BoardDestroy); BoardObjectSetup(BoardCreate, BoardDestroy);
} }
s32 _prolog(void) { s32 _prolog(void) {
@ -11,7 +11,7 @@ s32 _prolog(void) {
(**ctors)(); (**ctors)();
ctors++; ctors++;
} }
InitBoard(); ObjectSetup();
return 0; return 0;
} }

View file

@ -80,7 +80,7 @@ static s32 ExecTurnStart(void);
static void CreateBoard(void); static void CreateBoard(void);
static void DestroyBoard(void); static void DestroyBoard(void);
void BoardCommonInit(BoardFunc create, BoardFunc destroy) void BoardObjectSetup(BoardFunc create, BoardFunc destroy)
{ {
omSysPauseEnable(FALSE); omSysPauseEnable(FALSE);
if(!_CheckFlag(FLAG_ID_MAKE(1, 0))) { if(!_CheckFlag(FLAG_ID_MAKE(1, 0))) {

View file

@ -652,7 +652,7 @@ void BoardDiceValueSet(void);
void BoardDiceStop(void); void BoardDiceStop(void);
void BoardDicePauseAll(void); void BoardDicePauseAll(void);
void BoardDiceDoneCheck(void); void BoardDiceDoneCheck(void);
void BoardCommonInit(void); void BoardObjectSetup(void);
void BoardStoryConfigSet(void); void BoardStoryConfigSet(void);
void BoardPartyConfigSet(void); void BoardPartyConfigSet(void);
void BoardSaveInit(void); void BoardSaveInit(void);
@ -1669,7 +1669,7 @@ extern void _kerjmp_BoardDiceValueSet(void);
extern void _kerjmp_BoardDiceStop(void); extern void _kerjmp_BoardDiceStop(void);
extern void _kerjmp_BoardDicePauseAll(void); extern void _kerjmp_BoardDicePauseAll(void);
extern void _kerjmp_BoardDiceDoneCheck(void); extern void _kerjmp_BoardDiceDoneCheck(void);
extern void _kerjmp_BoardCommonInit(void); extern void _kerjmp_BoardObjectSetup(void);
extern void _kerjmp_BoardStoryConfigSet(void); extern void _kerjmp_BoardStoryConfigSet(void);
extern void _kerjmp_BoardPartyConfigSet(void); extern void _kerjmp_BoardPartyConfigSet(void);
extern void _kerjmp_BoardSaveInit(void); extern void _kerjmp_BoardSaveInit(void);
@ -3343,8 +3343,8 @@ asm void _kerent(void) {
b BoardDicePauseAll b BoardDicePauseAll
entry _kerjmp_BoardDiceDoneCheck entry _kerjmp_BoardDiceDoneCheck
b BoardDiceDoneCheck b BoardDiceDoneCheck
entry _kerjmp_BoardCommonInit entry _kerjmp_BoardObjectSetup
b BoardCommonInit b BoardObjectSetup
entry _kerjmp_BoardStoryConfigSet entry _kerjmp_BoardStoryConfigSet
b BoardStoryConfigSet b BoardStoryConfigSet
entry _kerjmp_BoardPartyConfigSet entry _kerjmp_BoardPartyConfigSet