Matched board/pause

This commit is contained in:
mrshigure 2024-02-12 11:45:34 -08:00
parent fa7bbef612
commit ea0cf380bb
8 changed files with 1597 additions and 4 deletions

10
include/game/board/pause.h Executable file
View file

@ -0,0 +1,10 @@
#ifndef _BOARD_PAUSE_H
#define _BOARD_PAUSE_H
#include "dolphin/types.h"
void BoardPauseStart(void);
BOOL BoardPauseActiveCheck(void);
BOOL BoardPauseReqCheck(void);
#endif

View file

@ -152,11 +152,31 @@ static inline s32 GWTeamGet(void)
return GWSystem.team;
}
static inline s32 GWPartyGet(void)
{
return GWSystem.party;
}
static inline s32 GWLanguageGet(void)
{
return GWGameStat.language;
}
static inline s32 GWRumbleGet(void)
{
return GWGameStat.rumble;
}
static inline s32 GWMGExplainGet(void)
{
return GWSystem.explain_mg;
}
static inline s32 GWMGShowComGet(void)
{
return GWSystem.show_com_mg;
}
static inline s32 GWMGListGet(void)
{
return GWSystem.mg_list;
@ -167,6 +187,11 @@ static inline s32 GWMessSpeedGet(void)
return GWSystem.mess_speed;
}
static inline s32 GWTurnGet(void)
{
return GWSystem.turn;
}
static inline s32 GWBoardGet(void)
{
return GWSystem.board;

View file

@ -95,7 +95,7 @@ void HuWinScissorSet(s16 window, s16 x, s16 y, s16 w, s16 h);
void HuWinPriSet(s16 window, s16 prio);
void HuWinAttrSet(s16 window, u32 attr);
void HuWinAttrReset(s16 window, u32 attr);
u8 HuWinStatGet(s16 window);
s16 HuWinStatGet(s16 window);
void HuWinMesColSet(s16 window, u8 color);
void HuWinMesPalSet(s16 window, u8 index, u8 r, u8 g, u8 b);
void HuWinBGTPLvlSet(s16 window, float tp_level);