Commit Graph

451 Commits

Author SHA1 Message Date
Aetias e704ec9942 ActorCharacter OK (#162)
* ActorCharacter 93%

* ActorCharacter 98%

* ActorCharacter OK

* Fix broken matches
2026-05-11 20:34:17 +02:00
Aetias d02c870d1d ActorCharacterBase OK (#161)
* ActorCharacterBase OK

* Fix broken matches
2026-05-09 16:31:17 +02:00
Aetias e9ffe114a9 Delink character actor base classes and shop keeper actors (#152)
* Delink .text for ActorItemSeller, ActorBeedle, ActorTetra

* Delink .text for ActorCharacterBase, ActorCharacter, ActorGenericCharacter

* Define classes ActorCharacterBase, ActorCharacter, ActorGenericCharacter

* Don't define `override` macro during intellisense/clangd

* Define symbols for ActorCharacter, ActorCharacterBase, ActorGenericCharacter

* Define classes and symbols for ActorItemSeller, ActorBeedle, ActorTetra

* Fix duplicate symbol
2026-05-09 12:36:22 +02:00
Aetias b44496319d ActorShopItem 98% (#151)
* ActorShopItem 93%

* Fix build

* Add missing symbols to usa

* Document BMG message ID functions

* Create bmg.py for inspecting BMG files

* ActorShopItem 98%

* Match func_ov031_0217dfec

* Port reloc changes to usa

* Make `ModelRender::GetLcdcAddress` non-const
2026-05-04 22:07:42 +02:00
Aetias 38e9378f8f Delink ActorShopItem.cpp (#147)
* Make types compatible with dsd-ghidra typesync

* Update actors.md

* Update docs

* Delink ActorShopItem.cpp
2026-04-16 23:10:14 +02:00
enzofc708 ef2caebcef Decomp sbc.c (100%) (#144)
* start sbc.cpp

* add G3d_SBCRender_007

* match G3d_SBCRender_007

* match G3d_SBCRender_008

* match G3d_SBCRender_SKN

* fix EUR relocs file

* match G3d_SBCRender_00C

* match G3d_SBCRender_00D

* complete sbc.cpp

* fix EUR delinks
2026-04-16 20:38:59 +02:00
Yanis 98cc0af690 Started TouchControl.cpp (#111)
* start both `TouchControl.cpp`

* fix build issues

* complete touchcontrol

* remove useless comment

---------

Co-authored-by: Yanis002 <Yanis002@users.noreply.github.com>
2026-01-30 18:36:20 +01:00
enzofc708 63b823ef2c Decomp ModelRender (#139)
* decomp ModelRender

* fix ModelRender function name

* fix other ModelRender references

* reloc vtables

* fix ModelRender obect size

* fix matches

* match 100%
2026-01-30 16:30:17 +01:00
Aetias 90b0175de6 ActorManager_04 (#138)
* Map symbol in Game

* ActorManager_04 OK
2025-12-29 20:12:14 +01:00
Aetias fc691f4c8f LinkStateInteract (#135)
* Map symbol in Game

* LinkStateInteract 19%

* DebugHierarchy -> Bhio

* LinkStateInteract 89%

* LinkStateInteract 93%

* Japanese strings

* Fix build

* Fix regression

* Fix regressions

* Rename BhioBase.cpp
2025-11-16 17:14:48 +01:00
SammygoodTunes 5b15874c4d Decomp src/00_Core/Map/MapBase.cpp (57%) (#129)
* Comments

* Lay out theoretical code

* Externalise func_020196bc & func_020196fc

* Pull merge

* Pull merge

* Decomp MapBase::func_ov00_02080edc

* Fix MapManager TilePos params

* Decomp progress

* Fix MapManager param issue

* Decomp progress

* Update MapManager var pointer type

* Fix function defs

* Update symbols

* Update

* Match MapBase_Unk2::func_ov00_02080ad0 (thx 2 dt mow & yanis)

* Update

* Decomp progress 26%

* Decomp progress 28%

* Fix struct overlap

* Fix unknown members

* Uncomment and fix rest of methods (most still non-matching)

* Decomp progress

* Corrections
2025-09-21 14:21:31 +02:00
Aetias cb52c8c23f ActorNavi (#132)
* Map symbol in Game

* ActorNavi 93%

* ActorNavi_04 96%

* Document Actor fields

* Move MAX_KEYS to ItemManager

* Move gTouchControl to its own header

* Fix missing includes

* Fix regressions

* Fix build

* Update decompiling guide images

* Fix regression
2025-08-29 20:01:10 +02:00
enzofc708 be02098914 Decomp LinkStateDamage (#133)
* match first functions

* add more functions

* match more functions

* match last function

* fix EUR relocs file

* match some data

* fix PR comments

* match vfunc_24

* fixed most of .data

* match symbol names

---------

Co-authored-by: Yanis002 <35189056+Yanis002@users.noreply.github.com>
2025-08-12 15:24:54 +02:00
Aetias 82f54b2f07 EquipBombchu (#131)
* Map symbol in Game

* EquipBombchu 12%

* EquipBombchu 53%

* EquipBombchu 71%

* configure: Don't verify dsd version if `--dsd` specified

* EquipBombchu 89%

* Fix regression
2025-07-31 21:22:55 +02:00
Aetias 8ad6359c7d ActorSwitchObject OK (#130)
* Map symbol in Game

* ActorSwitchObject OK

* Mark ActorSwitchObject as complete

* Document `mTrapActors`

* Fix FilterActorBase

* Fix regressions
2025-07-25 15:59:54 +02:00
SammygoodTunes dda45d5574 Decomp src/00_Core/Map/MapManager.cpp (56%) (#101)
* Fix

* Fix

* stupid typo

* Another dumb typo

* Fix

* Fix declaration

* Fix declaration

* Fix

* Fix symbols

* Corrections

* Fix regression in GetEntrancePos

---------

Co-authored-by: Aetias <aetias@outlook.com>
2025-07-24 19:23:29 +02:00
Aetias d45ea18bf4 PlayerBase OK (#126)
* Map symbol in Game

* PlayerBase OK

* Fix ActorRefill

* Fix MapManager

* Mark PlayerBase as complete

* Fix MapManager
2025-07-22 17:54:33 +02:00
Yanis cf8f5a80b1 Decompile more of AdventureFlags.cpp (#118)
* fix flags getters and associated relocs

* explicit ARM and improve existing matches

* match CopyTo

* document a bit the flag system and progress on unmatched functions

* remaining bottom functions

* func_ov00_02097810 params and name fix

* fix build issues

* move flag base definition to its own file

* document item flags

---------

Co-authored-by: Yanis002 <Yanis002@users.noreply.github.com>
Co-authored-by: Aetias <aetias@outlook.com>
2025-07-22 16:17:02 +02:00
Aetias 383ca6aaa2 Game 99% (#125)
* Game 74%

* Game 99%

* Fix symbol name
2025-07-22 15:54:46 +02:00
Aetias aee9c362bb ActorRupee 90% (#124)
* Remove `force_data` macro

* Use size_t in `operator new`

* Bump objdiff to v3.0.0-beta.10

* Decompile functions using gRandom

* ActorRupee 90%

* Fix old gRandom.Next calls

* Revert objdiff

* Clean up
2025-07-21 19:09:56 +02:00
Aetias 32cc123547 Game 73% (#122)
* Game 73%

* Fix build
2025-07-19 18:51:07 +02:00
Aetias 573b696ff8 Bump dsd to v0.10.1; UnkStruct_027e05f8_2 OK (#121)
* Unique delink file names

* Fix build

* Revert back to single link

* UnkStruct_027e05f8_2 OK

* `dsd fix ctor-symbols`

* Fix symbols spanning over two delink files

* `dsd fix ctor-symbols` again

* Add missing function `func_02050a20`

* Name `.p__sinit` symbols in USA after their EUR counterparts

* Apply dsd signatures

* Bump dsd to 0.10.0; Fix dsd not updating automatically

* Rename overlay functions

* Fix auto-download wibo

* Fix generating objdiff report
2025-07-17 12:21:10 +02:00
Yanis 7a01af4783 update .clang-format rules (#120) 2025-07-16 15:33:58 +02:00
Yanis ce9f96d932 Match 00_Core/Actor/Dungeon/ActorEventIcon.cpp (#119)
* match ActorEventIcon

* mark as complete
2025-07-16 13:14:03 +02:00
Yanis 0421d36979 Decompile overlay 8 (95%) (#115)
* started overlay 8

* progress

* progress

* progress

* more headers

* progress

* more progress

* symbols

* fix splits + new headers

* more progress

* func_ov008_02112ee0 & func_ov008_02112f28

* document fish in save item manager and unrelated things because precommit is mad

* SaveItemManager ctor

* progress?

* fix build issues

* split files to match data

* format

* format

* cleanup and match vfunc_08

* add reloc for overlay 0

* fix vtable symbol

* improve non-matching functions

---------

Co-authored-by: Aetias <144526980+AetiasHax@users.noreply.github.com>
2025-07-13 15:11:50 +02:00
Yanis002 ac0720a8ce data_027e0618 -> gGame 2025-07-07 14:11:51 +02:00
Aetias 36b9d9dea4 Game 26% 2025-07-06 14:47:44 +02:00
Aetias f6b308ed82 Update GameMode::vfunc_14 2025-07-06 12:18:40 +02:00
Aetias 2031427f9a Merge remote-tracking branch 'zeldaret/main' into game-state 2025-07-06 11:30:55 +02:00
Aetias 1c947024d7 Update GameModeId enum 2025-07-06 11:03:12 +02:00
Yanis002 f9d2009c95 some docs 2025-07-05 19:06:04 +02:00
Yanis002 29919b8466 remove useless struct usage 2025-07-05 17:03:00 +02:00
Yanis002 d92d3c645b UnkStruct_02082348 -> FlagsUnk2 2025-07-05 16:58:46 +02:00
Yanis002 f81e8e85d0 started GameModeAdventure (97%) 2025-07-05 16:36:04 +02:00
Aetias 767b0b099f Delink GameModeBattle 2025-07-05 11:52:32 +02:00
Aetias 346a2af149 Delink Game, GameMode, GameModePlay, GameModeAdventure 2025-07-05 00:16:17 +02:00
Aetias fe0f15031d Rename "overlay setup" to "game mode" 2025-07-04 20:57:03 +02:00
Aetias 2aa4c67639 Fix build 2025-07-02 00:17:59 +02:00
Aetias 67c7707657 Merge remote-tracking branch 'zeldaret/main' into hammer 2025-07-01 22:36:29 +02:00
Aetias c1ec58c8b0 Merge branch 'decomp/MapManager' of github-aetias-hax:SammygoodTunes/ph into decomp/MapManager 2025-07-01 22:22:36 +02:00
Aetias 9bdae8e605 Merge remote-tracking branch 'zeldaret/main' into decomp/MapManager 2025-07-01 22:05:08 +02:00
Aetias f3b92f5a6c FIx build 2025-07-01 22:04:31 +02:00
Aetias a7f149c3af Merge remote-tracking branch 'zeldaret/main' into decomp/MapManager 2025-07-01 21:27:52 +02:00
SammygoodTunes f3c7896c19 Merge branch 'main' into decomp/MapManager 2025-07-01 17:35:11 +02:00
Yanis002 57595b1cd2 fixed SetActive issue 2025-07-01 01:50:11 +02:00
Yanis002 2fcadd277d fix playercontrol issue 2025-07-01 01:25:08 +02:00
Yanis002 cc90ddb8ee Merge remote-tracking branch 'upstream/main' into displaytext 2025-07-01 00:47:38 +02:00
Yanis002 084e61c777 Merge remote-tracking branch 'upstream/main' into hammer 2025-07-01 00:44:52 +02:00
Aetias 0567d5aaa5 Clang format 2025-07-01 00:24:41 +02:00
Aetias 8003089294 Fix match 2025-07-01 00:01:30 +02:00