Merge branch 'Rainchus:main' into main
This commit is contained in:
commit
fe2ac08e57
20 changed files with 1964 additions and 773 deletions
8
include/game/board/battle.h
Executable file
8
include/game/board/battle.h
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#ifndef _BOARD_BATTLE_H
|
||||
#define _BOARD_BATTLE_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
void BoardBattleExec(s32 player, s32 space);
|
||||
|
||||
#endif
|
||||
|
|
@ -10,7 +10,7 @@ void BoardComKeySetDown(void);
|
|||
s8 BoardComPreferItemGet(s32 arg0, s8 *arg1, s8 arg2);
|
||||
s8 BoardComPreferItemCheck(s32 arg0, s8 arg1, s8 arg2, s8 arg3);
|
||||
s32 BoardComItemWeightGet(s32 arg0, s32 arg1);
|
||||
s32 BoardComTutorialItemGet(s32 arg0);
|
||||
s32 BoardComUseItemSlotGet(s32 arg0);
|
||||
s32 BoardComUseItemSet(s32 arg0, s32 arg1);
|
||||
BOOL BoardComUseItemCheck(s32 arg0);
|
||||
s32 BoardComJunctionInputGet(s32 arg0, Vec *arg1, s32 arg2, float *arg3);
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
s16 BoardComPathReachCheck(s16 arg0, u32 arg1, s32 arg2);
|
||||
s16 BoardComPathBestGet(s16 arg0);
|
||||
s16 BoardComPathLenGet(s16 arg0, s16 arg1);
|
||||
s16 BoardComPathW20BestGet(s16 arg0, u32 arg1, s16 arg2);
|
||||
s16 BoardComPathShortcutLenGet(s16 space, u32 type, s32 block_pipe);
|
||||
s16 BoardComPathBestGet(s16 space);
|
||||
s16 BoardComPathLenGet(s16 space, s16 space_other);
|
||||
s16 BoardComPathBestGetFlag(s16 space, u32 flag, s16 len);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -180,14 +180,28 @@ static inline s32 GWMGShowComGet(void)
|
|||
|
||||
static inline s32 GWMGListGet(void)
|
||||
{
|
||||
if (GWSystem.mg_list == 3) {
|
||||
GWSystem.mg_list = 0;
|
||||
}
|
||||
return GWSystem.mg_list;
|
||||
}
|
||||
|
||||
static inline s32 GWMessSpeedGet(void)
|
||||
{
|
||||
if (GWSystem.mess_speed == 3) {
|
||||
GWSystem.mess_speed = 1;
|
||||
}
|
||||
return GWSystem.mess_speed;
|
||||
}
|
||||
|
||||
static inline s32 GWSaveModeGet(void)
|
||||
{
|
||||
if (GWSystem.save_mode == 3) {
|
||||
GWSystem.save_mode = 1;
|
||||
}
|
||||
return GWSystem.save_mode;
|
||||
}
|
||||
|
||||
static inline s32 GWTurnGet(void)
|
||||
{
|
||||
return GWSystem.turn;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue