Commit Graph

1424 Commits

Author SHA1 Message Date
LagoLunatic b99367883d Minor cleanup for d_resorce inlines and d_a_npc_people 2026-10-03 19:39:50 -04:00
Syial a235969592 d_s_name PAL matching (#1226)
* langTextChg (PAL) matching

* PaneAlphaLangTxt (PAL) matching

* langTexChgFast (PAL) matching

* bmg_data_read_all, bmg_data_set, tex_data_set, buttonIconTexChange (PAL) matching

* languageTexChange (PAL) matching

* create (PAL) matching

* NoteOpenWait (PAL) matching

* finished d_s_name (PAL) matching

* use official getters/setters
2026-10-02 20:50:19 -04:00
LagoLunatic fecfbdd1df d_menu_collect OK for retail 2026-10-02 17:12:56 -04:00
LagoLunatic 40727c0b9a msdan sub2 debug inlines 2026-10-02 16:59:16 -04:00
LagoLunatic 6f1247af9d d_a_player_main and tact melody documentation (#1229)
* d_a_player_main and tact melody documentation

* Use CL_NUM_JNTS_e enum instead of hardcoding link's joint count

* Use joint enums in more places

* Use link's dir enum more
2026-10-02 16:47:09 -04:00
Kenz Linden 8f81acee4a d_a_obj_msdan_sub2 (#1215)
* d_a_obj_msdan_sub2 CreateHeap func matching

* d_a_obj_msdan_sub2 Mthd_Create func matching

* d_a_obj_msdan_sub2 Delete and Mthd_Delete matching

* d_a_obj_msdan_sub2 add prm_get_size func

* d_a_obj_msdan_sub2 Create func matching

* d_a_obj_msdan_sub2 set_mtx func matching

* d_a_obj_msdan_sub2 init_mtx func matching

* d_a_obj_msdan_sub2 Draw func matching

* d_a_obj_msdan_sub2 Execute func matching

* d_a_obj_msdasn_sub2 fix cull size

* d_a_obj_msdan_sub2 adjust data structure

* d_a_msdan_sub2 matching

* d_a_obj_msdan_sub2 adjust function calls to align with demo build

* d_a_obj_msdan_sub2 fix incorrect inline names

* d_a_obj_msdan_sub2 use correct inlines in Draw func

* d_a_obj_msdan_sub2 fix prm enum names
2026-10-02 16:30:46 -04:00
LagoLunatic 0bfdf5b34c Match debug inlines for some npcs 2026-09-30 11:22:19 -04:00
LagoLunatic 09de0609ec Add some dBgW debug funcs from TP 2026-09-28 23:01:30 -04:00
LagoLunatic 1f9e8cb259 bgn2 cleanup 2026-09-28 18:56:12 -04:00
LagoLunatic f18cb581a6 d_s_open and d_s_open_sub OK for demo 2026-09-28 18:19:09 -04:00
LagoLunatic ba926f4bf2 Small tu matches (#1221)
* d_detect OK

* processor OK

* d_a_obj_msdan2 OK

* d_a_fallrock_tag OK

* feedback fallrock_tag
2026-09-28 14:20:02 -04:00
Robert Kämpf 526c6d8972 d_a_kddoor 100% except demo (#1225)
* d_a_kddoor 74%

* d_a_kddoor 99%

* Fix function order

* Fix .rodata order

* Add missing .rodata entry

* Implement reviews
2026-09-28 14:17:06 -04:00
Jcw87 3a09143150 Misc fixes (#1224)
* PSMTX -> MTX

* template compiler compatibility

* JStudio fix

* d_flower names

* fix d_camera return types

* add missing GXEnd

* remove explicit 0 bytes from J2DPane tags

* make non_pos globals static
2026-09-28 11:06:29 -04:00
LagoLunatic 2d6962e464 d_a_npc_so inlines 2026-09-27 14:22:35 -04:00
Maide 564ab15b6b d_a_npc_so (#970)
* d_a_npc_so

* Rebase

* Revert files

* fix compilation errors

* review comments

---------

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2026-09-27 12:55:38 -04:00
LagoLunatic 734652d00d minor cleanup 2026-09-27 11:28:02 -04:00
LagoLunatic 4c2614e8a0 d_a_npc_nz OK for demo 2026-09-27 10:36:21 -04:00
oga-sven f40b95a665 d_a_fallrock_tag OK 2026-09-27 16:04:57 +02:00
LagoLunatic 6c3e154d43 Fix some more d_com_inf_game getter return types 2026-09-27 09:46:33 -04:00
oga-sven f813a28e8a d_a_obj_msdan2 OK 2026-09-27 11:52:48 +02:00
LagoLunatic c4cd1c31ec daNpc_Bs1_c::next_msgStatus realmatch 2026-09-26 22:47:20 -04:00
LagoLunatic 00cd6f917b Improve d_a_npc_ji1 for demo and PAL 2026-09-26 18:44:31 -04:00
Robert Kämpf 7a4be39cd3 Merge pull request #1220 from PlatinPython/d_a_sss
d_a_sss 100% except demo
2026-09-26 17:53:47 -04:00
LagoLunatic 2fbb91bbe2 Merge pull request #1218 from SuperDude88/main
More Consistent Macro Usage
2026-09-25 19:15:55 -04:00
SuperDude88 94fb9e0e41 Change ALIGN_DECL
MWCC 1.3.2 requires the attribute in a different place than later versions/most modern compilers, so make the macro handle the ordering

C++ structs don't seem to have ordering issues so they use the attribute directly
2026-09-25 16:19:00 -04:00
LagoLunatic 96bbf3e97e Add some more inlines 2026-09-25 14:03:54 -04:00
LagoLunatic 624ab5f13c d_a_bomb2 OK for demo 2026-09-25 09:45:34 -04:00
LagoLunatic 49757b75fd Fix clangd warning about pragma pack 2026-09-24 16:08:19 -04:00
LagoLunatic a61e15e431 Use packed structs when accessing save data fields instead of pointer casts, also use sizeof 2026-09-24 15:38:51 -04:00
LagoLunatic a757be3c24 Improve some d_camera funcs, fix dCamSetup_c fields being mixed up 2026-09-24 14:24:56 -04:00
LagoLunatic a15aec383f Merge pull request #1216 from SuperDude88/main
More Random Cleanup
2026-09-24 14:16:21 -04:00
Jcw87 52c3c0dbfc d_camera (#1217) 2026-09-24 12:30:17 -04:00
SuperDude88 7953486589 Explicit Template Types
u32 and the literal suffixes don't necessarily refer to the same type depending on compiler
2026-09-23 22:17:12 -04:00
SuperDude88 236bf47a63 Fixed-Width Type Consistency
Make sure some of the declarations + definitions are consistent, plus some other misc fixes
2026-09-23 22:17:11 -04:00
SuperDude88 aebb9e582b Redundant Struct Declarations 2026-09-23 22:16:42 -04:00
SuperDude88 c0ee29942a Questionable const char*
Some more instances of const char* that either required new casts to compile or seem inconsistent/possibly not real (event-related stuff, etc)
2026-09-23 21:34:32 -04:00
SuperDude88 d1d7b5bdd3 More const char*
Change a bunch of char* -> const char* to be more standard-compliant. These ones didn't require extra casting/didn't seem particularly inconsistent with nearby uses.
2026-09-23 21:23:54 -04:00
LagoLunatic 6a3a6d67a5 Implement all dBgW inlines 2026-09-23 18:27:20 -04:00
LagoLunatic e88c3ac388 d_cc_s OK for demo 2026-09-23 16:42:57 -04:00
LagoLunatic e652f902b7 d_a_player_main inlines and fix himo2/himo3 confusion 2026-09-23 16:19:00 -04:00
LagoLunatic 82f1e2c734 d_a_saku matching for all retail versions, add inlines, and almost matching for demo 2026-09-23 13:44:28 -04:00
Kenz Linden ae3b3b0deb d_a_saku GLZE01 (#1214)
* daSaku_c matching setMoveBGMtx func

* minor adjustment of daSaku_c setMoveBGMTx func

* remove unecessary class declaration in d_a_saku header

* daSaku_c setEffFire matching

* d_a_saku Draw func matching

* d_a_saku move mtx into array

* d_a_saku move mtxs out of array, setMtx func matching

* d_a_saku checkCol func matching

* d_a_saku checkCol func cleanup

* d_a_saku move related adjacent values into array as opposed to separate variables

* d_a_saku setup HIO class

* d_a_saku mode_break_throw_obj matching, adjust other funcs for data type change

* d_a_saku broken matching, update other funcs to reflect changed data types

* d_a_saku change collision func matching

* d_a_saku burn matching

* fix sakuHIO class data structure

* d_a_saku execute matching

* d_a_saku GetDzId func matching

* d_a_saku CreateHeap func matching

* d_a_saku daSaku_Delete func matching

* d_a_saku adjust data type, update matching funcs for updated data type

* d_a_saku mode_break_none func matching

* d_a_saku daSaku_create matching except stringbase, fix CreateHeap func type

* d_a_saku fix CreateHeap and loadModel func types

* d_a_saku RecreateHeap func matching except stringbase

* d_a_saku CreateInit matching

* d_a_saku CreateDummyHeap func matching

* d_a_saku matAlphaAnim, changeXluMaterialAlpha, l_blendInfo, l_zmodeInfo, l_zmodeInfo2 matching

* d_a_saku DrawSub matching, adjust matAlphaAnim output type

* d_a_saku MoveBGResist func matching

* d_a_saku fix matAlphaAnim to use u16 in for loop

* d_a_saku mode_break_fire func matching

* d_a_saku loadModel func matching except stringbase

* d_a_saku loadMoveBG func matching

* d_a_saku update mode_break_throw_obj heap name

* d_a_saku change my_cyl_src to not const to force into .data

* d_a_saku setCol matching

* d_a_saku adjust loadModel value to correct val

* d_a_saku setEffBreak func matching

* d_a_saku fix sakuHIO_c destructor not properly initialised

* d_a_saku instantiate static vars, re-shuffle to get correct ordering and data placement

* d_a_saku remove redundant "this" usage

* d_a_saku run format on doc

* d_a_saku remove redundant non-matching comments

* d_a_saku cleanup - var names, formatting, function cleanup

* d_a_saku marked as matching

* d_a_saku remove redundant class declaration

* d_a_saku implement code review feedback

* reverse formatter making changes to configure.py

* d_a_saku code review fixes
2026-09-22 21:46:01 -04:00
LagoLunatic 1b5b1ccf41 d_a_npc_cb1 OK for JPN, almost for demo 2026-09-22 15:59:54 -04:00
LagoLunatic 0655ef6014 d_a_agb near matching for demo, one regalloc left 2026-09-22 15:20:06 -04:00
LagoLunatic 7f8a57ed3d warpls inlines from debug map 2026-09-22 13:06:04 -04:00
Luke 03a2cd7ae1 d_a_warpls 100% matching (#1054)
* d_a_warpls 100% matching

* warpls updated

Changed some member types to better attribute to their usage. Added member and local names as close to what they do. Cleaned up functions and some missing inlines.

* tweak some floats to suffix "f"

* Names & Member Funcs

Feel pretty good about these changes. I also added enums for the type of warp, event type and event state for readability.

* implement review changes

* missing space
2026-09-22 12:57:30 -04:00
Robert Kämpf d09d06562b d_a_obj_mmrr 100% matching (#1212)
* d_a_obj_mmrr 80% matching

* d_a_obj_mmrr 100% matching & linked

* Cleanup and renames

* Remove commented out code

* Exclude demo version from matches

* Use particle id enum
2026-09-21 12:22:18 -04:00
TakaRikka 856594c384 d_menu_item mostly done (#1213)
* d_menu_item mostly done

* a little documentation
2026-09-21 02:50:40 -04:00
LagoLunatic ae69d049e9 YLzou documentation 2026-09-21 02:02:54 -04:00
Lee, Derek 5725ecf675 d_a_obj_YLzou matching (#1118)
* Most simple functions match or almost matching

* Run format

* set_start_type except some regswap

* Fix set_start_type regswap

* create_heap match except instruction locations

* eff_set_slip_smoke_pos matching except for some offsets

* Remove unnecessary

* Capitalize some hex

* eff_smoke_slip_start matching except some offsets

* Remove debug map comment

* name emitter

* vib_proc matching except some offsets

* demo_regist_wait_act_proc match

* demo_vib_start_wait_act_proc 100%

* Remove useless return

* demo_vib_act_proc matching except instruction offsets

* format

* move_ylzou_demo_move_act_proc matching except for instruction locations

* Clean up unnecessary returns

* demo_end_wait_act_proc except instruction offset for instruction offsets

* format

* demo_regist_wait_act_init_proc matched

* demo_end_wait_act_init_proc matching except instruction offsets

* go_up_stairs_demo_move_start_wait_act_init_proc matching except instruction offsets

* go_up_stairs_demo_move_act_proc matching except instruction offsets

* formatting

* _execute matching

* _create matched

* _delete matching

* rename variable to match objdiff

* 100% match

* Cleanup

* Add matching for since it doesn't match for demo

* Match d_a_obj_YLzou

* Demo matching

* Demo matched

* Update d_a_obj_YLzou.cpp

* Format and type triforce_complete as BOOL

---------

Co-authored-by: WilliamArnett <arnettwilliam7@gmail.com>
2026-09-20 23:33:32 -04:00