mirror of
https://github.com/zeldaret/mm.git
synced 2026-08-11 03:25:45 -04:00
z_message progress (#701)
* 8 functions matching, 1 non-matching, 45 untouched * match func_801518B0 * match func_8014CC14 * matching 8 func, 1 non-matching * matched func_80148CBC * matched func_80156758 * matched func_80147564 * matched func_80151BB4 * matched func80152EC0/Message_Spawn_Song_Effect * matched func_80151C9C * WIP func_80148B98 * WIP func_80151938 * matched func_80151938 * matched func_80148B98 * matched func_80147734 * matched func_80147624 * WIP func_8014EBC * match func_801518B0 * matched func_80147564 * matched func80152EC0/Message_Spawn_Song_Effect * matched func_80151C9C * WIP func_80148B98 * matched func_80151938 * matched func_80148B98 * matched func_80147734 * matched func_80147624 * WIP#2 func_8014EBC * matched func_80149EBC * WIP func_8014CCB4 * matched func_8014CCB4 * matched func_80151A68 * WIP func_8014D62C * fix func_8015A68 signature * z_message_nes & z_message_staff progress * z_message_nes & z_message_staff renaming * documenting z_message * cleaning & renaming * documenting MessageContext * matched func_80151A68 * format * naming convention fix * re-add func_80147564 * apply renaming of Message_ShouldAdvanceSilent on the whole project * re-format, add clang-format off/on in z_message.c needed for matching * rename staff => credits; add renames in actorfixer. * change rupees array to ascii * remove useless comments * change MessageContext.decodedBuffer to a union * remove decodedBuffer from actorfixer * applied AngheloAlf suggestions & ran sfxconvert on z_message.c * rename message_struct => message_data_static; revert decodedBuffer as union creating differences. * use true/false instead of 1/0 * use SET_FULLSCREEN_VIEWPORT macro in func_80152c64 * AngheloAlf suggestions. * extract assign from dayTime calculation for readability in Message_LoadTimeNES * remove bss_reordering from osFlash, idle & boot_main to typedef MessageTableEntry in message_data_static & make decodedBuffer an union. * remove useless casts * Changes hexa to ascii chars when it's meaningful; add comments to func_8014CCB4 to show what hexa constant means. * Hensldm suggestions * ran actorfixer on new changes; fix new bss reordering error introduced with rebase * use new TIME_TO_MINUTES_F macro * re-ran format.sh * hensldm suggestions #2 + overall cleaning * remove useless parenthesis * Update include/message_data_static.h Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> * actorfixer and format * more fixes Co-authored-by: Andzura <andzura@andzura.fr> Co-authored-by: abaud <adrien.baud@inria.fr> Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
This commit is contained in:
+22
-22
@@ -1801,7 +1801,7 @@ void func_80105818(GlobalContext* globalCtx, u32 uParm2, TransitionActorEntry* p
|
||||
// void func_80109F78(void);
|
||||
s32 func_8010A000(GlobalContext* globalCtx);
|
||||
s32 func_8010A074(GlobalContext* globalCtx);
|
||||
// void func_8010A0A4(void);
|
||||
s32 func_8010A0A4(GlobalContext* globalCtx);
|
||||
// void func_8010A0F0(void);
|
||||
// void func_8010A164(void);
|
||||
// void func_8010A194(void);
|
||||
@@ -2609,10 +2609,10 @@ void func_80147198(SramContext* param_1);
|
||||
// void Sram_nop8014750C(UNK_TYPE4 param_1);
|
||||
// void func_80147520(void);
|
||||
void func_80147564(GlobalContext* globalCtx);
|
||||
s32 func_80147624(GlobalContext* globalCtx);
|
||||
s32 func_80147734(GlobalContext* globalCtx);
|
||||
s32 Message_ShouldAdvance(GlobalContext* globalCtx);
|
||||
s32 Message_ShouldAdvanceSilent(GlobalContext* globalCtx);
|
||||
void func_801477B4(GlobalContext* globalCtx);
|
||||
// void func_80147818(GlobalContext* globalCtx, UNK_PTR puParm2, UNK_TYPE4 uParm3, UNK_TYPE4 uParm4);
|
||||
void func_80147818(GlobalContext* globalCtx, UNK_PTR puParm2, UNK_TYPE4 uParm3, UNK_TYPE4 uParm4);
|
||||
// void func_80147F18(GlobalContext* globalCtx, UNK_PTR puParm2, UNK_TYPE4 uParm3, UNK_TYPE4 uParm4);
|
||||
// void func_80148558(GlobalContext* globalCtx, UNK_PTR puParm2, UNK_TYPE4 uParm3, UNK_TYPE4 uParm4);
|
||||
void func_80148B98(GlobalContext* globalCtx, u8 bParm2);
|
||||
@@ -2623,28 +2623,28 @@ void func_80148B98(GlobalContext* globalCtx, u8 bParm2);
|
||||
// void func_80149454(void);
|
||||
// void func_801496C8(void);
|
||||
// void func_8014995C(void);
|
||||
// void func_80149C18(void);
|
||||
// void func_80149EBC(void);
|
||||
void func_80149C18(GlobalContext* globalCtx);
|
||||
// void Message_FindMessage(void);
|
||||
void func_80149F74(GlobalContext* globalCtx, u32** ppuParm2);
|
||||
// void func_8014AAD0(void);
|
||||
void func_8014ADBC(GlobalContext* globalCtx, UNK_PTR puParm2);
|
||||
// void func_8014C70C(void);
|
||||
// void func_8014CC14(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE2 param_5);
|
||||
void Message_LoadChar(GlobalContext* globalCtx, u16 codePointIndex, s32* offset, f32* arg3, s16 arg4);
|
||||
// void func_8014CCB4(void);
|
||||
// void func_8014CDF0(void);
|
||||
// void func_8014CFDC(void);
|
||||
// void func_8014D304(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5);
|
||||
void func_8014D304(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5);
|
||||
// void func_8014D62C(void);
|
||||
// void func_8014D7B4(void);
|
||||
// void func_80150A84(void);
|
||||
void func_80150A84(GlobalContext* globalCtx);
|
||||
void func_80150D08(GlobalContext* globalCtx, u32 uParm2);
|
||||
// void func_801514B0(void);
|
||||
void Message_StartTextbox(GlobalContext* globalCtx, u16 textId, Actor* Actor);
|
||||
void func_80151938(GlobalContext* globalCtx, u16 textId);
|
||||
void func_80151A68(GlobalContext* globalCtx, u16 textId);
|
||||
void func_80151BB4(GlobalContext* globalCtx, u32 uParm2);
|
||||
void func_80151BB4(GlobalContext* globalCtx, u8 uParm2);
|
||||
// void func_80151C9C(void);
|
||||
// void func_80151DA4(void);
|
||||
void func_80151DA4(GlobalContext* globalCtx, u16 arg2);
|
||||
void func_80152434(GlobalContext* globalCtx, u16 arg2);
|
||||
// void func_80152464(void);
|
||||
u8 Message_GetState(MessageContext* msgCtx);
|
||||
@@ -2656,23 +2656,23 @@ u8 Message_GetState(MessageContext* msgCtx);
|
||||
// void func_80153750(void);
|
||||
// void func_80153E7C(void);
|
||||
// void func_80153EF0(void);
|
||||
// void func_801541D4(void);
|
||||
void func_801541D4(GlobalContext* globalCtx, Gfx** gfxp);
|
||||
// void func_80156758(void);
|
||||
void func_8015680C(GlobalContext* globalCtx);
|
||||
void func_801586A4(GlobalContext* globalCtx);
|
||||
void Message_Init(GlobalContext* globalCtx);
|
||||
void func_801588D0(GlobalContext* globalCtx, s16 param_2);
|
||||
// void func_80158988(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE2 param_5);
|
||||
// void func_80158A24(void);
|
||||
// void func_80158C04(void);
|
||||
// void func_80158D98(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE2 param_5);
|
||||
// void func_80158FB0(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5);
|
||||
// void func_8015926C(void);
|
||||
void Message_FindMessageNES(GlobalContext* globalCtx, u16 textId);
|
||||
// void Message_LoadCharNES(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE2 param_5);
|
||||
// void Message_LoadPluralRupeesNES(void);
|
||||
// void Message_LoadLocalizedRupeesNES(void);
|
||||
// void Message_LoadRupeesNES(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE2 param_5);
|
||||
// void Message_LoadTimeNES(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5);
|
||||
// void Message_LoadAreaTextNES(void);
|
||||
// void func_80159438(void);
|
||||
// void func_8015966C(void);
|
||||
void func_8015966C(GlobalContext* globalCtx, UNK_PTR puParm2, UNK_TYPE arg3);
|
||||
// void func_8015A144(void);
|
||||
// void func_8015B198(void);
|
||||
// void func_8015E750(void);
|
||||
void func_8015B198(GlobalContext* globalCtx);
|
||||
void Message_FindCreditsMessage(GlobalContext *globalCtx, u16 textId);
|
||||
void func_8015E7EC(GlobalContext* globalCtx, UNK_PTR puParm2);
|
||||
// void func_8015F8A8(UNK_TYPE4 ctxt);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user