* feat: begin decompiling ActorItemBoomerang
* feat: decompile functions
* refactor: rename function and use ActorState
* feat: match vfunc
* feat: magic stuff on addresses to match .data
* feat: more black magic
* feat: improvements
* feat: match .data
* feat: unmatch .data 😭
* feat: match stuff
* refactor: move shotarrows' class used in boomerang
* feat: fix mangled names
* feat: weird magic
* fix: build issues
* fix: build issue for jp version
* fix: back to +0.2% :yeah:
* feat: improvements before changing laptop
* feat: continue decompiling
* fix: build issues
* feat: improvements
* feat: solve build on eur
* fix: build issue
* fix: better match
* fix: match back ActorShotArrow data
* feat: increase .text matching
* fix: propagate changes to ActorShotArrow
* feat: matching func_ov031_020e5034
* fix: logical errors
* fix: replace whiles with fors
* style: use uppercased hex value
Co-authored-by: Yanis <35189056+Yanis002@users.noreply.github.com>
* style: do not use fx32 for global timer
Co-authored-by: Yanis <35189056+Yanis002@users.noreply.github.com>
* style: add parameters name in prototypes
Co-authored-by: Yanis <35189056+Yanis002@users.noreply.github.com>
* style: use bool instead of unk32 for external function
Co-authored-by: Yanis <35189056+Yanis002@users.noreply.github.com>
* style: use DEG2ANG
* refactor: use ActorRef instead of u16
* style: use boring array access instead of chad pointer manipulation
* fix: use bool as return type for ActorItemBoomerang::vfunc_2C
* feat: remove old non-matching comments
* style: explicit null check
* revert: change vfunc_2C back to void signature and change 01fff5d0 function's signature to bool
---------
Co-authored-by: Yanis <35189056+Yanis002@users.noreply.github.com>
* gcc fixes
* document random things in UnkStruct_027e09b8_00
* match func_ov001_020ba670 and rabbit docs
* match func_ov026_0211f394
* fix build issues
* match func_ov026_0211e3e0
* match func_ov026_02102924
* move structs to header
* document train rope thing
* MapObject OK and ActorRef stuff
* match more actor funcs
* fix regressions
* fix build issues
* more regressions fixes
* name keyt grab func
* UnkSubStruct19 -> CellAnimObject (based on the only assert string)
* fix build issues due to merge
* Actor::mUnk_4C -> Actor::mState + related changes
* create GetActorPtr template inline for Actor_c4
* ActorUnk_ov000_020a8bb0 -> Actor_Derived1
* actor: add comments about mUnk_50/52 and change type of mAngle
* name func_01ffd3d8 and func_01ffd400
* name func_01ffd3b0
* match func_ov024_020cf9d4 + improve the Random struct
* UnkStruct_027e0cf8_00_0C_024 45%
* match PassengerManager::GetRandomIndex
* UnkStruct_027e0cf8_00_0C_024 OK
* UnkStruct_027e0cf8_00_0C_024: do other sections
* UnkStruct_027e0cf8_08_024 55%
* cleanup: remplace delete into null by the delete macro
* UnkStruct_027e0cf8_08_024 OK
* fix build issues
* UnkStruct_ov024_020d86a0_024 OK
* PlayerActor_A0_38_024 .text OK, CreditsEndingType OK
* tools: create courselist.py to convert .CLB data to yaml
* UnkDataStruct4_14 OK
* UnkDataStruct4 17%
* UnkDataStruct4 OK
* MiscAdvManager OK
* PassengerManager OK
* fix build issues
* ZeldaTrainBinary OK
* mark PassengerManager as complete and adjust delinks
* UnkStruct_027e0cf8_08_00_024 OK
* document more of UnkStruct_027e0ce0
* savefile hotfixes
* UnkStruct_027e0ce0_34_024 OK
* code_020d46b4_024 OK
* UnkStruct_027e0d00 & UnkStruct_027e0d00_20 OK
* code_020d51dc_024 OK
* fix weird formatting
* UnkTrainSystem1 OK
* fix jp broken match
* UnkTrainSystem2 OK
* UnkStruct_027e0d08_024 31%
* fix build issues
* UnkStruct_027e0d08 OK!!!
* remove useless parenthesis
* ActorUnk_ov000_020a8bb0_EC OK
* move ActorUnk_ov000_020a8bb0_EC to MainGame/Actor/
* ActorUnkOBPC OK
* add sjiswrap support
* solve remaining gaps and fix build issues
* reorganise files + counter docs
* tools: remove format command execution from defaults
* merge headers from nitro decomp
* cleanup: use inlines from g2.h and gx.h when changing registers
* cleanup: remove externs declarations in source files
* playrget progress and match treasuremanager remaining functions
* some docs
* fix build issues
* random docs
* match func_ov094_02172290
* random docs
* actor cleanup
* match freestanding item funcs
* mType -> mpProfile
* decompile random functions
* docs and start of wip chest stuff
* random docs
* more random docs
* match func_ov036_0211d0a8
* match func_ov036_0211d2dc & func_ov036_0211d570
* match func_ov110_02184a40
* random doc
* document letter/stamps system
* match func_ov001_020bb9f8
* fix build issues
* decompile tres
* start decomp chest base
* fix regressions
* name TRES
* name UnkStruct_ov024_020d86b0
* name stamp types and update save struct stuff
* name things and document BMG IDs
* cutscene stuff
* fix build issues
* revert accidental change and document random stuff
* document cutscene indices
* make mUnk_0D a bool + disambiguate a reloc
* decomp some itcm functions
* set the right base class size
* actor and map object changes
* rename id getters functions
* document unknown file system used in mapobjectprofile
* start to document MapObjectProfile