Commit Graph

15 Commits

Author SHA1 Message Date
LagoLunatic b72d243f9b Cleanup the 3 path/point structs 2025-03-28 20:31:04 -04:00
LagoLunatic 8cfd2f7a1e ship 99.98% 2025-03-28 19:25:28 -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
LagoLunatic 822b13e57a Add cPhs_State typedef and use it everywhere 2025-03-17 22:26:56 -04:00
LagoLunatic 94f3b78155 Generate all actor profiles and method tables 2024-04-21 23:31:40 -04:00
LagoLunatic f4ac738d36 Clean up comments 2024-02-01 20:56:47 -05:00
LagoLunatic 96513abb0a various fixes to get more actors to compile 2023-12-30 18:59:57 -05:00
LagoLunatic a8d10408a2 Add return type and static keyword to common actor static funcs 2023-11-30 15:54:02 -05:00
LagoLunatic 6ec4a2ebbd Remove weak ctors/dtors from .cpp files 2023-11-26 23:16:19 -05:00
LagoLunatic 8a2bc19a89 Better defaults for create/delete/execute/draw/isdelete 2023-11-24 16:49:23 -05:00
Jasper St. Pierre 9553fd0c22 Remove a bunch of weak symbols from TUs
Done with regex

/\* .* \*/
.*symbol.*.*\(.*\).* \{
    \/\* Nonmatching \*\/
\}
2023-11-24 12:45:11 -08:00
LagoLunatic 471b881de8 Automatically generate headers for all actors 2023-11-24 12:44:06 -05:00
Jasper St. Pierre fd45c5a4f2 Remove all autogenerated @ functions from TUs 2023-11-23 19:36:26 -08:00
Luke Street adb95b135c Import project
Original repository: https://github.com/encounter/ww
2023-09-10 00:48:55 -04:00