mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-16 10:02:59 -07:00
Rando version warning on different builds (#2420)
* save build version to savefile * adjust rando hash icons to use fade in/out * add dialog message support on the file select screen and display rando version warning * remove duplicated message functions and use stubbed play state instead for rando warning * add major/minor/patch version saving to file and compare against * use strncpy and memset for build version * don't show rando warning one copy/erase screens * review feedback * Add german and french translations for rando warning Co-authored-by: PurpleHato <linkvssangoku.jr@gmail.com> --------- Co-authored-by: PurpleHato <linkvssangoku.jr@gmail.com>
This commit is contained in:
parent
27d7cb0bc1
commit
1fc6a2f08f
12 changed files with 139 additions and 12 deletions
|
@ -2416,7 +2416,7 @@ void GameOver_Update(PlayState* play);
|
|||
void func_80110990(PlayState* play);
|
||||
void func_801109B0(PlayState* play);
|
||||
void Message_Init(PlayState* play);
|
||||
void func_80112098(PlayState* play);
|
||||
void Regs_InitData(PlayState* play);
|
||||
|
||||
void Title_Init(GameState* thisx);
|
||||
void Title_PrintBuildInfo(Gfx** gfxp);
|
||||
|
@ -2433,6 +2433,11 @@ void Heaps_Free(void);
|
|||
|
||||
CollisionHeader* BgCheck_GetCollisionHeader(CollisionContext* colCtx, s32 bgId);
|
||||
|
||||
// Exposing these methods to leverage them from the file select screen to render messages
|
||||
void Message_OpenText(PlayState* play, u16 textId);
|
||||
void Message_Decode(PlayState* play);
|
||||
void Message_DrawText(PlayState* play, Gfx** gfxP);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#undef this
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue