mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-11-23 13:09:44 +00:00
87c23d5cca
Some checks failed
Format code / format (push) Has been cancelled
Build C code / extract-assets (push) Has been cancelled
Build Saturn version / build-and-test-saturn (push) Has been cancelled
Build Saturn version / function-finder-saturn (push) Has been cancelled
Build Debug Module tool / build (push) Has been cancelled
Build PSX and PSP version / build-and-test (pspeu, hd) (push) Has been cancelled
Build PSX and PSP version / build-and-test (pspeu, pspeu) (push) Has been cancelled
Build PSX and PSP version / build-and-test (us, us) (push) Has been cancelled
Build C code / build-linux (push) Has been cancelled
Build C code / build-macos (push) Has been cancelled
Build C code / build-windows (push) Has been cancelled
Build C code / build-linux-lle (push) Has been cancelled
Build PSX and PSP version / generate-progress-report (pspeu, hd) (push) Has been cancelled
Build PSX and PSP version / generate-progress-report (pspeu, pspeu) (push) Has been cancelled
Build PSX and PSP version / generate-progress-report (us, us) (push) Has been cancelled
Build PSX and PSP version / generate-duplicates-report (us, us) (push) Has been cancelled
Build PSX and PSP version / generate-duplicates-report-psp (pspeu, pspeu) (push) Has been cancelled
Lots of cleanup here to make the code easier to read. 1. Adding CLUT index defines to avoid magic numbers 2. Adding InitializeMode enum and hooking that up 3. Updating function names for servant init 4. Cleaning up magic numbers used in tt_000 init function I wanted to add a enum for the EntityId, but both servants share 0xD1. Looking at the other EntityIDs definitions, there seems to be some crossover, but it also looks like they may be partly unique across the different binaries. Probably need more study to figure out how to unify them (or if it's even possible to unify). We also may want to look at splitting enum definitions and defining flags/fixed values into some sort of enum file structure. Having them all in game.h is making a large file. But we would obviously not want to fracture the codebase more. Either way, that's way beyond the scope of what I wanted to do here.
81 lines
2.1 KiB
Plaintext
81 lines
2.1 KiB
Plaintext
SetEntityAnimation = 0x092e7680;
|
|
func_8017110C = 0x092e76c8;
|
|
CheckEntityValid = 0x092e7a78;
|
|
func_80171560 = 0x092e7b80;
|
|
CreateBlueTrailEntity = 0x092e7b90;
|
|
func_8017160C = 0x092e7c68;
|
|
func_8017170C = 0x092e7db0;
|
|
func_801718A0 = 0x092e8088;
|
|
func_801719E0 = 0x092e8260;
|
|
ServantInit = 0x092e8a48;
|
|
func_80172120 = 0x092e8d18;
|
|
func_80172C30 = 0x092e9e50;
|
|
func_8017339C = 0x092EA930;
|
|
func_801733A4 = 0x092EA938;
|
|
func_801733AC = 0x092EA940;
|
|
func_801733B4 = 0x092EA948;
|
|
func_801733BC = 0x092EA950;
|
|
func_801733C4 = 0x092EA958;
|
|
func_801733CC = 0x092EA960;
|
|
BatFamiliarBlueTrail = 0x092ea968;
|
|
func_80173C0C = 0x092EB7D8;
|
|
func_80173C14 = 0x092EB7E0;
|
|
func_80173C1C = 0x092EB7E8;
|
|
func_80173C24 = 0x092EB7F0;
|
|
DestroyServantEntity = 0x092eb7f8;
|
|
DestroyEntity = 0x092eb850;
|
|
CalculateAngleToEntity = 0x092eb8e8;
|
|
GetTargetPositionWithDistanceBuffer = 0x092eb988;
|
|
ProcessEvent = 0x092eba98;
|
|
CreateEventEntity = 0x092ebec8;
|
|
IsMovementAllowed = 0x092ebfb8;
|
|
ServantUnk0 = 0x092ec150;
|
|
D_80170448 = 0x092EC280;
|
|
D_80170040 = 0x092EC2E0;
|
|
D_801704A8 = 0x092EC768;
|
|
D_801704E0 = 0x092EC7A0;
|
|
D_80170514 = 0x092EC7D8;
|
|
D_8017054C = 0x092EC810;
|
|
D_801705EC = 0x092EC8B0;
|
|
D_801705F4 = 0x092EC8B8;
|
|
D_80170608 = 0x092EC8D0;
|
|
D_80170658 = 0x092EC920;
|
|
D_80170720 = 0x092EC9E8;
|
|
g_Events = 0x092ECA28;
|
|
g_EventQueue = 0x092ed358;
|
|
g_ServantDesc = 0x092ED360;
|
|
D_801748D8 = 0x092ED480;
|
|
D_80174AFC = 0x092ED680;
|
|
D_80174B00 = 0x092ED688;
|
|
D_80174B04 = 0x092ED690;
|
|
D_80174B08 = 0x092ED698;
|
|
D_80174B0C = 0x092ED6A0;
|
|
D_80174B10 = 0x092ED6A8;
|
|
D_80174B14 = 0x092ED6B0;
|
|
D_80174B18 = 0x092ED6B8;
|
|
D_80174B1C = 0x092ED6C0;
|
|
D_80174B20 = 0x092ED6C8;
|
|
D_80174B24 = 0x092ED6D0;
|
|
D_80174B28 = 0x092ED6D8;
|
|
D_80174B2C = 0x092ED6E0;
|
|
D_80174B30 = 0x092ED6E8;
|
|
D_80174B34 = 0x092ED6F0;
|
|
D_80174B38 = 0x092ED6F8;
|
|
D_80174B3C = 0x092ED700;
|
|
D_80174B40 = 0x092ED708;
|
|
D_80174B44 = 0x092ED710;
|
|
D_80174B48 = 0x092ED718;
|
|
D_80174B4C = 0x092ED720;
|
|
D_80174B8C = 0x092ED760;
|
|
D_80174BCC = 0x092ED7A0;
|
|
D_80174BEC = 0x092ED7C0;
|
|
D_80174C0C = 0x092ED7E0;
|
|
D_80174C2C = 0x092ED800;
|
|
g_CurrentServant = 0x092ed808;
|
|
g_CurrentRoomX = 0x092ed810;
|
|
g_CurrentRoomY = 0x092ed818;
|
|
D_80174D40 = 0x092ED820;
|
|
g_IsServantDestroyed = 0x092ED828;
|
|
D_80174C3C = 0x092ED830;
|
|
D_80174C30 = 0x092ed930;
|