Commit Graph

683 Commits

Author SHA1 Message Date
LagoLunatic 81ebe0dfd4 Work on JAS inlines, fix limits/climits headers 2026-10-27 00:29:52 -04:00
LagoLunatic 02de6b772d More JAI inlines, replace all JAI fakematches with realmatches 2026-10-26 15:28:25 -04:00
LagoLunatic 49a77909c9 Implement all JAISound inlines 2026-10-25 16:52:52 -04:00
Max Roncace 62272de8ac JAudio matching (#1249) 2026-10-25 14:28:33 -04:00
SuperDude88 98153338b0 Tiny Cleanups (#1248)
* Random const Fixes

- Add more const
- Make 1 usage where it was casted away more consistent with similar code

* Inline Fixes

- GXColor4x8 -> GXColor4u8 to match debug map
- Use inlines in a few more places

* More __MWERKS__ Usage

- Guard more standard-noncompliant code behind __MWERKS__

* Inconsistent Typing Fixes

- Make sure function params match between header <-> source

* More COMPOUND_LITERAL Usage

- Fix a couple missing COMPOUND_LITERALs
2026-10-23 18:00:35 -04:00
Jcw87 c74eb074a1 real c++ header names (#1247) 2026-10-21 00:31:21 -04:00
LagoLunatic 8b93b372dc J3DModel almost matching for JPN/demo 2026-10-14 14:54:55 -04:00
LagoLunatic 4d78c99425 JMessage OK 2026-10-13 17:33:40 -04:00
LagoLunatic a33dadb28b d_particle match improvements 2026-10-13 00:56:10 -04:00
Jcw87 f70086dede d_particle (#1240)
* d_particle

* d_particle casts
2026-10-12 22:55:56 -04:00
LagoLunatic 31c6f72f57 Merge pull request #1239 from Jcw87/misc_fixes
Misc fixes
2026-10-12 12:58:41 -04:00
Teddy Heidmann f288e35ac5 d_menu_fmap2 (#1237)
* regswaps

* clearer variables

* enum for maptype

* clearer reg names

* capitalize hex

* cCursorAnime()

* _delete, fCursorInit

* _open, _draw

* _close, changeZoomCmap

* gsMoonAnime, gsShipAnime

* trTrifAnime

* changeSelCmap2

* cmapAlphaSet

* fCursorAnime

* ChangeProcMode

* fCursorMove

* cSelCursorAnime

* playerPointGridAnime

* changeIslandName, fmapPlayerPosDisp

* fmapPlayerPosDispCheck

* changeCmapName

* cmapPlayerPosDisp

* paneAlpha fns

* pane renames

* cmapSalvagePosDisp

* cmapPlayerPosDispCheck

* paneTranceMessage

* field renames

* added enums

* HIO colors and renames

* GZLE01

* GZLJ01

* GZLP01

* D44J01 progress

* fix setBlackWhite return

* remove import

* demo update
2026-10-12 12:47:28 -04:00
Jcw87 4f1657ee20 JMessage fix 2026-10-11 20:58:52 -07:00
Jcw87 fab3a8493b offset comments 2026-10-11 20:58:49 -07:00
LagoLunatic 04531efddf Clean up J3D inlines 2026-10-09 13:30:55 -04:00
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