Commit Graph

2649 Commits

Author SHA1 Message Date
LagoLunatic 08c9098dcf Also mark NZ_JNT as an ambiguous name 2026-06-16 15:24:19 -04:00
LagoLunatic 71ef7208ac Add comment to res headers about them being automatically generated 2026-06-16 15:20:00 -04:00
LagoLunatic cc561b1b09 Fix BOW_JNT ambiguity in res_arc.py script 2026-06-16 15:11:23 -04:00
LagoLunatic ed343703e6 Fix include capitalization 2026-06-16 14:59:27 -04:00
123456789758 d61a31e7ab Use joint enums in several different places (#981)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2026-06-16 14:55:36 -04:00
N1ghtD3c0d3r f2d931cd81 d_a_lstair - 100% matching for GZLJ01, GZLE01 and GZLP01 (#1039)
* d_a_lstair - 100% matching for GZLE01

* d_a_lstair - 100% matching for GZLE01 - restore comment deleted by mistake

* d_a_lstair - 100% matching for GZLE01 - fix return values of functions in the MethodTable; replace code with some inlines and macros; improve some casting locations; replace some magic numbers with enum usage; adjust res enum file according general update in the codebase

* d_a_lstair - 100% matching for GZLE01 - remove useless parameter

* d_a_lstair - 100% matching for GZLJ01, GZLE01 and GZLP01
2026-05-31 18:00:48 -04:00
LagoLunatic c8e7f94434 Merge pull request #1041 from SuperDude88/event-inline-fix
Fix Some Uses of dComIfGp_event_reset
2026-05-30 23:55:03 -04:00
SuperDude88 42b34a740f dComIfGp_event_reset Uses
- Fix a few cases where this wasn't being used properly
2026-05-30 21:06:45 -04:00
LagoLunatic 8ff73b8634 Update decomp guide to use new res enum format 2026-05-30 01:11:34 -04:00
LagoLunatic 66356df1a6 Merge pull request #1037 from LagoLunatic/resarc
Regenerate all resource enums and add joint enums
2026-05-30 00:41:24 -04:00
LagoLunatic bae595b973 Update all code to use the new enum formats 2026-05-29 16:34:55 -04:00
LagoLunatic 5ac87a6885 Delete old res file id, file index, and joint index enums 2026-05-29 16:34:55 -04:00
LagoLunatic 3de8a78a8b Generate new res file id, file index, and joint index enums 2026-05-29 16:34:55 -04:00
LagoLunatic cb7f4311d3 Add include dirs 2026-05-29 16:34:54 -04:00
LagoLunatic e1f98604a8 Support Linux 2026-05-29 16:34:54 -04:00
LagoLunatic 79523c8ae5 Mark as executable 2026-05-29 16:34:54 -04:00
LagoLunatic 3f251bb878 Fix type checker errors 2026-05-29 16:34:54 -04:00
LagoLunatic 2398ff4a33 Copy paste res_arc.py directly from TP
Co-authored-by: roeming <brother64youyou@gmail.com>
2026-05-29 16:32:12 -04:00
LagoLunatic 5cde617f29 Cleanup, improve readability of conditionals 2026-05-28 20:27:24 -04:00
LagoLunatic b597e195b4 Match 3 more d_a_tn funcs, clean up some inlines 2026-05-28 18:36:35 -04:00
LagoLunatic 0d6d429ad1 Improve debug_map_diff.py, handle UNUSED symbols 2026-05-28 16:30:56 -04:00
123456789758 ce8aa593df d_a_tn - 99% matching (#994)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2026-05-28 13:59:57 -04:00
LagoLunatic 8b46c357e4 Demo work and fakematch cleanup (#1034) 2026-05-28 13:49:11 -04:00
123456789758 a70388d63f d_a_mo2 - 100% matching (#939)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2026-05-28 13:46:38 -04:00
LagoLunatic bafd8aba62 Implement some more JPAEmitter inlines 2026-05-26 22:18:04 -04:00
LagoLunatic 2dced07761 Add missing inlines for JPADraw 2026-05-26 21:56:55 -04:00
LagoLunatic c3eab3103e debug_map_diff.py: Fix several bugs with main.dol TUs 2026-05-26 21:55:40 -04:00
LagoLunatic c159bb7a7e Fix debug build failing to link 2026-05-26 21:53:45 -04:00
LagoLunatic 74fec58b77 JPADraw OK
__sinit_JPADraw_cpp had a weird mismatch, turns out the fix is adding an explicit dtor to JPADrawSetupTev.
2026-05-26 21:52:56 -04:00
LagoLunatic 63c4ab2167 d_ovlp_fade3 OK for JPN/demo 2026-05-26 14:23:24 -04:00
LagoLunatic 8bed430da7 d_ovlp_fade4 OK 2026-05-26 13:55:16 -04:00
LagoLunatic a13bc47e4b Remove constant copied from TP decomp 2026-05-26 13:54:52 -04:00
LagoLunatic 102042628f Process profiles and enums cleanup (#1031)
* Fix some profile comments

* Add missing static for local visibility data

* Move proc name and draw priority enums to f_pc

* Add _e suffix to daObjBarrier_c proc enum

* Change proc name enum format to match TP

* Change draw prio enum format to match TP

* Change ItemNo enum format, finish fixing item names

* Revert static for cb1 hio

* Clean up formatting of profile comments

* Fix comment alignment
2026-05-26 00:11:58 -04:00
LagoLunatic 79277cb2b2 Add boilerplate for some msg/kankyos 2026-05-25 20:38:56 -04:00
LagoLunatic b3be0f9e64 d_menu_option OK (#1020) 2026-05-25 20:13:09 -04:00
LagoLunatic 9ec2756f98 d_a_obj_hlift OK
closes #410
2026-05-25 18:15:55 -04:00
marian-m12l 7a2286565a d_a_obj_hlift (#1015)
* first pass on d_a_obj_hlift

* shuffle data + more matching functions

* fix unnamed namespace + use resource enum

* fix set_mtx demo

* fix modes u_l_ and l_u

* fix demo assert

* vib_proc 98% demo

* enum names

* fixes after review

---------

Co-authored-by: marian <marian.muller@serli.com>
2026-05-25 17:54:31 -04:00
LagoLunatic f578b6d34a d_a_himo2 almost matches for retail 2026-05-24 15:34:41 -04:00
LagoLunatic b95a623434 Clean up conditions 2026-05-24 15:33:38 -04:00
LagoLunatic 4550a9aae6 d_a_bst OK for USA
closes #277
2026-05-23 17:28:49 -04:00
LagoLunatic a3e422e481 d_a_npc_md 99% for demo 2026-05-22 20:08:54 -04:00
LagoLunatic 47e01ede22 Fix d_a_npc_md inline usage 2026-05-22 18:43:02 -04:00
LagoLunatic 95fac0fd63 Decmp guide: Explain making local copy in Ghidra 2026-05-22 18:19:12 -04:00
LagoLunatic fe3b83dcc1 Add debug_map_diff.py to detect missing/wrong inlines 2026-05-22 18:01:30 -04:00
LagoLunatic 6a1073e705 Fix d_a_npc_md weak func order, clean up order fakematches from d_a_player main
closes #226
2026-05-22 15:50:17 -04:00
LagoLunatic 638d76a959 Add weak_order_diff.py for help with weak func order issues 2026-05-22 15:42:57 -04:00
LagoLunatic 734bd4d122 d_a_npc_md 100% for retail 2026-05-22 15:39:47 -04:00
LagoLunatic 98956b312d Clean up JGeometry::TVec3 jank/fakematches
It seems the const parameters might not be necessary after all, and these can be matched with (f32)/(s16) casts in set(T, T, T) instead.
2026-05-22 15:08:59 -04:00
123456789758 02b81a670b d_a_npc_md - 99% matching (#896)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2026-05-22 00:21:27 -04:00
LagoLunatic ab5659b201 d_a_player_main cleanup and some demo matches (#1016)
* d_a_player_main cleanup and some demo matches

* Add unions for player_main procvars

* Make d_a_player_main fields private
2026-05-21 19:18:46 -04:00