Commit Graph

1528 Commits

Author SHA1 Message Date
LagoLunatic efc33c5fc4 Various inline cleanup 2025-06-19 19:03:11 -04:00
LagoLunatic b295d48d1d Fix getSRTCenter fakematches with another (void)0 assert 2025-06-18 21:26:13 -04:00
LagoLunatic a87c70990e Add another (void)0 assert, fixing regalloc in daPy_lk_c::initTextureScroll and J3DMaterialAttach 2025-06-18 20:58:29 -04:00
LagoLunatic 98510714f1 Fix J3DDeformData being in the wrong header 2025-06-18 20:57:19 -04:00
LagoLunatic ede01ca07b daPy_lk_c::draw and linkDraw matched on retail with (void)0 assert, d_a_figure OK 2025-06-18 20:14:26 -04:00
LagoLunatic 264ee5d6e1 Clean up some inlines and field names 2025-06-18 19:29:02 -04:00
LagoLunatic 65379a432f d_a_obj_figure demo almost matches 2025-06-18 19:15:47 -04:00
LagoLunatic 3d0aff6a84 daPy_lk_c::dProcTool and daDemo00_c::execute matched, fix up various inlines and template classes, stb OK 2025-06-17 22:30:17 -04:00
LagoLunatic bc2f5c8fd0 daPy_lk_c::dProcTool 99% 2025-06-16 13:15:02 -04:00
LagoLunatic f042f156f5 Add all player demo mode names to enum 2025-06-15 16:10:33 -04:00
LagoLunatic 25b9aeae03 daPy_lk_c::procShipCrane 2025-06-15 15:43:35 -04:00
LagoLunatic 0146d0b91f d_a_player_main cleanup and inlines 2025-06-15 13:59:16 -04:00
LagoLunatic a15a72f209 daPy_lk_c::checkRopeSwingWall 2025-06-14 23:41:15 -04:00
LagoLunatic 92a094ef6d d_file_select matching for JPN and demo 2025-06-14 19:09:05 -04:00
Ammar Askar 3fbb9b5e74 Fully match d_a_npc_btsw and mark equivalent (#790)
* Match up d_a_npc_bmsw to 98%

* Remove old nonmatching comments

* Match MailCreateInit by using a static cast

* Match Throw and daNpc_Bmsw_getGameEndMsg

* Match CreateInit using demo for ref

* Fix inline for dComIfG_TimerStart

* Match shiwake_game_action

* Match getNextNo

* Mark Equivalent

* Fully match d_a_npc_btsw and mark equivelant

---------

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2025-06-14 17:23:39 -04:00
Ammar Askar 5c391aa7ad Fully match d_a_npc_bmsw and mark equivalent (#789)
* Match up d_a_npc_bmsw to 98%

* Remove old nonmatching comments

* Match MailCreateInit by using a static cast

* Match Throw and daNpc_Bmsw_getGameEndMsg

* Match CreateInit using demo for ref

* Fix inline for dComIfG_TimerStart

* Match shiwake_game_action

* Match getNextNo

* Mark Equivalent
2025-06-14 17:14:12 -04:00
SuperDude88 947a9a05b1 d_file_select Matching on US (#795)
* d_file_select Almost Matching

Down to 3 regswaps and probably weak func ordering

* Fix Remaining Nonmatches

Regswaps figured out by @ammaraskar
2025-06-14 17:09:40 -04:00
LagoLunatic b465138e9c daPy_lk_c::procBottleOpen 2025-06-14 17:00:59 -04:00
LagoLunatic 3bd775e04d Misc demo matches 2025-06-13 15:14:08 -04:00
Onni Leivo 8733e64147 implement daObjTable functions (#734)
* implement daObjTable functions

* matches now in build, 100%

* use inlines and make it cleaner

* inlines

* add only retail match

---------

Co-authored-by: Onni <mail@onnileivo.com>
2025-06-11 22:07:07 -04:00
LagoLunatic e7d0df1e50 Cleanup player struct 2025-06-09 23:29:34 -04:00
LagoLunatic 6404bc4765 Demo: d_lib OK 2025-06-09 16:20:19 -04:00
LagoLunatic a27e5b3379 Some enum/define cleanup 2025-06-09 16:14:24 -04:00
Ammar Askar 498fd40d72 98% matching d_a_dk (#788)
* 98% matching d_a_dk

* Match tail_draw

* Fix demo build issue

* Fix inlines based on demo

* Address feedback from review
2025-06-08 19:27:32 -04:00
LagoLunatic e24cbed367 Demo work (#786)
* Demo work

* Fix PAL

* Fix d_door weak func order and link it

* Fix d_door for demo

* JKernel OK on demo + misc

* tag_attention 100% on demo

* More demo work and fix some retail fakematches
2025-06-04 16:50:49 -04:00
Skelp 08571c4865 #181: d_a_tag_attention (#784)
* #181: d_a_tag_attention matching; TODO: implement chk_inside and dComIfGp_att_Look2RequestF

* #181: continue working on d_a_tag_attention, matching almost complete

* #181: revert naming class member (not certain enough)

* #181: preliminary changes to resolve #784 comments regarding usage of debug maps

* #181: commit suggestion by @WilliamArnett, fixing regalloc error

Co-authored-by: WilliamArnett <149556961+WilliamArnett@users.noreply.github.com>

* #181: fix missing curly bracket

* #181: resolve #784 comments with the kind help of @WilliamArnett;
 move `daTagAttention::Act_c::chk_inside` to header file; split `plyrToObjVec` definition to match assembly;
 remove temp variable, use values directly and swap operands;
 implement `Look2RequestF` in `include/d/d_attention.h`;
 remove non-matching use of temp variable `iVar1` and replace `current.pos` with uninitialized variable in `daTagAttention::Act_c::_execute`

* Update include/d/actor/d_a_tag_attention.h

Co-authored-by: WilliamArnett <149556961+WilliamArnett@users.noreply.github.com>

* #181: update `d_a_tag_attention` to `Matching` in `configure.py`; remove Non-Matching comments

* #181: change matching type to `Equivalent` for `d_a_tag_attention`

* Apply suggestions from code review

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

* #181: fix PrmAbstract call

---------

Co-authored-by: WilliamArnett <149556961+WilliamArnett@users.noreply.github.com>
Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2025-06-04 14:31:32 -04:00
LagoLunatic 5c5632822b Merge pull request #785 from ammaraskar/trivial_funcs
Auto-generate most trivial process_method_funcs
2025-06-03 17:38:06 -04:00
WilliamArnett 9fbf32eb05 d_a_npc_km1 Equivalent (#768)
* 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.

* 7% text

* 28% text

* 41% text

* 65% text

* 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.

* 82% text

* Equivalent. A lot of work is needed to name variables and clean up functions. Weak function ordering is wrong.

* Cleaned some functions, named several variables, and began documenting dialog tree.

* Naming a couple more variables

* 21% text

* change out getMySubstanceP for getMyIntegerP inline

* 100% text

* Refactor to use JUT_ASSERT macro

* Revert merges

* Revert "Merge branch 'main' into d_a_npc_km1"

This reverts commit 9ebc35f76b, reversing
changes made to b8807b2f50.

* Revert merges

* Revert "Merge branch 'main' into d_a_npc_km1"

This reverts commit 9ebc35f76b, reversing
changes made to b8807b2f50.

* Undo file changes

* Revert "Undo file changes"

This reverts commit 5bcc47fcd4.

* a couple more reverts

* Should be done with reverts

* revert configure.py

* Implement LagoLunatic's suggested changes

* add endif to allow demo to build
2025-06-03 17:34:41 -04:00
Ammar Askar e0626b6ccb Revert files in current pull requests 2025-06-03 17:17:55 -04:00
Ammar Askar 67050779fe Auto-generate trivial process_method_funcs 2025-06-03 16:30:53 -04:00
Ammar Askar 20a252e254 100% match and link d_a_windmill (#783)
* 98% matching d_a_windmill

* Match CreateInit

* Match hane_move

* Fully match and link TU
2025-06-03 15:43:15 -04:00
Ammar Askar 4bf91cbfea Start matching up d_a_bst (#775)
* Start matching up d_a_bst

* Commit more progress on d_a_bst

* Match up more functions

* Match up stay function

* Remove some questionable names

* Match fly and some attack functions

* Match collider data

* Address feedback from review

* Fix no-op actor calls and match some functions better
2025-06-03 01:12:48 -04:00
Ammar Askar b5a9419017 Link and match d_a_obj_correct (#782) 2025-06-02 15:29:55 -04:00
LagoLunatic 073df83073 Fix obj_movebox parameter inlines
fixes #781
2025-06-02 00:30:37 -04:00
LagoLunatic 4e7f5de0f3 d_a_npc_fa1 100% with weak order, add inlines 2025-06-01 19:09:57 -04:00
LagoLunatic 3771f5f6ee Merge pull request #779 from LagoLunatic/d44j01
Demo work, d_a_kytag02 and d_a_ff OK
2025-06-01 17:50:57 -04:00
123456789758 7eb543eb50 d_a_npc_fa1 - 99% matching (#780)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2025-06-01 17:49:10 -04:00
LagoLunatic 30e0a5610a Add value comments for more Cc enums 2025-06-01 17:06:41 -04:00
Ammar Askar 354a9625fe Automatically generate dCcD_Src structs for most files (#778)
* Add missing enum members for colliders

* Auto-generate most dCcD_Src* structs

* Manually fix namespaces for 11 TUs
2025-06-01 16:50:44 -04:00
LagoLunatic cdfaa05635 More demo work, cleanup 2025-06-01 16:05:42 -04:00
LagoLunatic 63a92eaa88 More demo work 2025-05-31 23:53:05 -04:00
LagoLunatic 05b211478a Update comment documenting JUTXfb compiler bug 2025-05-31 20:17:38 -04:00
LagoLunatic bd917524ba Demo work, d_a_kytag02 and d_a_ff OK 2025-05-31 20:09:14 -04:00
LagoLunatic 206c4cbc16 More demo work 2025-05-30 15:16:57 -04:00
LagoLunatic 22ba12593a dComIfG_Ccsp_SetMass 2025-05-29 19:40:36 -04:00
LagoLunatic 7e37357f66 JUT cleanup 2025-05-29 18:46:23 -04:00
LagoLunatic cd6424040d Unlink JUTXfb, document the nondeterministic codegen problem instead 2025-05-29 18:38:34 -04:00
LagoLunatic 431943a893 Cleanup, demo work, and match daNpcPeople_c::getMsg on retail 2025-05-29 15:41:38 -04:00
123456789758 c1f54653fd Document several more TU names (#770)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-05-29 00:11:39 -04:00
LagoLunatic b9190842b7 Demo work 2025-05-28 01:39:07 -04:00