Commit Graph

60 Commits

Author SHA1 Message Date
Jcw87 80c7719636 Compiler compatibility (#1171)
* mark functions with duplicate names as static

* make std::__tag_va_List work with other compilers

* fix some offset comments

* use inlines in J3DJointFactory, JUTCacheFont

* fix class/struct mismatch

* improve const correctness

* fix missing return values

* make some JAudio namespaces more explicit
2026-08-16 11:15:07 -04:00
LagoLunatic 5e00819c5b msg mng work (#1147)
* msg mng JPN work

* stringShift match, cleanup

* stringLength equivalent for JPN

* stringLength 100% for JPN

* stringSet 100% for JPN

* Match timer tag funcs for PAL
2026-08-07 16:14:01 -04:00
LagoLunatic 27e65e0f29 "control stick" -> "main stick" for consistency 2026-08-03 15:11:57 -04:00
LagoLunatic 15b181b15c Add enums for msg icons and control codes 2026-08-03 14:08:19 -04:00
LagoLunatic 380407dd26 msg work (#1143)
* fopMsgM_msgDataProc_c::stringSet work

* Fix JPN

* More stringSet work

* work

* get rid of fake temps

* stringSet 99.99%

* fopMsgM_msgDataProc_c::stringLength 100%

* d_msg work

* fix pal

* fix message_paper, d_meter version diff fixes
2026-08-02 21:04:29 -04:00
Benjamin ROELANDT dbc093a3cf d_scope 100% (#1112)
* First version of d_scope, everything is matching on all version, probably missing a few inline on undocumented field that i did not manage to find

* Readd stuff previously deleted but badly tested

* Rename some fields and a few more inline

doesn't improve matching but i think it looks more genuine

* clean up syntax

* move d_scptyp enum and add forgotten inline

* build fix

* replace seStart call with proper enum
2026-08-02 11:45:21 -04:00
LagoLunatic 0fdc3a3f3b Cleanup/documentation for various photo-related code 2026-07-19 15:54:06 -04:00
Mattias Blum db61d31022 d_picture_box mostly matching for GZLE01 (#1125)
* initial progress

* more progress

* more progress

* d_picture_box mostly matching for GZLE01

Unable to resolve the regswap in dJle_Pb_c::draw()

* reverted some changes to member names

* filled missing enum value

* PR changes made

* renamed some fields
2026-07-18 17:37:31 -04:00
TakaRikka d3c642c5d3 d_menu_save mostly done (#1103) 2026-07-05 13:34:40 -04:00
TakaRikka f93c5ba62c d_message mostly done (#1097)
* d_message mostly done

* fopMsgM_selectMessageGet fix
2026-07-02 20:43:07 -04:00
LagoLunatic b3be0f9e64 d_menu_option OK (#1020) 2026-05-25 20:13:09 -04:00
LagoLunatic ca7b466bcd d_meter work, f_pc_manager OK for demo 2026-05-07 00:03:43 -04:00
LagoLunatic c56b902ed1 Match fopMsgM_messageGet and fopMsgM_passwordGet 2026-04-30 02:56:31 -04:00
Lord-McSweeney 8fb16fa696 Work on f_op_msg_mng (#964)
* Work on f_op_msg_mng, especially PAL translations

* Finish translations work on f_op_msg_mng

* fopMsgM_messageGet and fopMsgM_passwordGet 98%
2026-04-30 00:24:59 -04:00
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