* feat: Start decompiling ActorUnkCANS ctor and vfunc_10
* feat: Improve vfunc_10
* feat: Decompile vfunc_18 and 1C
* fix: Remove trailing return
* feat: Progress on vfunc_20
* fix: Rename symbol
* feat: Finish first run over vfunc_20
* feat: Improve vfunc_20
* feat: Improve vfunc_20
* feat: Heavily improve vfunc_20
Almost done
* feat: Keep vfunc_20 going, add UnkAngleStruct to Actor.hpp
* feat: Some polish on vfunc_20
That's about what I can do, there are some tweaks left but I'm unable to
get anywhere.
Kind of proud ngl
* feat: Rename symbols and match vfunc_24
* fix: Fix jp symbol conflict
* feat: Decompile vfunc_2C
* feat: Fix symbols and signatures
* fix: Match switch statement by adding every cases
* feat: Match func_ov063_02157fa4
* feat: Match func_ov063_02158424
* feat: Match func_ov063_02158448
* feat: Match func_ov063_02158490
* feat: Match func_ov063_02158b0c
* feat: Match func_ov063_02158b34
* feat: Decompile most of func_ov063_02158b98 (need regalloc fix)
* feat: Create inner classes of ActorUnkCANS, match some vfuncs
* feat: Update some dtor symbol and match some ctor
* feat: Decompile UnkStruct 02162ee8 ctor
* feat: Rename jp symbols
* feat: Match func_ov063_021590c8
* feat: Match func_ov063_02159dfc
* feat: Decompile some functions
* fix: Fix old accesses
* fix: More merge artifacts
* fix: More merge artifacts
* chore: Move structs around and fix some uses
* feat: Start decompiling func_ov063_02158db0
* feat: Decompile some vfunc
vfunc_0C is really really weird
* fix: Fix use of removed struct
* feat: Match func_ov063_02159258
* feat: Match func_ov063_02159494
* feat: Match func_ov063_021595a4
* feat: Match func_ov063_02159618
* feat: Match func_ov063_02159714
* feat: Match func_ov063_02159784
* fix: Move UnkAngleStruct to math.hpp
* fix: .data of ActorRollingStone & ActorShotArrow
* feat: Match func_ov063_021598fc
* fix: Cleanup code for func_ov063_021598fc
* feat: Match func_ov063_02159ca8
* feat: Match func_ov063_02159d68
* fix: Fix double declaration of func
* feat: Match func_ov063_02159e20
* feat: Decompile most of func_ov063_02159ec0
* feat: Match func_ov063_0215a428
* feat: Match func_ov063_0215a474
* feat: Update lots of symbols (mainly for jp)
* feat: Start decompiling two funcs with fx mul
* fix: Fix broken symbol def after merge
* feat: Match func_ov063_0215a514
* feat: Match func_ov063_0215a56c
* feat: Match func_ov063_0215a5a0
* feat: Match func_ov063_0215a5bc
* feat: Match func_ov063_0215a5d8
* feat: Decompile most of func_ov063_0215a678
* fix: Fix some regalloc order in func_ov063_0215a678
* feat: Update symbols and create unk class
* feat: Update CANS member with the new class
* feat: Update symbols, remove dead variables
* feat: Improve ctor and some local struct layout
* feat: Improve ActorUnkCANS ctor
* fix: Fix ActorUnkCANS members layout
* feat: Improve ActorUnkCANS ctor more
* fix: Fix wrong symbol reloc
* feat: Add intermediate struct and update symbols
* feat: Match some jp only code, symbols
* feat: Decompile part of func_ov063_0215a2c0
* fix: Fix jp only code in func_ov063_0215a2c0
* feat: Update symbols
* feat: Cleanup unused functions
* feat: Cleanup JP ifguards handling
* feat: Remove lot of useless temps, use DEG_TO_ANG where it seems appropriate
* feat: Small code cleanup
* Apply suggestions from code review
Co-authored-by: Alessevan <44125445+Alessevan@users.noreply.github.com>
* fix: Fix style
* feat: Apply suggestions from review
* feat: More code cleanup
* feat: Some more improvements
* fix: Remove auto-generated comment headers
* fix broken matches
* fix broken matches 2
---------
Co-authored-by: Alessevan <44125445+Alessevan@users.noreply.github.com>
Co-authored-by: Yanis002 <35189056+Yanis002@users.noreply.github.com>
* delink the overlay
* ItemManager_101 OK
* UnkStruct_027e0ce0_40_101 OK
* PlayerLinkActor_A0_1C_101 OK
* UnkStruct_027e09a4_54_101 OK
* UnkStruct_027e0cd8_0C_101 OK and MapObjectProfile_Derived6_101 OK
* run ninja format
* delink what's left from overlay 1 (except dsprotect)
* fix regressions
* UnkStruct_027e0ce0_1C_001 97%
* UnkStruct_0204a110_001 OK
* UnkStruct_ov024_020d86a0_001 OK
* UnkStruct_ov000_020b50c0_001 OK
* GameModeCreate OK
* AdventureModeManager_001 OK
* GameModeAdventure_001 OK
* AdventureModeManager_001 OKn't because weak issues
* ZeldaCollisionBinary OK
* UnkStruct_027e09c0_001 OK
* UnkStruct_ov000_020b504c_001 OK
* UnkStruct_ov000_02067bc4.hpp -> UnkStruct_ov000_020b504c.hpp
* match overlay 97
* match overlay 100
* run ninja format
* UnkStruct_027e0ce0_30_001 OK
* UnkStruct_027e0ce0_40_Base_001 OK
* item manager files stuff
* ItemManager_001 OK
* other file things
* forgot to delete a file
* UnkStruct_027e0ce0_001 53%
* UnkStruct_027e0ce0_001 OK
* 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
* 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
* 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
* 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)
* delink overlay 110
* mangled functions names in symbols
* improve how versions are defined in the compiler's command
* add version-exclusive function + fix data_ov110_021861ec size
* match .rodata
* dsd sig apply
* progress
* vfunc_18 & func_ov110_02185d3c + format
* symbols renames
* remove force_data pragma
* started func_ov110_02184a40
* improve vfunc_18 match thanks to nepecam
* fixed relocs issues
* match func_ov110_02186b8c
* continue the awful function (and rename the folder)
* format
* build issues
* almost match func_ov110_02184a40!!!
* start vfunc_10 + misc
* vfunc_10 progress (91%)
* symbol fix
* vfunc_10 big switch fix
* turn some structs into a class
* update symbols
* vfunc_10 prog, move func_ov110_02185da4 to itemmanaager and some docs/cleanup
* progress on playerget and itemmanager
* fix build issues
* remove accidental header from merge and name mUnk_60
* add hex value comment in item id enum
* random stuff
* started vfunc_0c
* move externs around
* match/docs stuff related to item usage in PlayerGet
* format
* vfunc_10 version diff
* improve func_ov110_02186b8c handling and fix broken matches
* vfunc_0c small improvements
* progress on item manager
* complete item manager and add upgrade capacities
* some cleanup
* header cleanup
* match data (kind of)
* symbol naming
* name more symbols 1
* name more symbols 2
* name more symbols 3
* more jp syncing
* mystery actor stuff
* rename the file and fix build errors
* delink ActorRupee and match few functions
* add missing functions, mangle names and match func_ov031_020e9d54
* random stuff (literally)
* decomp more of ActorRupee
* rng stuff (thanks to aetias)
* decomp more of ActorRupee (36%)
* sync symbols
* format
* random: fixed wrong function call in configure.py
* decomp more of ActorRupee (51%)
* add actor ids and move them to their own header + small docs on actor class
* format
* improvements and small progress
* progress
* progress
* sync eur with jp
* fix build issues
* missed a file