19 Commits

Author SHA1 Message Date
Kristopher Early 396599cd7a d_a_obj_rcloud (#849)
* d_a_obj_rcloud

* Refactor daObjRcloud_c and update resource usage

Renamed enum values and return types in daObjRcloud_c for clarity and consistency. Updated resource indices to use named constants from res_bvkumo.h. Replaced magic numbers and variable names for improved readability. Removed an obsolete comment in J3DTexture.h.

* Rename variable o_phase to phase in _create method

Refactored the variable name from o_phase to phase in the daObjRcloud_c::_create() method for clarity and consistency.

* Set configure.py to matching.
2025-08-14 16:26:54 -04:00
LagoLunatic efc33c5fc4 Various inline cleanup 2025-06-19 19:03:11 -04:00
LagoLunatic 2ae6d899f7 J3DMaterialFactory and J3DMaterialFactory_v21 OK 2025-04-08 22:47:27 -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 c4ad9f7241 Various cleanup 2025-02-23 19:59:54 -05:00
LagoLunatic e620f9328b Use _GX name typedefs 2025-01-14 22:47:21 -05:00
LagoLunatic 4bd6442291 JPADrawVisitor couple funcs 2024-01-08 18:02:31 -05:00
LagoLunatic ea78ea5f5c d_a_player_main 2024-01-03 15:55:56 -05:00
Jasper St. Pierre 790dba270d J3DMaterialFactory, J3DShapeFactory
mostly pulled from tp
2023-12-24 14:16:36 -08:00
LagoLunatic 457a32d3b8 J3DModelLoader 99%
mostly copied from TP decomp
2023-12-18 19:54:29 -05:00
Jcw87 d566c2aad3 m_Do_ext 2023-10-01 19:53:23 -07:00
Jasper St. Pierre 294b15cab0 J3DMaterial all fn match
now just need to adjust vtable order
2023-10-01 16:38:33 -07:00
Jcw87 02f29ac056 m_Do_ext WIP 2023-09-30 15:57:33 -07:00
Jasper St. Pierre a85fb7c63b J3DTevs, J3DMatBlock progress 2023-09-30 14:09:53 -07:00
Jcw87 8888b85dd3 J3DTevs 2023-09-30 04:52:08 -07:00
Luke Street 9a6a915cd3 Progress on J3DMatBlock, m_Do_ext, J3DUMotion 2023-09-26 18:13:12 -04:00
Jasper St. Pierre 3f669fb895 J3DMaterialAttach progress 2023-09-23 21:06:24 -07:00
Jasper St. Pierre 5e43515ca7 J3DMatBlock start 2023-09-23 15:52:17 -07:00
Jasper St. Pierre aa738135ed d_a_Obj_Gryw00 nonmatching start 2023-09-10 12:14:15 -07:00