Commit Graph

85 Commits

Author SHA1 Message Date
LagoLunatic 534f5d4e72 player_crawl and player_hammer 100%, misc player cleanup 2025-05-07 23:00:35 -04:00
123456789758 224b83ed8c d_a_player_main - 96% matching (#750)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-05-07 19:08:04 -04:00
123456789758 eef20535ac d_a_player_main - 70% Matching. (#742)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-04-27 19:32:36 -04:00
LagoLunatic 38a6e76657 player checkFlg inline fix, player_pushpull cleanup 2025-04-16 16:50:11 -04:00
LagoLunatic ce1468c108 player enum and inlines and goto cleanup 2025-04-16 15:02:18 -04:00
123456789758 70d9f5df10 d_a_player_main - 48% Matching. (#739)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-04-14 17:17:47 -04:00
123456789758 072cb3a441 d_a_player_misc - Several matches/close matches across several files. (#736)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-04-08 17:41:27 -04:00
‎ ‎ ‎ d3c253dcef d_a_player_rope.inc - Almost all matching except minor issues (also extra matches in d_a_player_vomit). 2025-04-05 22:14:32 -04:00
LagoLunatic 924e87029d d_a_player_sword cleanup and small match fixes 2025-04-04 13:19:42 -04:00
LagoLunatic bc4c7dd5f9 Match Link's HIO class constructor
The constructor and section ordering of the constructor both seem to match now.
2025-04-01 16:03:06 -04:00
123456789758 3bb407642a d_a_player_ship.inc - Several close to matching except minor issues. (#721)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-04-01 14:31:12 -04:00
123456789758 340a15feb3 d_a_player_grab.inc - Almost all matching except a few with minor issues. (#719)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-04-01 14:31:00 -04:00
123456789758 221f6e8033 d_a_player_crawl.inc - Some matching except floats, others close to matching, (#718)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-03-31 18:15:22 -04:00
123456789758 a69b604b01 d_a_player_pushpull.inc - Almost all matching except minor issues. (#728)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-03-31 18:10:34 -04:00
123456789758 0b883c50c6 d_a_player_boomerang.inc - All fully matching. (#722)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-03-31 17:58:45 -04:00
123456789758 f4587892ff d_a_player_dproc.inc - All except two fully matching. (#713)
* d_a_player_dproc.inc - All except two fully matching.

* Addressed review comments.

* Missed two mCurProc checks.

* Second review.

---------

Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-03-30 14:08:11 -04:00
Mattias Blum 2376acb224 d_a_player_swim near complete (#711)
* initial progress

* more progress

* added `dComIfGp_clearItemTimeCount` inline

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress, all code matching except for `setSwimMoveAnime`

* resolving symbols, forgot to mention `changeSwimOutProc` is not matching as well

* PR changes made, only `setSwimMoveAnime` nonmatching

* fixed reference to old member name for `mItemTimeMax`
2025-03-29 18:55:06 -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 ffe54e0bea Mark funcs with weak func order issues as Equivalent, fix a few other issues 2025-01-23 21:52:41 -05:00
LagoLunatic e8adc6c9e5 Rename more item enums 2025-01-17 20:58:43 -05:00
LagoLunatic 3d63a54587 Player inlines and enums 2025-01-08 15:05:14 -05:00
LagoLunatic 34afbd84db clangd: Started fixing warnings and errors, code cleanup 2024-10-17 21:35:18 -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
LagoLunatic 2def735282 Add fpc_ProcID type and use it for all process IDs
See https://github.com/zeldaret/tp/pull/2173
2024-07-12 21:14:13 -04:00
LagoLunatic cbc5be21cd player_main work 2024-06-30 15:45:44 -04:00
LagoLunatic 8634478bc1 Use the "next TU" fakematch to link d_door 2024-06-30 11:15:20 -04:00
LagoLunatic bd5853cb5a Fix beat/melody var names 2024-06-06 19:06:39 -04:00
LagoLunatic eec24f6c27 procTactWait 2024-06-06 18:48:25 -04:00
Daniel Hajjar ed7a50cd86 d_a_auction (#654)
* Started working on d_a_auction

* daAuction_c Updated member variables

* daAuction_c Refactored class

* daAuction_c::getRand matching

* daAuction_c constructor matching

* d_a_auction CheckCreateHeap matching

* daAuction_c::_create matching

* d_a_auction l_item_dat matching

* daAuction_c::createHeap matching

* d_a_auction Added HIO classes

* daAuction_c::createInit WIP

* daAuction_c::_delete matching

* daAuction_c::_draw matching

* daAuction_c::_execute matching

* d_a_auction Fixed procfunc arrays

* daAuction_c moveProc funcs matching

* daAuction_c::checkOrder matching

* daAuction_c::eventOrder WIP

* daAuction_c::eventMove matching

* daAuction_c::privateCut WIP

* daAuction_c::eventTalkInit matching

* daAuction_c::eventMesSet matching

* daAuction_c::eventMesEnd matching

* daAuction_c::eventStartInit matching

* daAuction_c::eventStart matching

* daAuction_c::eventMainInit matching

* daAuction_c::eventMain matching

* daAuction_c::eventMainKai matching

* daAuction_c::eventMainKai Fixed formatting

* daAuction_c::eventMainUri matching

* d_a_auction matching fixes

* daAuction_c::eventMainMsgSet matching

* daAuction_c::eventMainMsgEnd matching

* daAuction_c::setMtx matching

* daAuction_c::getItemNo matching

* daAuction_c::setLinkAnm matching

* d_a_auction matched some functions

* d_a_auction matched SetMessage functions

* daAuction_c::getNpcActorP matching

* daAuction_c::eventMainMsgBikonC matching

* daAuction_c::eventMainMsgBikonW matching

* daAuction_c::eventGetItemInit matching

* daAuction_c::eventGetItemNpcInit matching

* daAuction_c::eventGetItemMesInit matching

* d_a_auction matched some functions

* daAuction_c::setCameraNpc matching

* daAuction_c::nextBet matching

* daAuction_c::privateCut Fixed matching

* d_a_auction .data section matching

* daAuction_c::next_msgStatus WIP

* daAuction_c::next_msgStatus matching

* Fixed variable names

* d_a_auction cleanup

* d_a_auction more cleanup

* d_a_auction non-matching

* d_a_auction minor tweak
2024-06-02 10:48:53 -07:00
LagoLunatic 0dd3f6e47c Standardize process ID type to be uint 2024-03-11 19:03:47 -04:00
LagoLunatic d0e8844b4b Add uint typedef 2024-03-11 18:23:44 -04:00
LagoLunatic 1af06107e0 More enum cleanup 2024-02-20 00:07:18 -05:00
LagoLunatic e713c46d12 Fakematch d_a_agb's weak order with next-TU hack 2024-02-12 16:15:48 -05:00
LagoLunatic 30ded8678e Use horrible hack to fakematch weak order of f_op_actor_mng 2024-01-24 17:22:44 -05:00
LagoLunatic 2524f4f5fc Minor d_com_static work 2024-01-21 02:37:08 -05:00
LagoLunatic 25e69da75e d_cc_uty OK 2024-01-20 19:27:19 -05:00
LagoLunatic 2a27075530 d_a_player_main 2024-01-16 14:44:21 -05:00
LagoLunatic 8485e571b4 d_a_player_main work 2024-01-15 04:47:27 -05:00
LagoLunatic 76b28bee52 d_a_player_main work 2024-01-12 22:46:07 -05:00
LagoLunatic 48e936269c daPy_lk_c::changeDamageProc 2024-01-10 19:21:12 -05:00
LagoLunatic ea78ea5f5c d_a_player_main 2024-01-03 15:55:56 -05:00
LagoLunatic 4d85f3c390 d_a_player_main anim data/enum + d_a_player_tact work 2023-12-31 18:04:58 -05:00
LagoLunatic e6edfa7b6f start d_a_player_tact, add player status enums 2023-12-28 18:58:56 -05:00
Jcw87 02d375361d implement various inlined functions 2023-12-20 19:04:08 -08:00
LagoLunatic 6f6c73dc8b agbsw0 OK, npc_cb1_static OK, com_static progress 2023-12-01 14:29:22 -05:00
LagoLunatic 1c5dad23a2 Remove some unnecessary includes from headers 2023-11-26 20:00:50 -05:00
LagoLunatic d27ea6aceb d_a_rd, d_lib etc work 2023-11-21 01:43:18 -05:00
LagoLunatic 5b5772c2e1 agbsw0 and agb cleanup and some matches 2023-11-20 02:32:10 -05:00
LagoLunatic c130095d7f player_main work, player_ship start 2023-11-19 22:33:45 -05:00
LagoLunatic 8f516ad018 d_a_rd work 2023-11-18 04:35:34 -05:00