Commit Graph

41 Commits

Author SHA1 Message Date
123456789758 70d9f5df10 d_a_player_main - 48% Matching. (#739)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
2025-04-14 17:17:47 -04:00
Ross Newman 1a752bbbb9 d-a-obj-shmrgrd (#708)
* start d-a-obj-shmrgrd

* mostly matching

* constructor

* 100%

* d-a-obj-shmrgrd equivalent
2025-03-27 01:26:27 -04:00
mattias-blum ae528dc3d9 d_a_fganon 100% (#695)
* added `cBgS_Chk::OffSameActorChk`inline function

* initial progress of d_a_fganon

100% Matching:
- `anim_init`
- `tama_draw`
- `daFganon_Draw`
- `daFganon_IsDelete`

Partial Matching:
- `daFganon_Hio_C::daFganon_HIO_c` (88%)
- `deru_brk` (98%, code is matching, variable memory locations needed for 100% match)
- `kieru_brk` (98%, code is matching, variable memory locations needed for 100% match)
- `deru_brk2` (98%, code is matching, variable memory locations needed for 100% match)
- `kieru_brk2` (98%, code is matching, variable memory locations needed for 100% match)
- `pos_move` (73%)
- `move` (80%)
- `mahou_se_set` (82%)
- `daFganon_Delete` (94%, code is matching, variable memory locations needed for 100% match)
- `useHeapInit` (92%)
- `daFganon_Create` (77%)
- `fgannon_class::fganon_class()` (88%)

Remainder haven't been started

* Additional progress, more functions at 100% matching

100% Matching:
- `daFganon_Hio_C::daFganon_HIO_c`
- `anim_init`
- `tama_draw`
- `daFganon_Draw`
- `deru_brk`
- `kieru_brk`
- `deru_brk2`
- `kieru_brk2`
- `pos_move`
- `fly_se_set`
- `mahou_set`
- `mahou_se_set`
- `daFganon_IsDelete`
- `daFganon_Delete`
- `useHeapInit`

Partial Matching:
- `fly` (60%)
- `shot` (46%)
- `move` (92%)
- `daFganon_Execute` (11%)
- `daFganon_Create` (60%)
- `fgannon_class::fganon_class()` (93%)

* More functions at 100% matching

- Added a `cXyz` member to `mant_class` that is referenced in this TU.
- Changed 'fganon_class` to inherit from `fopEn_enemy_c` instead of `fopAc_ac_c`

100% Matching:
- `daFganon_Hio_C::daFganon_HIO_c`
- `anim_init`
- `tama_draw`
- `daFganon_Draw`
- `deru_brk`
- `kieru_brk`
- `deru_brk2`
- `kieru_brk2`
- `pos_move`
- `fly_se_set`
- `fly`
- `shot`
- `spinattack`
- `fly2`
- `tama_set`
- `mahou_set`
- `mahou_set`
- `mahou_se_set`
- `daFganon_IsDelete`
- `daFganon_Delete`
- `useHeapInit`
- `fgannon_class::fganon_class()`

Partial Matching:
- `move` (96%, code is matching, variable memory locations needed for 100% match)
- `daFganon_Execute` (96%, code is matching, variable memory locations needed for 100% match)
- `daFganon_Create` (96%, code is matching, variable memory locations needed for 100% match)

* additional functions at 100% matching

Cleaned up the values of the static globals, will resolve their symbols later

100% Matching:
- `daFganon_Hio_C::daFganon_HIO_c`
- `anim_init`
- `tama_draw`
- `daFganon_Draw`
- `deru_brk`
- `kieru_brk`
- `deru_brk2`
- `kieru_brk2`
- `pos_move`
- `fly_se_set`
- `fly`
- `shot`
- `spinattack`
- `fly2`
- `tama_set`
- `mahou_set`
- `shot2`
- `spinattack2`
- `down`
- `kabe_check`
- `deru`
- `kieru`
- `fail`
- `standby`
- `start`
- `last_end`
- `damage_check`
- `ball_tg_check`
- `mahou_se_set`
- `daFganon_IsDelete`
- `daFganon_Delete`
- `useHeapInit`
- `fgannon_class::fganon_class()`

Partial Matching:
- `end` (97%, code is matching, variable memory locations needed for 100% match)
- `move` (97%, code is matching, variable memory locations needed for 100% match)
- `demo_camera` (63%)
- `daFganon_Execute` (97%, code is matching, variable memory locations needed for 100% match)
- `daFganon_Create` (98%, code is matching, variable memory locations needed for 100% match)

* added `mDoAud_changeSubBgmStatus` inline

* changed return type of `dComIfGp_getPlayerCameraID` inline

needed this change to get a match for this `d_a_fganon`

* d_a_fganon 100% matching

Currently the checksum fails but I have some theories as to why that might be. I'll continue to cleanup the symbols.

* symbol cleanup

* fixed `mDoAud_changeSubBgmStatus` calling wrong function

* 100% matching now, checksum passes

There is a weak function ordering issue so I included the param in `configure.py`

* PR changes made

* Additional PR changes, better naming of class members
2025-03-16 19:04:00 -04:00
LagoLunatic e9afe4c428 Add comments to scene profile structs 2025-03-15 19:29:10 -04:00
Ross Newman e696d982c6 d-a-obj-barrel (#700)
* d_a_obj_barrel wip

* d_a_obj_barrel wip

* mostly match, names and cleanup

* d-a-obj-barrel 100%

* remove unused field

* remove comments and address PR suggestions
2025-03-08 16:42:46 -05:00
LagoLunatic 4a4624decf Populate particle IDs enum with placeholders and use them everywhere 2025-03-06 17:37:20 -05:00
LagoLunatic d882c16b55 d_bg_w progress 2025-03-06 01:12:50 -05:00
LagoLunatic c4ad9f7241 Various cleanup 2025-02-23 19:59:54 -05:00
Jasper St. Pierre 70044ec8dd Clean up cc enums 2024-10-28 21:16:46 -07:00
LagoLunatic 660a5ac699 cc cleanup 2024-08-24 12:39:21 -04:00
Daniel Hajjar c2bacf5658 d_a_player_particle (#674)
* daPy_mtxPosFollowEcallBack_c::execute matching

* daPy_waterDropEcallBack_c::end matching

* daPy_dmEcallBack_c::execute matching

* daPy_fanSwingEcallBack_c::execute matching

* daPy_waterDropPcallBack_c::execute matching

* daPy_sightPacket_c::draw matching

* daPy_sightPacket_c::setSight matching

* daPy_swBlur_c::initSwBlur matching

* daPy_swBlur_c matching

* daPy_lk_c::setWaterDrop matching

* daPy_lk_c::setFootMark matching

* daPy_footEffect_c work

* daPy_lk_c::resetFootEffect matching

* daPy_lk_c::setSwimTail matching

* daPy_lk_c::setCutWaterSplash matching

* daPy_lk_c::setDamageCurseEmitter matching

* daPy_lk_c::setDamageElecEmitter matching

* daPy_lk_c::setDamageEmitter matching

* daPy_lk_c::endFlameDamageEmitter matching

* daPy_lk_c::setSwimWaterDrop matching

* daPy_lk_c::setItemWaterEffect matching

* daPy_lk_c::setFootEffectType matching

* daPy_lk_c::setFootEffect matching

* daPy_lk_c::setAuraEffect work

* daPy_lk_c::setWaterRipple matching

* d_a_player_particle minor cleanup

* daPy_lk_c::setAuraEffect matching

* Removed comment

* Removed another old comment

* PR suggestions
2024-08-09 17:05:24 -04:00
LagoLunatic 2def735282 Add fpc_ProcID type and use it for all process IDs
See https://github.com/zeldaret/tp/pull/2173
2024-07-12 21:14:13 -04:00
LagoLunatic 0dd3f6e47c Standardize process ID type to be uint 2024-03-11 19:03:47 -04:00
LagoLunatic d0e8844b4b Add uint typedef 2024-03-11 18:23:44 -04:00
LagoLunatic 383ed1ee51 Use dCcG_At_Spl enum in Src structs 2024-02-23 00:59:14 -05:00
LagoLunatic 32728226a2 d_a_wall OK 2024-02-16 14:19:33 -05:00
LagoLunatic 5c7d0387cf d_a_player_main AtParam work 2024-02-12 10:11:19 -05:00
LagoLunatic 3712d741ca d_cc_s OK 2024-02-12 00:52:30 -05:00
LagoLunatic a3748c1fbc d_cc_s work 2024-02-12 00:29:59 -05:00
LagoLunatic cc25ce0297 d_a_bk work 2024-01-30 03:56:55 -05:00
LagoLunatic 25e69da75e d_cc_uty OK 2024-01-20 19:27:19 -05:00
LagoLunatic f2bb2bb4a7 Stts weight cleanup 2024-01-13 00:51:57 -05:00
LagoLunatic 69444ef01e use enums and inlines in more places 2023-12-30 15:08:24 -05:00
LagoLunatic 82b429b72f start adding particle/hitmark enums + some d_cc_s 2023-12-30 00:50:19 -05:00
LagoLunatic 94465b0dbb add c_cc_d and d_cc_d SPrm enums 2023-12-20 21:11:57 -05:00
LagoLunatic bc42db3897 d_a_npc_md work 2023-12-20 15:42:07 -05:00
LagoLunatic 1c5dad23a2 Remove some unnecessary includes from headers 2023-11-26 20:00:50 -05:00
LagoLunatic 5039fe661c Finished porting all actor classes to headers 2023-11-25 23:53:05 -05:00
LagoLunatic 6dbb6ef669 d_cc_d OK 2023-11-23 20:39:22 -05:00
LagoLunatic 469f243030 Process IDs cleanup
* Use fpcM_ERROR_PROCESS_ID_e enum instead of literal -1/0xFFFFFFFF everywhere
* Disambiguate variable names by using itemNo/msgNo instead of itemID/msgID
2023-11-22 16:25:28 -05:00
LagoLunatic 906c8a8314 c_cc_s OK, c_cc_d inlines & enums work 2023-11-21 21:47:45 -05:00
LagoLunatic c130095d7f player_main work, player_ship start 2023-11-19 22:33:45 -05:00
LagoLunatic 9c91b939a7 d_a_player OK 2023-10-07 20:24:43 -04:00
Jasper St. Pierre 03d835f6d4 d_cc_d work 2023-09-30 19:42:26 -07:00
LagoLunatic 3f2c2f73ce Misc fixes 2023-09-25 16:51:05 -04:00
LagoLunatic 14f58584ff d_a_arrow 50% 2023-09-23 23:37:02 -04:00
LagoLunatic 7ed024acfd Some d_cc_d work 2023-09-23 23:37:02 -04:00
LagoLunatic 1ad444aa73 Started d_a_arrow (#64)
* More d_bg header improvements

* Cleanup, use mtx inlines in more places

* Added JntHit_c to headers

* Started d_a_arrow
2023-09-20 21:09:23 -07:00
LagoLunatic 01f2fc433f d_a_nh done (no match) (#55)
* Fix sin and cos

* Fix dCcD_GObjInf JP inlining difference

* Improvements to dDlst_alphaModel_c

* d_a_nh done (no match)
2023-09-18 12:29:40 -07:00
LagoLunatic aa975d1c5f d_a_tag_ret basically done (#16) 2023-09-11 22:28:10 -07:00
TakaRikka 2df2da338d set up most of player actor stuff 2023-09-10 17:47:40 -07:00