Commit Graph

102 Commits

Author SHA1 Message Date
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
LagoLunatic 457a32d3b8 J3DModelLoader 99%
mostly copied from TP decomp
2023-12-18 19:54:29 -05:00
LagoLunatic 63eba6d48a d_a_player_main work 2023-12-13 00:52:09 -05:00
Jcw87 e2a3c6b7bf use macros for compiler alignment and section directives 2023-12-10 01:25:36 -08:00
Jasper St. Pierre 5860624757 d_a_obj_adnno, d_a_obj_dmgroom, d_a_obj_dragonhead, d_a_obj_eayogn, d_a_obj_gong work 2023-11-17 19:30:47 -08:00
LagoLunatic 1778dea96c misc cleanup 2023-11-12 01:19:58 -05:00
Jasper St. Pierre 77f5d98159 d_drawlist, d_particle, f_op_actor_mng, JPA work 2023-11-11 13:22:49 -08:00
LagoLunatic 5b7cd2e1b2 d_a_hookshot 33% 2023-11-08 04:02:20 -05:00
LagoLunatic f95efe3734 Minor fixes 2023-11-06 16:22:21 -05:00
LagoLunatic 647d41ab27 J3DTevs match 2023-11-05 21:53:19 -05:00
LagoLunatic 0859108bf9 d_shop matching 2023-11-05 21:43:40 -05:00
Jasper St. Pierre b3a4dd1d26 d_a_vrbox2 work 2023-11-03 22:49:32 -07:00
LagoLunatic 41c1259916 d_a_vrbox OK 2023-11-02 05:58:13 -04:00
Dylan Ascencio e5b40fab3e d_a_tbox OK (#536)
* Add model info and demoProc to d_a_Tbox

* Remove nonmatching comment from demoProc

* remove nonmatching comment from getFuncType

* Remove remaining nonmatching comments

* Match first 4 functios of daTbox_c

* Match a bunch of functions for daTbox_c

* Code review cleanup

* Match execute and add some missing weak functions

* Match a few more functions on daTbox_c

* Finish all but actionDemo and draw on daTbox_c

* Fix PTMFs and remove return type from CreateInit

* Match all of daTbox_c. Relocations are wrong for some reason

* Remove nonmatching comments

* d_a_tbox ok
2023-11-01 00:14:13 -04:00
Jasper St. Pierre 5bbc0633f0 J3DGDSetVtxAttrFmtv work 2023-10-29 17:42:11 -07:00
LagoLunatic f84a7bdadb d_a_player_main work, playerInit match 2023-10-28 15:53:28 -04:00