117 Commits

Author SHA1 Message Date
LagoLunatic 765f88e4f3 Move extern forward decls from cpps to headers 2026-04-01 19:38:51 -04:00
LagoLunatic 10a6460011 J3DCluster almost matching 2025-12-29 14:09:54 -05:00
LagoLunatic 48dcebd9e8 Misc cleanup 2025-12-27 21:32:04 -05:00
LagoLunatic e64620bf7e J3DGXColor ctors to match debug maps 2025-12-27 21:32:04 -05:00
LagoLunatic 78d9b53a52 Add hacks to fix PCH .data causing fake mismatches with decompctx 2025-09-03 22:20:36 -04:00
LagoLunatic a7fe2a9e48 Copy J3DMatblock inlines from TP, equivalent with 2 remaining regalloc 2025-08-22 15:31:44 -04:00
LagoLunatic 217775af4e Use precompiled headers, fix weak data issues 2025-08-20 18:51:42 -04:00
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 adac5936d2 Minor cleanup 2025-07-08 22:40:41 -04:00
LagoLunatic 705f55693c Move J3DShapeMtx to correct header for assert 2025-06-19 19:05:10 -04:00
LagoLunatic efc33c5fc4 Various inline cleanup 2025-06-19 19:03:11 -04:00
LagoLunatic ede01ca07b daPy_lk_c::draw and linkDraw matched on retail with (void)0 assert, d_a_figure OK 2025-06-18 20:14:26 -04:00
LagoLunatic 206c4cbc16 More demo work 2025-05-30 15:16:57 -04:00
LagoLunatic 431943a893 Cleanup, demo work, and match daNpcPeople_c::getMsg on retail 2025-05-29 15:41:38 -04:00
Jcw87 5e7b59f2fe Improve compiler compatibility (#743)
* fix returns

* use standard C headers

* struct/class mismatch

* explicit this in template

* switch variable scope

* C standard compliance

* & l-value
2025-04-29 12:49:09 -04:00
LagoLunatic 309158e274 J3DModel inlines cleanup, procBottleSwing_init match, etc 2025-04-10 19:30:51 -04:00
LagoLunatic 556e578f23 Misc small cleanup 2025-04-09 01:49:35 -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 34afbd84db clangd: Started fixing warnings and errors, code cleanup 2024-10-17 21:35:18 -04:00
LagoLunatic a0fdc414b1 Remove leading underscore from uses of GX enums 2024-09-07 17:34:24 -04:00
LagoLunatic 33c6922ae8 small fixes 2024-07-12 10:36:30 -04:00
LagoLunatic 635a1fd052 d_a_obj_figure done except linkDraw regalloc 2024-07-10 11:25:00 -04:00
LagoLunatic 6eb8518355 Fix inconsistent indentation 2024-07-07 16:36:38 -04:00
Jasper St. Pierre 9bdf4d691e minor gx cleanup 2024-06-27 20:37:43 -07:00
Jasper St. Pierre 1d5c9da99b m_do_ext work
also jsys documentation
2024-06-26 22:50:12 -07:00
LagoLunatic ca4ecc5a41 Minor J3D/GX doc 2024-06-25 20:15:24 -04:00
Jasper St. Pierre 02577f9029 J3DSkinDeform::initMtxIndexArray 96%
regalloc and argswaps now
2024-04-20 11:53:33 -07:00
LagoLunatic 19325b3c0b Fix GX inlines 2024-04-15 19:55:09 -04:00
Jasper St. Pierre 3fae1c28c3 some matches 2024-04-14 08:00:40 -07:00
LagoLunatic 2412c2c41b PSMulUnit01 2024-02-09 06:23:06 -05:00
LagoLunatic d5a3227301 misc matches 2024-02-02 01:24:11 -05:00
LagoLunatic f167f18ed0 J3DMatBlock: fix setChanCtrlMacro codegen 2024-01-22 00:32:52 -05:00
LagoLunatic 8485e571b4 d_a_player_main work 2024-01-15 04:47:27 -05:00
Jasper St. Pierre 28e263ac3c fix zmode info 2024-01-14 15:49:59 -08:00
LagoLunatic a41ec2974e Fakematch J3DZModeInfo to fix ninja diff error 2024-01-08 21:22:18 -05:00
LagoLunatic 4bd6442291 JPADrawVisitor couple funcs 2024-01-08 18:02:31 -05:00
LagoLunatic f683c2bfc4 mDoGph_Painter fixed 2024-01-07 03:29:50 -05:00
LagoLunatic 46fd062f47 d_a_branch OK 2024-01-06 20:38:25 -05:00
LagoLunatic b27458c909 d_snap mostly done 2024-01-06 15:16:49 -05:00
LagoLunatic ea78ea5f5c d_a_player_main 2024-01-03 15:55:56 -05:00
Jasper St. Pierre faca18a93f minor cleanup 2023-12-30 18:39:19 -08:00
LagoLunatic 6185ff81de J3DMaterialFactory close 2023-12-27 23:42:59 -05:00
Jasper St. Pierre 790dba270d J3DMaterialFactory, J3DShapeFactory
mostly pulled from tp
2023-12-24 14:16:36 -08:00
Jcw87 8eda1d418d make more TUs compile 2023-12-20 19:04:09 -08:00
Jcw87 02d375361d implement various inlined functions 2023-12-20 19:04:08 -08:00
Jcw87 54bc1b916d remove declarations for functions that don't exist 2023-12-20 18:52:50 -08:00
LagoLunatic ec3f7f0198 misc minor cleanup (indentation, offset comments, etc) 2023-12-19 21:29:37 -05:00