Commit Graph

668 Commits

Author SHA1 Message Date
LagoLunatic a6bf2ff16b Add debug-only HIO TUs based on TP decomp (#1232)
* Add debug-only HIO TUs based on TP decomp

* Remove dump_sort
2026-10-07 18:47:36 -04:00
LagoLunatic 3c3e0e097a d_scope: Remove fake names and fake matches 2026-10-04 23:04:39 -04:00
LagoLunatic 49f2e3484e Fix non-pointer fields using mp name prefix 2026-10-03 19:50:45 -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
LagoLunatic fecfbdd1df d_menu_collect OK for retail 2026-10-02 17:12:56 -04:00
LagoLunatic b946ec975f Add const to JSystem mtx src params, fixing a regalloc 2026-09-28 18:32:12 -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 4c2614e8a0 d_a_npc_nz OK for demo 2026-09-27 10:36:21 -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 bb9271a9b8 J3D_ASSERT cleanup 2026-09-24 15:57:35 -04:00
LagoLunatic a15aec383f Merge pull request #1216 from SuperDude88/main
More Random Cleanup
2026-09-24 14:16:21 -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
LagoLunatic e652f902b7 d_a_player_main inlines and fix himo2/himo3 confusion 2026-09-23 16:19:00 -04:00
LagoLunatic 3bf1629173 JASBasicWaveBank OK 2026-09-20 13:16:06 -04:00
Jcw87 9066be8e31 JAudio (#1209) 2026-09-19 22:17:23 -04:00
LagoLunatic f38b962a58 demo d_file_error OK, fmap/fmap2 work, misc (#1208)
* d_file_error OK, use J2DPane inlines everywhere

* d_menu_fmap demo work

* fmap and fmap2 work

* fix demo regression with ternary fakematch

* inline cleanup, f_pc_profile OK for demo

* fix min/max bss order

* lstair almost for demo
2026-09-17 10:05:55 -04:00
LagoLunatic 04516bd630 d_operate_wind OK 2026-09-15 13:32:17 -04:00
TakaRikka adf4c5971f d_s_open_sub ok / some improvements to JAIZelAnime (#1206)
* d_s_open_sub ok

* small JAIZelAnime improvements

* add an inline

* fix JAIZelAnime for jpn

* some d_s_open_sub field names
2026-09-15 12:00:55 -04:00
TakaRikka 43f8aac7dc d_operate_wind mostly done (#1207) 2026-09-15 11:59:02 -04:00
LagoLunatic 99662e663f demo matches for some grid funcs 2026-09-09 13:35:22 -04:00
Jcw87 4c0a2960c9 JAudio (#1197) 2026-09-06 18:43:18 -04:00
Jcw87 40e3fe24cb JAudio (#1196)
* JStudio

* JAudio
2026-09-05 10:54:59 -04:00
LagoLunatic 6401d64e51 Remove fake CButton enum, use SDK button defines instead 2026-09-04 14:33:00 -04:00
LagoLunatic e7e0e8e581 m_Do demo work (#1189)
* m_Do_controller_pad and m_Do_Reset OK for demo, m_Do_machine 100% with weak func order

* Add machine.pch, m_Do_machine OK for demo

* m_Do_gba_com and m_Do_MemCardRWmng OK for demo

* m_Do_graphic work

* m_Do_graphic JPN/PAL version diffs
2026-08-31 15:52:01 -04:00
Jcw87 18e0b77903 fix TEnumerator (#1192) 2026-08-31 12:37:06 -04:00
LagoLunatic e9f0482395 JASChannelMgr and JASBankMgr OK 2026-08-28 20:42:59 -04:00
LagoLunatic e5b3616f36 JASDSPChannel inline fixes, match TDSPChannel::alloc 2026-08-28 17:27:58 -04:00
LagoLunatic 6bafbce0af fvb OK 2026-08-28 16:34:27 -04:00
LagoLunatic f2be4dc1ff Various J3D inline fixes 2026-08-28 15:03:03 -04:00
LagoLunatic 60a05bdb83 Fix J3DGXColor ctors for clang 2026-08-28 14:53:14 -04:00
Jcw87 9234aa8286 Compiler compatibility, other fixes (#1188)
* add missing data

* fix return value

* d_camera fix

* missing GXEnd

* struct fixes

* fix include
2026-08-28 14:07:33 -04:00
LagoLunatic 77f9369fd6 J3DMatBlock OK 2026-08-28 12:57:22 -04:00
Teddy Heidmann efe690876c d_menu_dmap (#1166)
* initial structure from ghidra

* dMd_HIO_c fields and constructor

* screenSet progress

* More screenSet

* boss door

* initialize

* treasureDraw

* largest method ever

* alphas

* cursors

* notes

* itemScale

* so many pointers

* pls no more string logic

* boss animes

* deletes are weird in ghidra

* _draw()

* cleanup for review, configure matching

* fix dMap_GetFloorNoForDmap

* not matching GZLJ01

* different fix for d_map.h

* GZLJ01

* GZLP01

* D44J01

* missing import

* replace !=0 with != NULL for pointers

* Revert "D44J01"

This reverts commit b0ce19b9f1.
2026-08-26 14:11:18 -04:00
LagoLunatic e93a21702a several more TUs OK for demo 2026-08-24 20:30:40 -04:00
LagoLunatic 0195ac864a d_a_bridge OK, cXyz inline cleanup 2026-08-24 14:34:25 -04:00
LagoLunatic 863f0b22ed Implement some JPA inlines 2026-08-22 16:43:46 -04:00
Roman Sandu 49ab3bbb5c JPA improvements (#1139) 2026-08-22 13:55:34 -04:00
LagoLunatic e389a9b814 demo work (#1172)
* Some d_message demo matches

* More demo matches

* fix jpn
2026-08-16 18:05:17 -04:00
LagoLunatic e08dff3c73 Debug build improvements (#1170) 2026-08-16 12:09:07 -04:00
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 2fe7e48e10 d_menu_collect closer 2026-08-13 19:06:17 -04:00
Mattias Blum 56f975b580 d_menu_collect mostly matching for GZLE01 (#1164)
* more progress

* more progress

* more progress

* more progress

* d_menu work

d_menu_collect class members cleaned up, some functions at 100% matching

* added `Nonmatching` tag to unmatched functions

* more functions at 100%

* more functions matching

* more functions matching

* more progress

* more progress

* d_menu mostly matching for GZLE01

* fixed broken member names
2026-08-13 16:27:09 -04:00
LagoLunatic 37f7baaaf0 Several demo matches (#1165) 2026-08-13 16:19:28 -04:00
LagoLunatic 93a2a6522a d_a_movie_player fixes 2026-08-12 12:56:27 -04:00