Commit Graph

513 Commits

Author SHA1 Message Date
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
LagoLunatic 26ca0cd4b5 Update dtk-template, switch from intellisense to clangd 2024-10-17 16:12:07 -04:00
LagoLunatic 23ca4248f1 m_Do_graphic work 2024-10-03 23:35:20 -04:00
LagoLunatic 9d2ea6dd39 object-camera 99% 2024-09-11 14:57:27 -04:00
LagoLunatic 580a5eefe5 functionvalue matches and cleanup 2024-09-10 13:37:02 -04:00
LagoLunatic a1bd36d0c5 object-light OK 2024-09-10 02:08:34 -04:00
LagoLunatic 0bea3955d3 object-actor OK
mostly copied from pikmin2 decomp
2024-09-09 15:14:15 -04:00
LagoLunatic 3e093924ce JAIStreamMgr work, copy pikmin2 JAI enums 2024-09-09 02:24:35 -04:00
LagoLunatic 5b502c928a minor jasseqparser cleanup 2024-09-08 20:51:20 -04:00
LagoLunatic 0352a535a4 JASSeqParser 99% 2024-09-07 23:16:09 -04:00
LagoLunatic a0fdc414b1 Remove leading underscore from uses of GX enums 2024-09-07 17:34:24 -04:00
LagoLunatic 2740966e00 couple JASSeqParser matches 2024-09-06 15:09:38 -04:00
LagoLunatic 804e0aaf9e Fix JPABaseParticle position members being out of order 2024-09-02 22:41:33 -04:00
Jasper St. Pierre 893f6bc112 d_particle work 2024-09-02 18:21:08 -07:00
Daniel Hajjar fb2a2e978e JASOscillator (#675)
* JASOscillator work

* JASOscillator matching

* JASOscillator code cleanup

* JASOscillator minor tweak

* Fixed build

* Update src/JSystem/JAudio/JASOscillator.cpp

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>

---------

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2024-08-22 02:29:36 -04:00
Daniel Hajjar c2bacf5658 d_a_player_particle (#674)
* daPy_mtxPosFollowEcallBack_c::execute matching

* daPy_waterDropEcallBack_c::end matching

* daPy_dmEcallBack_c::execute matching

* daPy_fanSwingEcallBack_c::execute matching

* daPy_waterDropPcallBack_c::execute matching

* daPy_sightPacket_c::draw matching

* daPy_sightPacket_c::setSight matching

* daPy_swBlur_c::initSwBlur matching

* daPy_swBlur_c matching

* daPy_lk_c::setWaterDrop matching

* daPy_lk_c::setFootMark matching

* daPy_footEffect_c work

* daPy_lk_c::resetFootEffect matching

* daPy_lk_c::setSwimTail matching

* daPy_lk_c::setCutWaterSplash matching

* daPy_lk_c::setDamageCurseEmitter matching

* daPy_lk_c::setDamageElecEmitter matching

* daPy_lk_c::setDamageEmitter matching

* daPy_lk_c::endFlameDamageEmitter matching

* daPy_lk_c::setSwimWaterDrop matching

* daPy_lk_c::setItemWaterEffect matching

* daPy_lk_c::setFootEffectType matching

* daPy_lk_c::setFootEffect matching

* daPy_lk_c::setAuraEffect work

* daPy_lk_c::setWaterRipple matching

* d_a_player_particle minor cleanup

* daPy_lk_c::setAuraEffect matching

* Removed comment

* Removed another old comment

* PR suggestions
2024-08-09 17:05:24 -04:00