mirror of
https://github.com/SeekyCt/spm-decomp.git
synced 2024-12-03 11:01:06 +00:00
Use STRIPPED macro in more places
This commit is contained in:
parent
12047fba90
commit
572da45160
@ -351,7 +351,7 @@ f32 evtSetFloat(EvtEntry * entry, EvtVar variable, f32 value);
|
||||
Returns a pointer to the instruction after the specified label
|
||||
in an entry's script
|
||||
*/
|
||||
EvtScriptCode * evtSearchLabel(EvtEntry * entry, s32 id); // inlined
|
||||
STRIPPED(EvtScriptCode * evtSearchLabel(EvtEntry * entry, s32 id))
|
||||
|
||||
/*
|
||||
Returns a pointer to the instruction after the next else on the
|
||||
|
@ -118,14 +118,14 @@ DECOMP_STATIC(MarioPouchWork mario_pouch_work2)
|
||||
Returns a pointer to the MarioPouchWork / MarioPouchWork2 instance
|
||||
*/
|
||||
MarioPouchWork * pouchGetPtr();
|
||||
MarioPouchWork2 * pouch2GetPtr(); // inlined
|
||||
STRIPPED(MarioPouchWork2 * pouch2GetPtr())
|
||||
|
||||
/*
|
||||
Initialise data used by pouch functions
|
||||
Overwritten later once a save is loaded
|
||||
*/
|
||||
void pouchInit();
|
||||
void pouch2Init(); // inlined
|
||||
STRIPPED(void pouch2Init())
|
||||
void pouchReInit();
|
||||
|
||||
/*
|
||||
@ -169,7 +169,7 @@ s32 pouchGetMaxHp();
|
||||
/*
|
||||
Get/add to the player's xp
|
||||
*/
|
||||
void pouchSetXp(s32 xp); // inlined
|
||||
STRIPPED(void pouchSetXp(s32 xp))
|
||||
s32 pouchGetXp();
|
||||
void pouchAddXp(s32 increase);
|
||||
|
||||
@ -178,7 +178,7 @@ void pouchAddXp(s32 increase);
|
||||
*/
|
||||
void pouchSetCoin(s32 coins);
|
||||
s32 pouchGetCoin();
|
||||
void pouchAddTotalCoin(s32 increase); // inlined
|
||||
STRIPPED(void pouchAddTotalCoin(s32 increase))
|
||||
void pouchAddCoin(s32 increase); // increases totalCoinsCollected
|
||||
|
||||
/*
|
||||
|
@ -89,9 +89,8 @@ s32 NORETURN ATTRIBUTE_FORMAT(printf, 4, 5) __assert2(
|
||||
|
||||
/*
|
||||
Rounds a float to an int
|
||||
Deadstripped, always inlined
|
||||
*/
|
||||
s32 roundi(f32 x);
|
||||
STRIPPED(s32 roundi(f32 x))
|
||||
|
||||
/*
|
||||
Adjusts an angle to be 0 <= x < 360
|
||||
@ -144,9 +143,8 @@ void sysRandInit();
|
||||
|
||||
/*
|
||||
Gets the current screen draw token
|
||||
Deadstripped, always inlined
|
||||
*/
|
||||
u16 sysGetToken();
|
||||
STRIPPED(u16 sysGetToken())
|
||||
|
||||
/*
|
||||
Waits until the next screen draw, or max 100ms
|
||||
|
Loading…
Reference in New Issue
Block a user