Commit Graph

528 Commits

Author SHA1 Message Date
Jcw87 be0f59f361 d_mesg 2025-04-17 12:16:48 -07:00
LagoLunatic ad22472b1a player misc cleanup and various match fixes 2025-04-16 20:26:40 -04:00
LagoLunatic 1f049c0911 Move remaining class definitions to headers 2025-04-16 14:18:08 -04:00
LagoLunatic 2f4c6f89b3 Bunch of inline fixes 2025-04-16 13:23:21 -04:00
LagoLunatic d7bd87bc01 JPAEmitterManager OK 2025-04-15 01:55:36 -04:00
LagoLunatic 0d2c28e579 JPAParticle OK, JPAField 2025-04-14 23:22:14 -04:00
LagoLunatic 780d4e680a d_drawlist OK, J2DPicture inline cleanup 2025-04-12 23:18:11 -04:00
SuperDude88 1f1900bf66 f_op_msg_mng Work (#685)
* f_op_msg_mng work

* Fix Some Conflicts

Haven't had much chance to work on actual progress, still looking to do more matching before merge

* Tiny bit of Work

Little bit of cleanup, start on a couple more functions

* More Matches

Also add back some missing nonmatch comments

* Fixes

* JPN ifdefs

* Inline Fix

Also force one match (there's no way that casting is real)

* Reorder Strings

Fix rodata, I think this order is also slightly more accurate to the function (but I'm not really trying to match it right now anyways)
2025-04-12 21:02:24 -04:00
LagoLunatic e1898d3836 functionvalue 100% 2025-04-12 00:28:12 -04:00
LagoLunatic 309158e274 J3DModel inlines cleanup, procBottleSwing_init match, etc 2025-04-10 19:30:51 -04:00
LagoLunatic 556e578f23 Misc small cleanup 2025-04-09 01:49:35 -04:00
LagoLunatic 2ae6d899f7 J3DMaterialFactory and J3DMaterialFactory_v21 OK 2025-04-08 22:47:27 -04:00
LagoLunatic b260dfea81 object-id OK 2025-04-08 18:17:15 -04:00
LagoLunatic cd777aa35b object-particle OK 2025-04-08 17:03:42 -04:00
LagoLunatic 6a64986a39 JStudio cleanup 2025-04-08 16:33:02 -04:00
LagoLunatic 3892ab054d std-vector OK 2025-04-04 22:40:24 -04:00
LagoLunatic 4de0fd7eff std-vector equivalent 2025-04-04 19:46:43 -04:00
LagoLunatic 07d0adc7da JAISequenceHeap OK 2025-04-03 17:01:12 -04:00
LagoLunatic 1ca8069c76 JAIFx OK 2025-04-03 16:08:26 -04:00
LagoLunatic 9b0f7c852f JAIAnimation (BAS) OK 2025-04-03 15:47:28 -04:00
LagoLunatic b9c1eed694 d_demo work 2025-03-28 22:35:13 -04:00
mattias-blum d945c14cac d_a_ship 95% (#706)
* Initial Progress

Basic functions at 100% matching

100% Matching:
- `daShip_Draw`
- `daShip_Execute`
- `daShip_IsDelete`
- `daShip_Delete`
- `daShip_createHeap`
- `daShip_Create`

* implemented `getJointPos` inlines in `daTornado_c` needed for d_a_ship

* implemented `Center()` inline in `dCamera_c` needed for d_a_ship

* added `setTranslationX` inline to `J3DTexMtx` needed for match in d_a_ship

* parameters set to `const` for certain inlines in `m_Do_mtx.h`

* added `dComIfGp_onMenuCollect` inline

* changed `shipSpecialDemoStart` return type to `BOOL`

* added member functions to `dPa_waveEcallBack`, `dPa_splashEcallBack `, `dPa_trackEcallBack`

also modified member type of `mRotMtx` of `dPa_waveEcallBack`  and `mPos` of `dPa_trackEcallBack`

* added member to `daGrid_c` that is used in d_a_ship

* added `mDoAud_setShipSailState` and `mDoAud_shipCruiseSePlay` inline functions

* added `fopAcM_seenPlayerAngleY` inline

* d_a_ship mostly matching

approx. 90% matching, mostly regalloc issues. , `checkNextMode`, `setRopePos`, `setHeadAnm`, and `execute` need to have their logic fixer

* replace `unknown_inline_TODO ` from `daShip_c` with `checkForceMove`

* .data match

* .rodata matching

* more inline return type changes from `bool` to `BOOL`

Also changed the array size of `mPlayerStatus`

* implemented `force_calc_wind_rel_angle` inline in `daGrid_c`

* fix `d_a_ship_static`

* fixed `getEmitterAxis`, might need review but works for now

* more progress

* reverted change to `getEmitterAxis`, moved casts to function call in `dPa_waveEcallBack::executeAfter`

* more progress

* change return types of certain inlines from `BOOL` to `u32`

`dComIfGp_checkCameraAttentionStatus`, `dComIfGp_checkPlayerStatus0`, `dComIfGp_checkPlayerStatus1` needed for match in d_a_ship

* fixed memory addresses in `daGrid_c`

* more progress

* resolving symbols

* Initial PR changes

* Removed unnecessary cast

* replaced instances of `PSVECSquareMag` with corresponding inline functions

* update memory layout in `d_a_grid` for consistency

* More PR changes

`checkNextMode` and `procZevDemo` now at 100% matching
2025-03-28 14:17:21 -04:00
LagoLunatic b97eeed779 Rename J3DFrameCtrl loop mode enum
See https://github.com/zeldaret/tp/pull/2327/commits/2a284165cf35a2324d36d825add5c06ffa864398
2025-03-17 16:21:46 -04:00
LagoLunatic 243c576d6e JASHardStream OK 2025-03-15 20:35:06 -04:00
LagoLunatic 89e9cdafb5 JASChannel OK 2025-03-15 19:55:45 -04:00
LagoLunatic 74b917e08c Fix const params in JGeometry::TVec3 ctor 2025-03-10 21:38:02 -04:00
LagoLunatic b4a6abb121 Fix priority type u32 -> s32 2025-03-10 21:17:59 -04:00
LagoLunatic 0e508ad721 Clean up JPAEmitterLoader 2025-03-06 19:15:49 -05:00
LagoLunatic 5571ec74e4 Document the second param to joint callback functions 2025-02-28 18:04:05 -05:00
LagoLunatic c4ad9f7241 Various cleanup 2025-02-23 19:59:54 -05:00
LagoLunatic 458c40ede8 Translate strings in fopAcM_entrySolidHeap 2025-02-11 16:25:06 -05:00
LagoLunatic a52bb789da Rename HostIO mChildID to mNo
TP debug has an assert in d_a_obj showing the name of this variable is `M_no` there.
2025-01-31 15:49:44 -05:00
LagoLunatic 901bc51f40 d_a_npc_md work 2025-01-27 19:26:14 -05:00
LagoLunatic ffe54e0bea Mark funcs with weak func order issues as Equivalent, fix a few other issues 2025-01-23 21:52:41 -05:00
LagoLunatic 2a02484cdc JStudio/JMessage work and cleanup 2025-01-17 20:04:18 -05:00
LagoLunatic e620f9328b Use _GX name typedefs 2025-01-14 22:47:21 -05:00
LagoLunatic d2426c53f7 Fix JUTXfb fakematch
This match (with the u32 cast) is more likely to be the real match based on the inlines called in TP debug.
2025-01-14 22:41:00 -05:00
Jasper St. Pierre 3c660fa937 J2DBasePosition 2024-12-28 17:02:59 -08:00
Jasper St. Pierre 72bbd3ea1f f_op_msg_mng work 2024-12-28 15:33:02 -08:00
LagoLunatic c46adebdb9 Fix more clangd errors
This also seems to fix the problem where clangd failed to index most header files, which was due to the typo in JGeometry.h.
2024-11-22 19:04:56 -05:00
LagoLunatic 04a5b59db5 GX work 2024-11-07 14:24:48 -05:00
LagoLunatic 0492ca2b52 start d_menu_option 2024-11-05 20:53:59 -05:00
LagoLunatic 3eac0a16ac warning cleanup 2024-11-02 00:00:04 -04:00
LagoLunatic e9f82ff359 Add custom build rule for material display lists with image addresses in them 2024-11-01 19:32:15 -04:00
LagoLunatic fab0d7a5ba misc cleanup, mostly inlines 2024-10-29 00:22:32 -04:00
LagoLunatic f8e615fae7 cleanup 2024-10-22 12:36:12 -04:00
LagoLunatic ce592831fe Warning/error cleanup 2024-10-18 15:55:31 -04:00
LagoLunatic 9e29fd3c68 More warning cleanup 2024-10-18 11:33:08 -04:00
LagoLunatic 202851599f More warning/error cleanup, mostly includes 2024-10-17 23:46:30 -04:00
LagoLunatic 34afbd84db clangd: Started fixing warnings and errors, code cleanup 2024-10-17 21:35:18 -04:00