x64 and hsfload improvements, build every REL (#582)

* Port some of hsfload.c

* More byteswaps in hsfload.c

* Finish hsfload besides cenv

* hsfload fixes

* Some x64 improvements

* More x64 improvements

* 64 bit improvements

* Link in lots of files

* Fix armem bug

* Fix dll killing, load modeseldll

* Fixes, clearing TODOs

* Tons of warning/error fixes

* Linux build fixes

* Add -fPIC flag to fix build on x64 linux

* GXSETARRAY sizes and misc fixes

* More fixes

* Build all RELs

* Implement C_Quat functions

* Fix PAL build
This commit is contained in:
Dávid Balatoni 2025-04-14 18:02:42 +02:00 committed by GitHub
parent bc19d2263b
commit 34cf507e3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
186 changed files with 3256 additions and 1540 deletions

View file

@ -1313,8 +1313,6 @@ void HuWinMesRead(s32 mess_data_no)
void HuWinMesSet(s16 window, u32 mess)
{
#ifdef __MWERKS__
// TODO PC
WindowData *window_ptr = &winData[window];
window_ptr->stat = 1;
@ -1341,13 +1339,10 @@ void HuWinMesSet(s16 window, u32 mess)
window_ptr->mess_time = 0;
#endif
}
#endif
}
void HuWinInsertMesSet(s16 window, u32 mess, s16 index)
{
#ifdef __MWERKS__
// TODO PC
WindowData *window_ptr = &winData[window];
if (!(mess & 0x80000000)) {
@ -1363,7 +1358,6 @@ void HuWinInsertMesSet(s16 window, u32 mess, s16 index)
else {
window_ptr->insert_mess[index] = (u8 *)mess;
}
#endif
}
s16 HuWinChoiceGet(s16 window, s16 start_choice)
@ -1668,8 +1662,6 @@ void HuWinMesMaxSizeBetGet(float *size, u32 start, u32 end)
static void GetMesMaxSizeSub(u32 mess)
{
#ifdef __MWERKS__
// TODO PC
s16 line_h;
s16 char_w;
s16 line_w;
@ -1773,7 +1765,6 @@ static void GetMesMaxSizeSub(u32 mess)
if (winMaxHeight < line_h) {
winMaxHeight = line_h;
}
#endif
}
static s32 GetMesMaxSizeSub2(WindowData *window, u8 *mess_data)