* 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>
* feat: Unify code structure to fit other RMSX files
fix: Change type of ActorUnkRMSD.mUnk_158 that was too big to unk32 as placeholder
* feat: Apply patch from Yanis
Co-authored-by: Yanis <35189056+Yanis002@users.noreply.github.com>
* fix: Update code to get rid of GetResource and use new function
* Update src/063_Shrine/Actor/ActorUnkRMSD.cpp
Co-authored-by: Yanis <35189056+Yanis002@users.noreply.github.com>
* Merge branch 'main' into ActorUnkRMSD
* fix: Format file
* feat: Rename RMSX base class
---------
Co-authored-by: Yanis <35189056+Yanis002@users.noreply.github.com>
* UnkStruct_027e09b8_001 OK
* match func_ov001_020b7830
* fix build issues
* UnkStruct_027e0cd8_001 49%
* UnkStruct_027e0cd8_001 OK
* fix build issues
* UnkStruct_027e0cd8_0C_001 92%
* port some MSL C++ headers from rb3 and key decomps
* fix build issues
* UnkStruct_027e0cd8_0C_001 98%
* 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
* GameModeAdventure_001 OK
* GameModeAdventure_024 17%
* GameModeAdventure_024 73%
* GameModeAdventure_024 99%
* jp region differences
* rename GameModeAdventure_024 and GameModeAdventure + UnkStruct_ov000_020d8660_024 OK
* UnkActorSystem1OK
* UnkActorSystem2 OK
* delink more of ov024 & UnkStruct_027e0998_024 OK
* improve instance stuff & UnkStruct_027e0cf8_024 OK
* AdventureModeManager_160_024 OK & GameModeStartUp OK
* fix regressions
* fix regressions 2
* AdventureModeManager_170 OK
* AdventureModeManager_174_Base OK
* AdventureModeManager_174 OK
* mark GameModeAdventure_024 as complete
* AdventureModeManager_178 OK
* AdventureModeManager_180 OK
* AdventureModeManager_184_024 OK
* AdventureModeManager_18C_024 OK & AdventureModeManager_190_024 OK
* AdventureModeManager_15C_20_00 61%
* AdventureModeManager_15C_20_00 OK
* jp version differences
* delink what's left in the overlay
* fix regressions
* AdventureModeManager_1B8_Base_024 98%
* AdventureModeManager_1B8 48% and link AdventureModeManager_024
* AdventureModeManager_1B8_Base and AdventureModeManager_1B8 OK
* oops
* mark statics as local
* name item 31 to 34
* name item 25 to 29
* decompile PassengerManager (95%)
* started cargo manager
* local attribute
* passenger/cargo manager ov001 functions
* name item manager functions
* fix build issues & more docs on 027e0cd8
* format
* 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
* match UnkStruct_ov000_020b4f84_00_Base
* lots of random stuff
* match other funcs from game.cpp
* data_02049a2c -> gGame, UnkStruct_02049a2c -> Game
* match operator new
* fix regressions
* fix some warnings
* another round of random things
* another round of random things 2
* complete slots column in overlays.md
* add scene indices
* gamemode stuff
* misc stuff
* fix build issues
* document random things
* fix regressions
* final round of random things (for now)
* match random init
* UnkSystem2_UnkSubSystem1_Derived1 related docs
* match func_ov031_020e9108 and FileSelect_UnkClass7::vfunc_00
* improve func_02017ea4
* rename next functions
* actor rupee improvements
* update gitignore
* fix broken match
* fileselectmain improvements
* fix broken match
* more misc progress
* fix build issues
* fix regressions