Commit Graph

38 Commits

Author SHA1 Message Date
LagoLunatic 21cd7a2f67 G_CM3D_F_INF 2025-05-21 16:46:21 -04:00
LagoLunatic cbbd4c2dc0 Match more player_main regalloc/stack/etc issues 2025-05-08 23:00:19 -04:00
Jcw87 c033afc1f0 Match some data (#745)
* J3DTransform Data

* d_map Data

* jstudio-object Data

* JASBankMgr Data

* JASTrack Data

* d_particle Data

* d_camera Data
2025-05-03 01:18:21 -04:00
LagoLunatic 2f4c6f89b3 Bunch of inline fixes 2025-04-16 13:23:21 -04:00
LagoLunatic 309158e274 J3DModel inlines cleanup, procBottleSwing_init match, etc 2025-04-10 19:30:51 -04:00
LagoLunatic a0536371e6 player_swim 100%, bunch of inline cleanup 2025-03-29 20:09:32 -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 74b917e08c Fix const params in JGeometry::TVec3 ctor 2025-03-10 21:38:02 -04:00
Ross Newman 7a8b7bfc95 d-a-obj-swhammer equivalent (#702)
* start d-a-obj-swhammer

* mostly match swhammer and name members

* rename smoke callback member mColor

* name attrs and match createheap

* 100% equivalent
2025-03-10 21:17:26 -04:00
LagoLunatic 49c69eeb0f C_BG_MIN_HEIGHT, C_BG_MAX_HEIGHT 2025-03-06 20:41:37 -05:00
LagoLunatic c6768dba61 A few more matches for d_particle
createCommon/createRoomScene only match when the particle group enum is used, as enums and literals have different codegen
2025-03-06 18:31:33 -05:00
LagoLunatic 4a4624decf Populate particle IDs enum with placeholders and use them everywhere 2025-03-06 17:37:20 -05:00
LagoLunatic e620f9328b Use _GX name typedefs 2025-01-14 22:47:21 -05:00
LagoLunatic 3bdcd42944 Clean up the weak data fakematches to be slightly closer to the real code 2024-11-20 16:38:29 -05:00
LagoLunatic fab0d7a5ba misc cleanup, mostly inlines 2024-10-29 00:22:32 -04:00
LagoLunatic 329d94a301 Add fake headers for unsolved weak objects to reduce manual copy-pasting 2024-10-19 14:03:50 -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 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
LagoLunatic a25d2651de Move sqrtf to std:: namespace 2024-08-08 14:55:57 -04:00
LagoLunatic d287e79ab0 Move abs and fabsf to std namespace 2024-08-07 12:55:30 -04:00
Jasper St. Pierre bae8aa63bc JPA work 2024-07-14 20:30:36 -07:00
Jasper St. Pierre e4024253ab d_particle work 2024-07-13 20:38:12 -07:00
LagoLunatic f9d40ebad8 Use NULL macro in asserts, fix NULL macro to match 2024-06-22 11:07:16 -04:00
LagoLunatic 74f571ff97 Clean up resource enums, more inline work 2024-02-03 15:41:55 -05:00
Jcw87 001ecdde5a d_particle 2024-01-31 01:44:44 -08:00
LagoLunatic 12b821eca2 particle/JGeometry progress 2023-12-27 18:12:09 -05:00
Jcw87 46a937b489 various constructors and other small functions 2023-12-20 21:39:09 -08:00
Jcw87 554f653bbc d_particle 2023-12-14 01:34:13 -08:00
Jasper St. Pierre 77f5d98159 d_drawlist, d_particle, f_op_actor_mng, JPA work 2023-11-11 13:22:49 -08:00
Jasper St. Pierre 1166423d50 d_drawlist work 2023-11-08 21:52:15 -08:00
LagoLunatic 41c1259916 d_a_vrbox OK 2023-11-02 05:58:13 -04:00
SuperDude88 c1cf48eca3 More Matches
- Match a few more functions
- Offset comments
2023-10-07 13:50:09 -04:00
LagoLunatic 8d95d62196 Add bomb headers 2023-10-06 00:07:15 -04:00
Dylan Ascencio e160dd05c2 Finish merge 2023-10-04 00:38:21 -04:00
LagoLunatic 3ce4a6f388 Improve d_particle destructors 2023-10-03 15:27:53 -04:00
Dylan Ascencio efdfef23ae Match a few more functions, just missing 2 now 2023-10-02 00:42:39 -04:00
Luke Street adb95b135c Import project
Original repository: https://github.com/encounter/ww
2023-09-10 00:48:55 -04:00