Commit Graph

97 Commits

Author SHA1 Message Date
LagoLunatic 36fec0f7fd Disappear drop type cleanup 2025-05-09 16:34:02 -04:00
123456789758 224b83ed8c d_a_player_main - 96% matching (#750)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-05-07 19:08:04 -04:00
LagoLunatic f690b92d28 Add camera mWork union; also fix clang union handling
Union members with non-trivial ctors/dtors is undefined behavior and clangd normally throws a fit and refuses to parse the whole union, but it seems to be possible to ifdef the problematic ctors out for non-mwerks compilers and explicitly tell modern compilers to use the defaults instead. Thanks to encounter for this fix.
2025-05-07 01:19:23 -04:00
LagoLunatic 26015238ef d_stage cleanup 2025-04-13 23:21:01 -04:00
LagoLunatic 458d027fc9 d_a_hookshot equivalent 2025-04-02 15:54:23 -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
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 13fd5f3dc4 d_a_bk OK 2025-03-24 20:32:30 -04:00
LagoLunatic 4c3bd2c651 Missed some spots where cPhs_State should be used 2025-03-18 15:10:32 -04:00
LagoLunatic 822b13e57a Add cPhs_State typedef and use it everywhere 2025-03-17 22:26:56 -04:00
Ross Newman 20317a1942 d-a-obj-swheavy (#704)
* start d-a-obj-swheavy

* mostly finish d-a-obj-swheavy

* renames and 100%

* mark matching

* address PR comments
2025-03-17 19:03:04 -04:00
LagoLunatic 89e9cdafb5 JASChannel OK 2025-03-15 19:55:45 -04:00
LagoLunatic f51b9b65df A few small matches for 2dnumber/meter 2025-02-11 17:08:48 -05:00
LagoLunatic 458c40ede8 Translate strings in fopAcM_entrySolidHeap 2025-02-11 16:25:06 -05:00
LagoLunatic e8adc6c9e5 Rename more item enums 2025-01-17 20:58:43 -05:00
LagoLunatic d330c1e68a Add enums for items and disappears 2025-01-11 19:15:36 -05: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 00d047c497 Add fopAcM_GetLinkId inline 2024-07-19 13:51:15 -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 9489cd4bcb d_a_movie_player start 2024-07-10 17:16:55 -04:00
LagoLunatic af61ba5f0a d_a_player_tact work 2024-05-08 19:11:20 -04:00
LagoLunatic 459cf6caa7 clean up some inline parameters 2024-04-18 23:16:38 -04: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 029ddf6bb9 minor inline cleanup 2024-03-11 18:12:15 -04:00
LagoLunatic 443691603d rename fopAc_ac_c member vars to match TP decomp 2024-03-08 21:31:41 -05:00
LagoLunatic f835d2b98f d_a_npc_md 2024-02-25 18:50:02 -05:00
Jasper St. Pierre b13eb4e2ce d_a_tag_volcano 99% 2024-02-25 10:52:58 -08:00
SuperDude88 d627dd6a0a Start Orca 2024-02-25 00:06:20 -05:00
LagoLunatic a95d23b1ad d_a_npc_md work 2024-02-24 02:21:05 -05:00
LagoLunatic 319cedce22 Clean up f_op_actor_mng inlines even more 2024-01-24 00:59:36 -05:00
LagoLunatic 59c571a4b3 Clean up inlines for f_op_actor_mng 2024-01-23 22:49:15 -05:00
LagoLunatic 2db5435315 minor actor cleanup 2024-01-23 04:25:43 -05:00
LagoLunatic 25e69da75e d_cc_uty OK 2024-01-20 19:27:19 -05:00
LagoLunatic 17cf09cc09 clean up some inlines 2024-01-18 00:26:06 -05:00
LagoLunatic 4463680333 Rename actor orig->home and next->old 2024-01-16 18:30:05 -05:00
LagoLunatic 9037c8e8f1 Use BGM/SE enums for JAIZelBasic 2024-01-13 01:50:54 -05:00
LagoLunatic 76b28bee52 d_a_player_main work 2024-01-12 22:46:07 -05:00
LagoLunatic 4c7ea01851 d_a_agb 99% 2024-01-09 18:44:00 -05:00
LagoLunatic a0ea511650 Add save stage table, stage type, and event bit enums 2024-01-04 00:37:52 -05:00
TakaRikka 5773ee904c reorganize MSL_C/Runtime files. wip, notmatching 2023-12-27 21:07:21 -08:00
LagoLunatic 8a660c0a67 d_a_hookshot work 2023-12-22 22:23:11 -05:00
LagoLunatic fa5fb18d3c use inlines in more places 2023-12-20 19:04:01 -05:00
Jcw87 fe28552c28 move placement new to MSL_C 2023-12-19 03:30:16 -08:00
LagoLunatic 27f3ef4c55 f_op_actor_mng 99% (1 regswap left) 2023-12-09 15:38:09 -05:00
LagoLunatic a3170e5d69 add default params to a lot more functions 2023-12-08 16:25:12 -05:00
LagoLunatic 46ffaf2839 add default params to fopacm create funcs 2023-12-08 15:00:48 -05:00
LagoLunatic 5039fe661c Finished porting all actor classes to headers 2023-11-25 23:53:05 -05:00
LagoLunatic cc35bd0890 npc_md work 2023-11-20 23:28:35 -05:00