Commit Graph

503 Commits

Author SHA1 Message Date
LagoLunatic ce8d17ec08 Add an enum for action button icon status 2025-04-20 20:06:40 -04:00
LagoLunatic f74a03109f d_a_ship documentation and inlines, couple more matches for player_ship 2025-04-17 19:06:06 -04:00
LagoLunatic 7d0c280adf player_grab 100%, cleanup 2025-04-17 00:53:33 -04:00
LagoLunatic ad22472b1a player misc cleanup and various match fixes 2025-04-16 20:26:40 -04:00
LagoLunatic 3a9eebd7ea player_sword 100%, cleanup 2025-04-16 17:39:21 -04:00
LagoLunatic 38a6e76657 player checkFlg inline fix, player_pushpull cleanup 2025-04-16 16:50:11 -04:00
LagoLunatic be81e109e9 One more player inline 2025-04-16 15:07:00 -04:00
LagoLunatic ce1468c108 player enum and inlines and goto cleanup 2025-04-16 15:02:18 -04:00
Zeclos 35f479ae33 D_a_obj_iceisland (#740)
* 100% matching

* cleanup

* cleanup, removed old comment
2025-04-15 03:34:55 -04:00
123456789758 70d9f5df10 d_a_player_main - 48% Matching. (#739)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-04-14 17:17:47 -04:00
LagoLunatic 6aeaaef643 Added enum for Link's movement direction 2025-04-11 15:02:53 -04:00
LagoLunatic 309158e274 J3DModel inlines cleanup, procBottleSwing_init match, etc 2025-04-10 19:30:51 -04:00
Zeclos 0bb7ff4051 D_a_obj_smplbg (#738)
* small push

* everything is moslty matching

* logic matches, data doesnt

* 100% matching

* cleanup
2025-04-10 16:14:09 -04:00
LagoLunatic 556e578f23 Misc small cleanup 2025-04-09 01:49:35 -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
LagoLunatic cd777aa35b object-particle OK 2025-04-08 17:03:42 -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 6d7550f14a player_whide 100%, player_ship fixes 2025-04-04 15:37:16 -04:00
LagoLunatic 924e87029d d_a_player_sword cleanup and small match fixes 2025-04-04 13:19:42 -04:00
LagoLunatic cda3f0c302 d_a_player_battle 100% 2025-04-03 17:56:52 -04:00
Zeclos d16ee29425 D a w bird (#733)
* create functions

* actionend matched

* matched a func i think. progress on setstartpos

* progress on  setstartpos, 2 small functions done

* rodata + actionselect

* 100% match

* cleanup

* configure.py matching

* removed unecessary cast

* removes the linker warning from arcname

* added the setaction inline. moved logic

* setAction now takes unsigned char
2025-04-03 17:34:13 -04:00
LagoLunatic 458d027fc9 d_a_hookshot equivalent 2025-04-02 15:54:23 -04:00
LagoLunatic 4f6533b871 hookshot and player_hook cleanup, inlines 2025-04-01 23:25:03 -04:00
LagoLunatic f2ff19c83e player_fan 99% 2025-04-01 20:46:23 -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 ecd9b48113 d_a_player_sword.inc - Several matching with minor issues. (#731)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2025-04-01 14:39:22 -04:00
123456789758 53dfbaa55a d_a_player_bottle.inc - Several matching with minor issues. (#729)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2025-04-01 14:38:18 -04:00
123456789758 d4ef6a86c9 d_a_player_climb.inc - All matching except floats. (#716)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2025-04-01 14:38:02 -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 cc76f98a2c d_a_player_ladder.inc - All matching except floats. (#714)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-04-01 14:30:06 -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
123456789758 d4bbb4fb43 d_a_player_battle.inc - All close to matching with minor issues. (#720)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-03-31 18:44:43 -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 95c813aad2 d_a_player_bow.inc - Almost all matching with only minor issues. (#723)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-03-31 18:12:17 -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 26f1b0c8f0 d_a_player_whide.inc - Almost all matching except floats, (#717)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-03-31 17:56:25 -04:00
123456789758 6bc267c369 d_a_player_hook.inc - All matching except floats. (#724)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-03-31 17:48:52 -04:00
123456789758 3f2fc267c5 d_a_player_hang.inc - All matching except floats. (#715)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-03-31 17:41:48 -04:00
LagoLunatic a601fa33e5 Cleanup 2025-03-31 13:49:02 -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
LagoLunatic a0536371e6 player_swim 100%, bunch of inline cleanup 2025-03-29 20:09:32 -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
LagoLunatic db2c5ef978 Cleanp a bunch of stuff 2025-03-28 20:44:06 -04:00
LagoLunatic bf2a5b9808 shand OK, ship 99.8%, add some missing inlines 2025-03-28 18:15:14 -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
Azurpourpre 4a2d7dd320 d_a_shand (#709)
* hand_draw match

* daShand_Draw match

* d_a_shand/control1 match except regalloc

* control2 almost done (regalloc issue)

* control3 match

* cut_control progress

* cut_control3 match

* normal progress

* cut match

* hand_move progress

* daShand_Execute match

* daShand_Delete & daShand_IsDelete match

* daShand_Create progress

* daShand_solidHeapCB match & useHeapInit progress

* daShand_HIO_c::daShand_HIO_c match

* control1 match

* control2 match

* cut_control match

* hand_move progress

* daShand_Create progress

* useHeapInit match

* Minor fixing

* Fixed hand_move stack

* semicolon forgot

* Added suggestions (PR #709)

* Correcting typo
2025-03-28 14:02:56 -04:00
Zeclos f02691a407 D_a_tpota (#710)
* cool push for now, execute almost done

* _create function

* alot closer to matching most

* fixed data

* delete function

* rodata is good now

* 100% matching

* matching in configure.py

* changes from comments
2025-03-27 04:24:40 -04:00
Ross Newman 1a752bbbb9 d-a-obj-shmrgrd (#708)
* start d-a-obj-shmrgrd

* mostly matching

* constructor

* 100%

* d-a-obj-shmrgrd equivalent
2025-03-27 01:26:27 -04:00