Commit Graph

50 Commits

Author SHA1 Message Date
Rachel
122ee74d2d Identify unk_0200112C -> list_menu and label structs 2024-10-25 20:02:09 -07:00
Rachel
5599a4b21a Identify unk_02013A04 -> string_list, struct members, extern functions 2024-10-25 20:02:09 -07:00
Rachel
8f6b317313 Identify UnkStruct_02018340_t -> BgConfig and document fields 2024-10-22 10:15:00 -07:00
Rachel
163050584a Identify unk_02018340 -> bg_window 2024-10-20 11:59:06 -07:00
Rachel
b6ff10c33f Decorate TextPrinters with consts and macros 2024-10-19 18:32:10 -07:00
Fexty12573
6334d6fbd2 clang format 2024-07-07 11:09:04 +02:00
Fexty12573
97932c582a Move sprite resource structs to header and remove decl files 2024-07-07 10:38:52 +02:00
Fexty12573
48058a910e Document SpriteResource functions 2024-07-07 10:12:57 +02:00
Fexty12573
e0a28e0099 Rename sprite util files and struct 2024-07-07 10:01:08 +02:00
Rachel
36045f723b Format the source tree 2024-07-06 14:40:34 -07:00
Rachel
f77ba49579 Modify array-of-array/struct decls and BOOL funcptrs throughout ahead of clang-format run 2024-07-05 17:14:32 -07:00
Fexty12573
89099a699c Remove duplicate includes 2024-06-30 10:17:55 +02:00
Fexty12573
90f74076c3 Rename files accordingly 2024-06-30 10:17:55 +02:00
Fexty12573
d23322852c Rename GraphicElement* -> CellActor* 2024-06-30 10:17:55 +02:00
Fexty12573
969657753c Rename some CellActor structs 2024-06-30 10:17:12 +02:00
Adrienn Tindall
e10611d02b General Function Naming + Identify BmpList 2024-05-09 05:58:47 -04:00
RavePossum
554577e509 move options struct definition to options file, mass rename to game_options 2024-04-14 16:17:45 -04:00
Rachel
9890becf13 StringFormatter -> StringTemplate 2024-04-10 15:23:32 -07:00
Rachel
c854473a3e unk_0200B358.[h,c] -> string_template.[h,c] 2024-04-10 15:15:46 -07:00
Rachel
42ebc60be3 Collapse struct typedef into unk_0200B358.h 2024-04-10 15:12:59 -07:00
Rachel
a356b7cd28 unk_020067E8.[h,c] -> overlay_manager.[h,c] 2024-04-02 21:06:40 -07:00
Rachel
58a83127d8 Consolidate struct definitions for OverlayManager(Template) into single header 2024-04-02 20:55:41 -07:00
Rachel
cfb18041a1 UnkStruct_0208BE5C -> OverlayManagerTemplate 2024-04-02 18:41:31 -07:00
Rachel
319c26c4d0 UnkStruct_020067E8 -> OverlayManager 2024-04-02 18:34:47 -07:00
ravepossum
07ead576ee rename savedata.c and .h 2024-03-23 15:46:18 -04:00
ravepossum
60b004087c move savedata struct declaration out of separate file 2024-03-23 14:57:18 -04:00
Rachel
2a88567e80 Rename AnimationControlFlags -> Options + label struct fields 2024-02-19 11:25:30 -08:00
Rachel
ec274059e8 Label structs and functions used by Healthbar_DrawBattlerName
- UnkStruct_0200B358 → StringFormatter
- ov16_0223E0D0 → BattleSystem_StringFormatter
- sub_0200B5CC → StringFormatter_BufferNickname
- sub_0201D7E0 → PrintStringWithColorAndMargins
- sub_0201A870 → BGL_AddFramelessWindow
- sub_02021F98 → SpriteActor_ImageProxy
2024-02-11 12:18:32 -08:00
Rachel
b7fffbfc76
Rebase + clean-up PR#115 with current project state (#134)
* improving readability

also seemingly located the party healing function

* readability

* clean it up

* Update pokemon.h

* add function names

Adds names to many unnamed functions for readability. Also adds names to a couple structs.

* add function names

* add struct names

* more functions with human names

* rename chatotcrydata

* doxygen documentation

* update box mon function

ProcessBoxPokemonWithTrainerInfo is now UpdateBoxMonStatusAndTrainerInfo and all params are labeled

* fixing formatting

---------

Co-authored-by: Jack <schoenjack98@gmail.com>
2024-01-28 19:05:12 -08:00
lhearachel
57a0b5fcc4 [Mass Rename] Structs and subroutines for GiveExp task func
Functions:
- ov16_0223E05C -> BattleSystem_MessageLoader
- ov16_02259B38 -> BattleSystem_PokemonIsOT
- ov16_022499C0 -> BattleScript_CalcEffortValues
- ov16_0223EDF0 -> BattleSystem_TextSpeed
- ov16_0223FB24 -> BattleMessage_Print
- sub_0201D724  -> Message_Printing
- ov16_02265D14 -> BattleIO_UpdateExpGauge
- sub_02076B14  -> Pokemon_ShouldLevelUp
- ov16_02265FF8 -> BattleIO_PlayStatusEffect
- ov16_0226614C -> BattleIO_PlayLevelUpAnimation
- ov16_02251C94 -> BattleSystem_ReloadPokemon
- ov16_0224B520 -> BattleScript_LoadPartyLevelUpIcon
- ov16_0223DF00 -> BattleSystem_BGL
- ov16_0223DF04 -> BattleSystem_Window
- ov16_0223E064 -> BattleSystem_PaletteSys
- sub_02019060  -> BGL_SetPriority
- ov16_0223F8DC -> BattleSystem_SetGaugePriority
- sub_0200DA60  -> Window_SetFrame
- sub_0200DAA0  -> Window_FramePalette
- sub_02003050  -> PaletteSys_LoadPalette
- sub_0201A7E8  -> BGL_AddWindow
- sub_0201ADA4  -> BGL_FillWindow
- sub_0200DC48  -> Window_Show
- ov16_0223FB78 -> BattleMessage_PrintToWindow
- sub_0201AE78  -> BGL_WindowColor
- sub_02005748  -> Sound_PlayEffect
- sub_0200DC9C  -> Window_Clear
- sub_0201A8FC  -> BGL_DeleteWindow
- ov16_0224B7CC -> BattleScript_FreePartyLevelUpIcon
- sub_0207727C  -> Pokemon_LevelUpMove
- ov16_022664C4 -> BattleIO_ForgetMove
- sub_0200DA58  -> SysTask_Done

Structs:
- UnkStruct_02002F38 -> PaletteSys
- UnkStruct_02018340 -> BGL
- UnkStruct_0205AA50 -> Window
- UnkStruct_ov16_02248E74 -> PokemonStats
2023-10-13 10:03:01 -07:00
lhearachel
2af8be5995 Mass rename structs referenced by unk_0202440C.h 2023-09-23 11:06:46 -07:00
lhearachel
bc6823087d Rename files: unk_0200AC5C -> message 2023-09-09 10:38:29 -07:00
lhearachel
8090149c08 Label function names in unk_0200AC5C.h + make structs transparent 2023-09-09 10:30:40 -07:00
lhearachel
c81374e975 Merge strbuf headers 2023-09-04 11:15:47 -07:00
Lhea (Rachel)
f58b348e9d Rename occurrences: UnkStruct_02023790 -> Strbuf 2023-05-12 14:39:41 -07:00
Eduardo Quezada D'Ottone
3fc8fb7003 Applied review changes 2023-04-03 22:14:26 -04:00
Eduardo Quezada
96369f35de UnkStruct_ov97_02236340::unk_04PokemonStorageGBA::boxes 2023-02-28 16:52:33 -03:00
Eduardo Quezada
90df40c12a UnkStruct_ov97_02236340::unk_83C2PokemonStorageGBA::boxWallpapers 2023-02-28 16:50:00 -03:00
Eduardo Quezada
f7c3371382 UnkStruct_ov97_02236340::unk_8344PokemonStorageGBA::boxNames 2023-02-28 16:46:09 -03:00
Eduardo Quezada
241cdd9a5e PokemonStorageGBA: unk_00currentBox 2023-02-28 16:39:05 -03:00
Eduardo Quezada
e79347b2eb ov97_02236CA4SetGBABoxMonData 2023-02-28 12:38:56 -03:00
Eduardo Quezada
5df01ef663 Synced BoxPokemonGBA substruct names and GBA_MON_DATA enums 2023-02-28 11:16:55 -03:00
Eduardo Quezada
5c1d7d00d8 ov97_02236924GetGBABoxMonData 2023-02-28 10:01:55 -03:00
Eduardo Quezada
b19f6609cd UnkStruct_ov97_02236340PokemonStorageGBA 2023-02-27 22:27:40 -03:00
Eduardo Quezada
49271e1bdd UnkStruct_ov97_02236380_subXPokemonGBASubstructX-1 2023-02-23 10:16:00 -03:00
Eduardo Quezada
15b569e48c Moved BoxPokemonGBA substructs to include/overlay097/box_pokemon_gba.h 2023-02-22 18:13:53 -03:00
Eduardo Quezada
bdff8d1b25 Synced BoxPokemonGBA fields with pokeemerald 2023-02-20 22:59:19 -03:00
Eduardo Quezada
0277ff8d98 include/overlay097/struct_ov97_0223685C.h → include/overlay097/box_pokemon_gba.h` 2023-02-20 21:35:57 -03:00
Eduardo Quezada
24521de5f2 UnkStruct_ov97_0223685CBoxPokemonGBA 2023-02-20 21:16:10 -03:00
luckytyphlosion
46f6dc3bf4 Add in headers. 2022-12-23 14:05:03 -05:00