Commit Graph

46 Commits

Author SHA1 Message Date
Roland c79fa65efd d_a_npc_ls1 matching (#925)
* Match daNpc_Ls1_c::create, decideType, and ctor

* 16% matching in .text
-Match daNpc_Ls1_c::CreateHeap
-Match daNpc_Ls1_c::itemCreateHeap
-Match daNpc_Ls1_c::handCreateHeap
-Match daNpc_Ls1_c::_delete
-Match other trivial functions

* Add hio_prm_c

* 27% matching in .text
-Add some static data
-Match daNpc_Ls1_c::endEvent
-Match daNpc_Ls1_c::isEventEntry
-Match daNpc_Ls1_c::execute
-Match daNpc_Ls1_c::bodyCreateHeap
-Match some more trivial funcs

* 33% matching in .text
-Match daNpc_Ls1_c::create_init
-Match daNpc_Ls1_c::chngAnmTag
-Match daNpc_Ls1_c::ctrlAnmTag
-Match init_LS1_#n() funcs
-Match searchActor funcs

* Add daNpc_Ls1_c::anm_prm_c struct and associated static data

* 39% matching in .text
- Matched daNpc_Ls1_matAnm_c::calc
- Matched static node callbacks
- Matched daNpc_Ls1_c::setAnm_anm
- Matched daNpc_Ls1_c::setAnm_NUM
- Matched daNpc_Ls1_c::chngAnmAtr
- Misc code formatting changes

* 52% matching in .text
- Match daNpc_Ls1_c::play_animation
- Match daNpc_Ls1_c::set_mtx
- Match ResID funcs
- Match daNpc_Ls1_c::setBtp
- Match daNpc_Ls1_c::setMat
- Match daNpc_Ls1_c::setBtk
- Match daNpc_Ls1_c::init_texPttrnAnm
- Match daNpc_Ls1_c::play_btp_anm
- Match daNpc_Ls1_c::play_btk_anm
- Match daNpc_Ls1_c::ctrlAnmAtr
- Match daNpc_Ls1_c::setAnm_ATR
- Match daNpc_Ls1_c::chk_parts_notMov
- Match daNpc_Ls1_c::cut_init_LOK_PLYER
- Match daNpc_Ls1_c::cut_move_WAI
- Match daNpc_Ls1_c::cut_init_ANM_CHG
- Match daNpc_Ls1_c::set_action

* Update comments

* Match daNpc_Ls1_c::_draw

* 63% matching in .text
- Match member J3D node callbacks
- Match daNpc_Ls1_c::eye_ctrl
- Match daNpc_Ls1_c::next_msgStatus
- Match daNpc_Ls1_c::getMsg
- Match daNpc_Ls1_c::chk_talk
- Match daNpc_Ls1_c::setEyeCtrl
- Match daNpc_Ls1_c::clrEyeCtrl
- Match daNpc_Ls1_c::setAttention
- Add misc enums
- Add a_cut_tbl

* 66% matching in .text
- Matched daNpc_Ls1_c::searchByID
- Matched daNpc_Ls1_c::partner_search_sub
- Matched daNpc_Ls1_c::partner_search
- Matched daNpc_Ls1_c::chkAttention
- Marched daNpc_Ls1_c::shadowDraw

* 75% matching in .text
- Match daNpc_Ls1_c::anmAtr
- Match daNpc_Ls1_c::getMsg_LS1_0
- Match daNpc_Ls1_c::chk_talk
- Match daNpc_Ls1_c::setStt
- Match daNpc_Ls1_c::get_playerEvnPos
- Match daNpc_Ls1_c::chkTelescope
- Match daNpc_Ls1_c::wait_1
- Match daNpc_Ls1_c::wait_4
- Match daNpc_Ls1_c::talk_1
- Match daNpc_Ls1_c::demo_action1

* Match daNpc_Ls1_c::wait_3

* 100% matching for both demo and retail

* Update comments

* Initial refactoring work

* Renaming work & declaring functions in f_op_msg_mng header

* Refactoring continued

* Last bit of renaming work

* Add missing include
2026-02-11 22:31:05 -05:00
Roland 6893c2588e d_a_goal_flag - matching (#918)
* initial work on d_a_goal_flag

* Update config.yml to extract symbols from d_a_goal_flag; also add l_pos and l_texCoord

* 17% matching in .text

* daGoal_Flag_c::CreateHeap matched

* RopeMove 99%

* Update d_a_goal_flag.cpp

* getRacePath 100%

* 31% in .text

* 47% matching in .text

* 56% matching in .text

* 70% matching in .text
Add definitions to inlines in daGFlag_packet_c and fully matched some daGFlag_packet_c methods.

* 84% matching in .text
Match daGFlag_packet_c::draw

* 91% matching in .text
- Formatting tweaks
- Match TimerExecute
- Add fopMsgM_MiniGameTerminater_create inline
- Move daGoal_Flag_c::_create in the correct place to match .data

* d_a_goal_flag matching 100% for retail

* d_a_goal_flag demo 99%

* Resolve _create fakematch

* d_a_goal_flag demo matching 100%

* link d_a_goal_flag for demo

* Renaming of fields/variables and some refactoring

* Refactoring continued
- Change direct calls to VECDotProduct to cXyz::getDotProduct

* Named more HIO fields and packet fields

* Implement fopMsgM_MiniGameStarter_create

* Name all used HIO fields

* Named all fields in daGoal_Flag_c

* Finishing touches
2026-01-09 13:09:23 -05:00
Lord-McSweeney ca83b5d1ae d_file_error matching (#915)
* d_file_error decompiled

* Use dComIfGs_getPalLanguage

* Resolve review comments

* d_file_error matching for non-debug
2026-01-01 14:14:13 -05:00
123456789758 d0852db127 d_meter - 99% matching (#907)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-12-27 16:23:15 -05:00
123456789758 9075155201 d_msg - 99% matching (#899)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-11-14 19:51:12 -08:00
LagoLunatic 3bb95dd90c d_mesg work 2025-06-26 19:12:22 -04:00
mattias-blum 5f7d4c3745 more progress 2025-05-17 20:30:16 -04:00
mattias-blum b92b0db6a6 more progress 2025-05-15 18:23:10 -04:00
mattias-blum 0a2e18900f more progress 2025-05-15 17:51:38 -04:00
Jcw87 be0f59f361 d_mesg 2025-04-17 12:16:48 -07:00
LagoLunatic 1f049c0911 Move remaining class definitions to headers 2025-04-16 14:18:08 -04:00
SuperDude88 1f1900bf66 f_op_msg_mng Work (#685)
* f_op_msg_mng work

* Fix Some Conflicts

Haven't had much chance to work on actual progress, still looking to do more matching before merge

* Tiny bit of Work

Little bit of cleanup, start on a couple more functions

* More Matches

Also add back some missing nonmatch comments

* Fixes

* JPN ifdefs

* Inline Fix

Also force one match (there's no way that casting is real)

* Reorder Strings

Fix rodata, I think this order is also slightly more accurate to the function (but I'm not really trying to match it right now anyways)
2025-04-12 21:02:24 -04:00
LagoLunatic 4a0a89501d Match getMesgHeader on JPN 2024-12-28 21:34:40 -05:00
Jasper St. Pierre 72bbd3ea1f f_op_msg_mng work 2024-12-28 15:33:02 -08:00
LagoLunatic 0492ca2b52 start d_menu_option 2024-11-05 20:53:59 -05:00
LagoLunatic e0bdc7cfc5 misc small cleanup 2024-09-29 16:27:47 -04:00
LagoLunatic 2def735282 Add fpc_ProcID type and use it for all process IDs
See https://github.com/zeldaret/tp/pull/2173
2024-07-12 21:14:13 -04:00
Jasper St. Pierre 05f1e29c10 build fix 2024-07-01 23:39:59 -07:00
Jasper St. Pierre 30103693f5 d_s_open_sub work 2024-07-01 23:35:25 -07:00
LagoLunatic 8279e934b1 Implement inlines for d_gameover 2024-06-29 23:18:51 -04:00
SuperDude88 3f08458809 d_a_npc_people Almost OK (#658)
* daNpcPeople Work

* Oops

Somehow I break this file every time I touch it
2024-06-15 22:55:31 -07:00
LagoLunatic 459cf6caa7 clean up some inline parameters 2024-04-18 23:16:38 -04:00
LagoLunatic ad0478fe15 d_a_tag_event OK 2024-04-16 13:28:35 -04:00
LagoLunatic 282756e6e8 fix msgId/msgNo naming mixups 2024-04-10 23:55:17 -04:00
LagoLunatic c7cd6b25b2 d_a_bk 2024-03-24 15:22:02 -04:00
LagoLunatic 0dd3f6e47c Standardize process ID type to be uint 2024-03-11 19:03:47 -04:00
LagoLunatic d0e8844b4b Add uint typedef 2024-03-11 18:23:44 -04:00
LagoLunatic 443691603d rename fopAc_ac_c member vars to match TP decomp 2024-03-08 21:31:41 -05:00
SuperDude88 d627dd6a0a Start Orca 2024-02-25 00:06:20 -05:00
Jasper St. Pierre f9fe5f6e99 d_timer work 2024-01-17 19:53:28 -08:00
LagoLunatic 2a27075530 d_a_player_main 2024-01-16 14:44:21 -05:00
Jasper St. Pierre 0951655a5c d_timer work 2024-01-15 15:41:52 -08:00
Jasper St. Pierre 5ab99df86e d_timer start 2024-01-14 20:34:06 -08:00
Jasper St. Pierre 99fd658424 more meter work 2024-01-06 18:11:26 -08:00
Jasper St. Pierre 469eadd45a d_gameover work 2024-01-06 16:54:32 -08:00
Jasper St. Pierre 1e7e0695f1 d_gameover start 2024-01-06 16:26:20 -08:00
Jasper St. Pierre 63f6eb00c4 f_op_msg_mng work 2024-01-06 11:24:46 -08:00
Jcw87 586e74f8d4 make function signatures more consistent 2023-12-20 18:50:51 -08:00
LagoLunatic 1c473f796d d_a_npc_md progress 2023-11-27 16:08:31 -05:00
LagoLunatic 469f243030 Process IDs cleanup
* Use fpcM_ERROR_PROCESS_ID_e enum instead of literal -1/0xFFFFFFFF everywhere
* Disambiguate variable names by using itemNo/msgNo instead of itemID/msgID
2023-11-22 16:25:28 -05:00
Jasper St. Pierre 21fae08883 d_metronome work 2023-10-21 13:35:38 -07:00
Jasper St. Pierre 09c4a4dfc7 d_place_name 90% 2023-10-15 21:21:18 -07:00
TakaRikka ee401fb19f work on d_a_agb 2023-09-23 00:00:37 -07:00
TakaRikka f1d8c41c38 work on d_s_play (#31)
* work on d_s_play

* some fixes
2023-09-14 12:45:49 -07:00
Dylan Ascencio 66b24882a5 Major work on d_a_obj_paper 2023-09-14 00:16:00 -04:00
Luke Street adb95b135c Import project
Original repository: https://github.com/encounter/ww
2023-09-10 00:48:55 -04:00