Add support for PAL version (#464)
* Initial setup for PAL version * Add hashes to config.yml Set REL/empty.c to matching for every version Turn off quick-analysis for PAL * Set nisDll matching only for the US version * More config.yml fixes and reran auto-analysis * Split PAL to sprput * Add more symbols * Split a lot more code in PAL * Split more Also introduce version.h header * Split to board stuff * Port early board TUs to PAL * More board PAL ports * Split rest of board code * Board RELs porting to PAL * Match w06Dll/fire.c in PAL * Match w04 big boo for PAL --------- Co-authored-by: dbalatoni13 <stubiflex.junior@gmail.com>
This commit is contained in:
parent
80015a6e5e
commit
d0a5c85d3e
236 changed files with 40998 additions and 390 deletions
|
|
@ -396,20 +396,32 @@ static void DestroyFocus(void) {
|
|||
|
||||
static void CreateButtonWin(void) {
|
||||
float sp8[2];
|
||||
float var_f31;
|
||||
float var_f30;
|
||||
float posX;
|
||||
float posY;
|
||||
s32 var_r31;
|
||||
|
||||
if (viewControls != 2) {
|
||||
var_r31 = MAKE_MESSID(0x09, 0x05);
|
||||
var_f31 = 286.0f;
|
||||
#if VERSION_PAL
|
||||
HuWinMesMaxSizeGet(1, sp8, var_r31);
|
||||
posX = 288-((sp8[0]/2)-32);
|
||||
#endif
|
||||
posY = 286.0f;
|
||||
} else {
|
||||
var_r31 = MAKE_MESSID(0x10, 0x4D);
|
||||
var_f31 = 328.0f;
|
||||
#if VERSION_PAL
|
||||
posX = -10000.0f;
|
||||
posY = 324.0f;
|
||||
#else
|
||||
posY = 328.0f;
|
||||
#endif
|
||||
|
||||
}
|
||||
HuWinMesMaxSizeGet(1, sp8, var_r31);
|
||||
var_f30 = -10000.0f;
|
||||
buttonWin = HuWinCreate(var_f30, var_f31, sp8[0], sp8[1], 0);
|
||||
#if VERSION_NTSC
|
||||
posX = -10000.0f;
|
||||
#endif
|
||||
buttonWin = HuWinCreate(posX, posY, sp8[0], sp8[1], 0);
|
||||
HuWinBGTPLvlSet(buttonWin, 0.0f);
|
||||
HuWinMesSpeedSet(buttonWin, 0);
|
||||
HuWinMesSet(buttonWin, var_r31);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue