Commit Graph

2073 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
Jcw87 92e7ebe1f7 Fixes for other compilers (#1230)
* add COMPOUND_LITERAL macro for non-standard struct initializer casts

* fix f_pc_profile_lst for other compilers

* std::__tag_va_List compiler compatibility

* JStudio fix

* fix return

* don't use NULL for non-pointer variables
2026-10-03 18:57:22 -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 b946ec975f Add const to JSystem mtx src params, fixing a regalloc 2026-09-28 18:32: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 95f41836dc fallrock_tag/obj_msdan2 OK for remaining versions 2026-09-28 14:25:45 -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
SuperDude88 2588a1f52e __Register Macro
Use __Register more consistently when not inside __MWERKS__ guard
2026-09-25 15:47:01 -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 f32cc7002c Fix debug build 2026-09-25 08:57:19 -04:00
LagoLunatic 49757b75fd Fix clangd warning about pragma pack 2026-09-24 16:08:19 -04:00
LagoLunatic 39f3cfdf14 J3DSys enum usage 2026-09-24 15:58:39 -04:00
LagoLunatic bb9271a9b8 J3D_ASSERT cleanup 2026-09-24 15:57:35 -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 aa1377886c Random Bits
A couple other things I decided to throw in
2026-09-23 22:20:47 -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 db2cc9d295 A Bunch of uintptr_t
A couple of these are odd because nearby asserts have (u32) that might suggest they didn't use it originally (but for matching purposes uintptr_t is just a typedef for u32)

Most don't have that issue, though
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 6b16b4bf6c GX Inlines
Use more inlines instead of directly dealing with GX FIFO
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