Commit Graph

2095 Commits

Author SHA1 Message Date
Zeclos 3755fbfd39 D_a_npc_photo (#759)
* bit too difficult for me for now, might go back later

* progress

* getmsg

* logic matching data isnt

* data section matches

* mathubcg 100%

* cleanup

* revert this change

* final cleanup and configure.py

* nevermind cleanup

* Equivalent onstead of matching

* removed padding

* cleanup code comments and a bit more

* Fix build

---------

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2025-05-25 17:01:01 -04:00
LagoLunatic 7cd75e8f7b Demo matches (#767) 2025-05-24 18:54:46 -04:00
LagoLunatic 4a29f64e6b JASTrack more matches and inlines cleanup 2025-05-24 15:49:14 -04:00
Ammar Askar 3ec4710b72 Match up data and additional functions in JASTrack (#763) 2025-05-24 14:24:55 -04:00
Squidysquid1 5190f081c7 d_a_machine 100% (#754)
* d_a_machine 83%

* d_a_machine 87%

* d_a_machine matching functions

* 99% d_a_machine

* d_a_machine 100%

* Unmark as matching for demo

---------

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2025-05-24 14:15:28 -04:00
Ammar Askar 876039a04e Match J3DTransform with assembly blocks (#762) 2025-05-24 13:58:14 -04:00
Mm2PL 6ff1da3741 d_a_jbo (#744)
* Do initial work on d_a_jbo

* Remove outdated comments

* Move co_sph_src to be a function static variable

* Mark as matching

* Rename mParamsLower to mParam

* Give names to mFramesUntilJump, mAnimRotation, mAnimationSpeed, mParticlePos

* Give jbo_class::mState an enum

* fixup! Give names to mFramesUntilJump, mAnimRotation, mAnimationSpeed, mParticlePos

* Give resource ids an enum

* Add documentation comment for actor

* MWCC shenanigans

* Rename variables to better match coding guidelines

* Apply suggestions from code review

- use J3DModel::setBaseScale() inline
- use existing resource id enum
- rename `i_actor` -> `i_this`, `that` -> `a_this`
- use defines for missed returned booleans
- replace `mDoAud_seStart` -> `fopAcM_seStart`

Co-Authored-By: LagoLunatic <LagoLunatic@users.noreply.github.com>

* Apply rest of inlines

i must have forgotten about them earlier

---------

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2025-05-22 20:28:56 -04:00
Ammar Askar 78d6f0384b Merge pull request #765 from ammaraskar/d_a_fire
Match and link d_a_fire
2025-05-22 17:59:39 -04:00
LagoLunatic a0884623c6 Update dtk-template 2025-05-22 15:33:51 -04:00
LagoLunatic 936a47461d Merge pull request #757 from mattias-blum/d_menu
d_menu work
2025-05-21 18:10:15 -04:00
LagoLunatic 0831489b64 GXDisplayList OK 2025-05-21 18:08:45 -04:00
LagoLunatic d097c85eb0 Cleanup 2025-05-21 18:07:36 -04:00
LagoLunatic 0b1706bec2 Merge pull request #761 from LagoLunatic/d44j01
Add support for building the kiosk demo
2025-05-21 17:00:45 -04:00
LagoLunatic 21cd7a2f67 G_CM3D_F_INF 2025-05-21 16:46:21 -04:00
LagoLunatic ee2e164fa2 Demo: Fix cM3dGCyl 2025-05-21 14:51:12 -04:00
LagoLunatic c625992a77 Add enum for actor priority 2025-05-21 14:44:25 -04:00
Mattias Blum 6ea1287d1b Merge branch 'zeldaret:main' into d_menu 2025-05-21 10:08:01 -04:00
mattias-blum c99dc93347 PR changes + added inlines 2025-05-21 10:07:26 -04:00
LagoLunatic 86c96002bc Fix demo version diffs in gameinfo/save/stage/etc 2025-05-21 00:49:35 -04:00
LagoLunatic e7fc0a2992 Demo: Link all TUs that already match 2025-05-20 20:00:26 -04:00
LagoLunatic a6c0286349 Demo: Disable opt_propagation, fix assert macro, DynamicLink OK 2025-05-20 00:09:23 -04:00
LagoLunatic d2f46f131a Demo: Add missing demo-only TU configs 2025-05-19 23:02:38 -04:00
LagoLunatic d3ebf7be38 Fix c_dylink 2025-05-19 22:47:08 -04:00
LagoLunatic 34214f75d8 Demo: c_dylink OK, DynamicLink 99% 2025-05-19 22:41:12 -04:00
LagoLunatic ec17b3e819 Demo: Fix procname enum 2025-05-19 20:39:47 -04:00
LagoLunatic bc9ab6c204 Demo: Link f_pc_profile_lst 2025-05-19 20:36:07 -04:00
LagoLunatic 763d451f34 Demo: Add .init splits and symbols, enable MW comment 2025-05-19 20:26:33 -04:00
LagoLunatic fbbe67ffb5 Add demo to GitHub CI build 2025-05-19 20:23:02 -04:00
LagoLunatic 99c78680de Fix version defines 2025-05-19 20:17:13 -04:00
LagoLunatic 6610bf1d1c Demo: Fix splits, add assets, update config
Builds OK now
2025-05-19 19:43:20 -04:00
LagoLunatic 448eee9478 Demo: Update config 2025-05-19 19:34:43 -04:00
LagoLunatic 64d9c81c8a Demo: Perform initial analysis 2025-05-19 19:32:55 -04:00
LagoLunatic 3a384a82f5 Demo: Add version config 2025-05-19 19:32:23 -04:00
LagoLunatic fd6cb6e4ca Fix weak function order of dBgS_MoveBgActor::Draw
fixes #217
fixes #239
fixes #389
fixes #418
fixes #428
fixes #147
2025-05-19 18:41:23 -04:00
LagoLunatic 3d5131231f Add brackets to arrays of struct literals 2025-05-19 17:37:13 -04:00
LagoLunatic b6ba14fe05 Slightly improve d_a_hys weak func order 2025-05-19 15:42:16 -04:00
LagoLunatic d906d5cf96 Fix some relocation mismatches 2025-05-19 15:29:25 -04:00
LagoLunatic bad1a7c7b2 Progress reports: Enable diffing functions by relocations and data value 2025-05-19 15:27:34 -04:00
LagoLunatic 96e9a250cc Merge pull request #760 from LagoLunatic/dtk-template
Update dtk-template
2025-05-19 15:18:45 -04:00
LagoLunatic e487860868 Update dtk-template 2025-05-19 15:09:58 -04:00
Ammar Askar 661f53bc8a d_a_hys 100% equivalent with weak func order (#758)
* Start matching d_a_hys

* Add d_a_hys 100% except for weak func ordering

* Enable nosyminline

* Address PR comments
2025-05-19 14:49:44 -04:00
Azurpourpre 3f9a041528 D_a_kita matching (#751)
* ride_call_back progress

* daKita_Draw match

* kita_move progress

* ride_call_back match

* daKita_Execute will match

* daKita_Delete & daKita_IsDelete match

* CallbackCreateHeap match

* daKita_Create progress

* himo_create progress

* d_a_kita : small overall progress

* hand_draw match

* daShand_Draw match

* d_a_shand/control1 match except regalloc

* control2 almost done (regalloc issue)

* control3 match

* cut_control progress

* cut_control3 match

* normal progress

* cut match

* hand_move progress

* daShand_Execute match

* daShand_Delete & daShand_IsDelete match

* daShand_Create progress

* daShand_solidHeapCB match & useHeapInit progress

* daShand_HIO_c::daShand_HIO_c match

* control1 match

* control2 match

* cut_control match

* hand_move progress

* daShand_Create progress

* useHeapInit match

* Minor fixing

* renaming fields

* Merge with upstream now compiling

* cleaning up & minor fixes

* fixing string

* adding suggestions (PR #751)

* d_a_shand integration & kita_move gndchk position fix

* Removing awful cap_min_val inline

* 100% match

* Adding match to configure.py
2025-05-18 23:00:00 -04:00
WilliamArnett 28f3c8425e d_a_tag_kk1 (#755)
* 99% match

* Rewrote _execute to increase accuracy. Only issue in .text is a label not loading correctly. I have no idea how to fix this.

* Equivalent. Weak func ordering.

* Update src/d/actor/d_a_tag_kk1.cpp

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>

* Update src/d/actor/d_a_tag_kk1.cpp

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>

* Remove explicit `this`

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>

* Implemented hio_prm_c struct

---------

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2025-05-18 21:42:29 -04:00
Ammar Askar 094a297809 100% d_a_kui (#756)
* 45% d_a_kui

* 97% d_a_kui

* 100% d_a_kui match

* Fix easy issues from PR review

* Use s16[3] for field_0x2DC
2025-05-18 21:40:09 -04:00
mattias-blum 568fe41d61 PR changes made 2025-05-18 10:15:09 -04:00
Mattias Blum 59d39267ec Merge branch 'zeldaret:main' into d_menu 2025-05-17 22:57:55 -04:00
mattias-blum 03a9a0c38e cleanup 2025-05-17 22:57:24 -04:00
mattias-blum 6c3f33263d more progress 2025-05-17 22:40:49 -04:00
mattias-blum b27c3f63af more progress 2025-05-17 21:04:58 -04:00
mattias-blum 5f7d4c3745 more progress 2025-05-17 20:30:16 -04:00