Commit Graph

49 Commits

Author SHA1 Message Date
LagoLunatic d9c2ffe619 J3DModel inlines 2025-08-26 17:43:02 -04:00
LagoLunatic b77717694c Add dolzel_rel.pch
This fixes the sdata linker error in the debug build.
2025-08-23 12:17:10 -04:00
LagoLunatic bcf7c567f2 Fix bss regression in d_a_ship, and fix its weak func order correctly 2025-08-22 01:18:47 -04:00
LagoLunatic 88b40eef95 Fix ship static var name 2025-08-22 00:57:10 -04:00
LagoLunatic 217775af4e Use precompiled headers, fix weak data issues 2025-08-20 18:51:42 -04:00
LagoLunatic 2eaf012e4f Fix some version differences (#852)
* Fix some version differences

* Found real inline name for checkBowMiniGame
2025-08-12 16:30:44 -04:00
LagoLunatic 5802571a56 Add SQUARE macro to improve readibility for distances 2025-08-08 21:51:30 -04:00
LagoLunatic 816f08fc7c Add extra brackets to collision src structs 2025-08-03 20:41:05 -04:00
LagoLunatic 72dc8f4ef6 DEMO_SELECT 2025-07-25 21:05:36 -04:00
LagoLunatic 2397afabaf Use named constants instead of literals in some places 2025-07-15 16:25:02 -04:00
LagoLunatic 5f65dbaee1 Assert defines 2025-07-15 15:22:51 -04:00
LagoLunatic f042f156f5 Add all player demo mode names to enum 2025-06-15 16:10:33 -04:00
LagoLunatic 25b9aeae03 daPy_lk_c::procShipCrane 2025-06-15 15:43:35 -04:00
LagoLunatic e24cbed367 Demo work (#786)
* Demo work

* Fix PAL

* Fix d_door weak func order and link it

* Fix d_door for demo

* JKernel OK on demo + misc

* tag_attention 100% on demo

* More demo work and fix some retail fakematches
2025-06-04 16:50:49 -04:00
LagoLunatic 431943a893 Cleanup, demo work, and match daNpcPeople_c::getMsg on retail 2025-05-29 15:41:38 -04:00
LagoLunatic 21cd7a2f67 G_CM3D_F_INF 2025-05-21 16:46:21 -04:00
LagoLunatic c625992a77 Add enum for actor priority 2025-05-21 14:44:25 -04:00
LagoLunatic 36fec0f7fd Disappear drop type cleanup 2025-05-09 16:34:02 -04:00
LagoLunatic c4eb26b2a1 d_attention cleanup, add mDoCPd inlines 2025-04-27 16:38:29 -04:00
LagoLunatic 341f329dde d_a_obj_vgnfd OK, d_a_obj_doguu OK, clean up weak-but-not-inlined funcs in finished actors 2025-04-25 18:44:45 -04:00
LagoLunatic ce8d17ec08 Add an enum for action button icon status 2025-04-20 20:06:40 -04:00
LagoLunatic 58ab930817 More inlines
Also update dtk-template
2025-04-19 13:55:59 -04:00
LagoLunatic f74a03109f d_a_ship documentation and inlines, couple more matches for player_ship 2025-04-17 19:06:06 -04:00
LagoLunatic 7d0c280adf player_grab 100%, cleanup 2025-04-17 00:53:33 -04:00
LagoLunatic ad22472b1a player misc cleanup and various match fixes 2025-04-16 20:26:40 -04:00
LagoLunatic da0ed4b78c Fix dCamera_c::BG struct 2025-04-15 20:34:11 -04:00
LagoLunatic 4ac105c02d JPN build fix, remove nonmatching comments 2025-04-12 23:27:17 -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 924e87029d d_a_player_sword cleanup and small match fixes 2025-04-04 13:19:42 -04:00
LagoLunatic 02f0aafbe4 Cleanup 2025-04-03 15:04:22 -04:00
LagoLunatic 41621f4e72 Fix weird gameInfo loads caused by casts within inlines 2025-03-31 14:07:20 -04:00
LagoLunatic a0536371e6 player_swim 100%, bunch of inline cleanup 2025-03-29 20:09:32 -04:00
LagoLunatic b9c1eed694 d_demo work 2025-03-28 22:35:13 -04:00
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