Commit Graph

64 Commits

Author SHA1 Message Date
LagoLunatic cbbd4c2dc0 Match more player_main regalloc/stack/etc issues 2025-05-08 23:00:19 -04:00
123456789758 224b83ed8c d_a_player_main - 96% matching (#750)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-05-07 19:08:04 -04:00
Jcw87 5e7b59f2fe Improve compiler compatibility (#743)
* fix returns

* use standard C headers

* struct/class mismatch

* explicit this in template

* switch variable scope

* C standard compliance

* & l-value
2025-04-29 12:49:09 -04:00
123456789758 cceb1ca57d d_a_player_fan.inc - Almost all matching except floats. (#725)
* d_a_player_fan.inc - Almost all matching except floats.

* procFanSwing and procFanGlide close to matching.

---------

Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-03-31 18:48: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
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 4a4624decf Populate particle IDs enum with placeholders and use them everywhere 2025-03-06 17:37:20 -05:00
LagoLunatic b293609f56 Fix dPa_modelEmitter_c vtable 2024-10-19 14:04:00 -04:00
LagoLunatic 23ca4248f1 m_Do_graphic work 2024-10-03 23:35:20 -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
Jasper St. Pierre e4024253ab d_particle work 2024-07-13 20:38:12 -07:00
Erilea 6f01730ab2 Add dComIfGp_particle_addModelEmitter wrapper 2024-05-24 18:56:46 +02:00
LagoLunatic c2452afb7f d_a_player_npc OK, d_a_npc_os 100% except weakfunc order 2024-03-18 23:41:02 -04:00
SuperDude88 3f1d64f3ab daNpc_Os_c Work (#611)
* daNpc_Os_c Work

Mostly matching

* How Did I Miss This

Somehow this wasn't erroring on my machine

* Hopefully This Works Now

* Surely this is the last one

* Definitely compiles now

* Cleanup
2024-03-18 22:04:58 -04:00
LagoLunatic bd2b53d6ae d_demo work 2024-03-09 18:32:19 -05:00
Jcw87 001ecdde5a d_particle 2024-01-31 01:44:44 -08:00
LagoLunatic 2a27075530 d_a_player_main 2024-01-16 14:44:21 -05:00
Jasper St. Pierre 5e06ae88f2 d_kankyo_rain work 2024-01-14 12:47:23 -08:00
LagoLunatic 82b429b72f start adding particle/hitmark enums + some d_cc_s 2023-12-30 00:50:19 -05:00
LagoLunatic 12b821eca2 particle/JGeometry progress 2023-12-27 18:12:09 -05:00
LagoLunatic ec3f7f0198 misc minor cleanup (indentation, offset comments, etc) 2023-12-19 21:29:37 -05:00
Jcw87 554f653bbc d_particle 2023-12-14 01:34:13 -08:00
LagoLunatic a90e2e842e d_door start 2023-12-04 16:22:09 -05:00
LagoLunatic 5d53392a9b minor player_main work 2023-11-25 14:23:29 -05:00
Jasper St. Pierre e66b3f8c4d m_do_graphic work 2023-11-24 23:13:19 -08:00
LagoLunatic 072f172d50 d_a_obj_kanat OK 2023-11-24 17:26:10 -05:00
LagoLunatic 6c9b6c3c00 Manually fix headers for build 2023-11-24 13:06:40 -05:00
LagoLunatic cc35bd0890 npc_md work 2023-11-20 23:28:35 -05:00
Jasper St. Pierre 77f5d98159 d_drawlist, d_particle, f_op_actor_mng, JPA work 2023-11-11 13:22:49 -08:00
LagoLunatic 0ab15b4127 d_a_ib OK, add J3DFrameCtrl state enum 2023-10-31 16:41:28 -04:00
LagoLunatic d270c07876 d_a_obj_homensmoke OK 2023-10-21 14:19:49 -04:00
LagoLunatic d347dcd89b d_a_am2 match 2023-10-20 19:01:13 -04:00
LagoLunatic 1299f85522 d_a_player_main work 2023-10-18 18:13:26 -04:00
Jasper St. Pierre 18ff139287 Merge pull request #520 from LagoLunatic/player
d_a_npc_kamome 100%, no match
2023-10-14 15:25:09 -07:00
Jasper St. Pierre f8f6a4fbc5 d_s_room start 2023-10-14 15:08:18 -07:00
LagoLunatic 4905163814 d_a_npc_kamome 100% 2023-10-14 17:46:25 -04:00
Jasper St. Pierre 411a467ddc d_s_logo start, VERSION_SELECT 2023-10-14 13:23:24 -07:00
Jasper St. Pierre bc42605ace d_com_inf_game matches 2023-10-12 17:17:43 -07:00
Jasper St. Pierre fdd914e8e7 some cleanup 2023-10-10 17:10:38 -07:00
LagoLunatic 888bb95051 Add default parameters for particle inlines 2023-10-10 18:01:27 -04:00
LagoLunatic 9c91b939a7 d_a_player OK 2023-10-07 20:24:43 -04:00
SuperDude88 07a5a8cd18 Bomb Work 2023-10-06 17:27:47 -04:00
LagoLunatic 41e656a4d2 Fix particle headers, d_a_am matching 2023-10-06 00:10:31 -04:00
Dylan Ascencio e336d5e8fd Change d_a_arrow to use dComIfGp_particle_setP1 2023-10-04 01:39:34 -04:00
Dylan Ascencio 985e44a9b5 Updates to fix building 2023-10-04 01:17:19 -04:00
Dylan Ascencio 851e4cf3dd Fixes from merge 2023-10-04 00:46:20 -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