Mattias Blum
5f287fcaee
d_camera 28% ( #732 )
...
* initial progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* fix outdated member names
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* fixed deprecated member references
* more progress
* more progress
* more progress
* fix deprecated member references
* more progress
* more progress
* more progress
* more progress
* more progress
* check in for review
* remove comment
* initial PR changes
* more PR changes
* more PR changes
* added anonymous struct as class member
* reverted changes to `stage_camera2_data_class`
* added `dCamera_event_data`, `dCamera_monitoring_things` and `dCamera_DMC_system` from debug maps
* more progress
* more progress
* realmatch for `camera_draw`
* PR changes
* fix broken merge
* formatting
* Reverted change to `camSphChkdata` that caused `sph_chk_callback` match to regress
* Reverted change to `BG` struct that caused ctor and dtor match to regress
2025-04-11 16:37:42 -04:00
LagoLunatic
db2c5ef978
Cleanp a bunch of stuff
2025-03-28 20:44:06 -04:00
LagoLunatic
822b13e57a
Add cPhs_State typedef and use it everywhere
2025-03-17 22:26:56 -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
LagoLunatic
8509a38a8e
Cleanup
2025-03-10 21:17:59 -04:00
LagoLunatic
7678a0be84
d_bg_w and c_m3d OK
2025-03-07 17:40:54 -05:00
LagoLunatic
49c69eeb0f
C_BG_MIN_HEIGHT, C_BG_MAX_HEIGHT
2025-03-06 20:41:37 -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
LagoLunatic
7297cbaf38
c_m3d done except for regalloc
2025-02-05 18:04:26 -05:00
LagoLunatic
2ece7c9ce1
Create constants for m_Do_machine heap/buffer sizes
2025-01-31 15:35:43 -05:00
LagoLunatic
901bc51f40
d_a_npc_md work
2025-01-27 19:26:14 -05:00
Jasper St. Pierre
2db35c0108
name cPhsUNK3_e
2024-12-24 14:37:05 -08:00
LagoLunatic
0492ca2b52
start d_menu_option
2024-11-05 20:53:59 -05:00
Jasper St. Pierre
70044ec8dd
Clean up cc enums
2024-10-28 21:16:46 -07:00
LagoLunatic
ce592831fe
Warning/error cleanup
2024-10-18 15:55:31 -04:00
LagoLunatic
ba203cc5fb
Match most cM3d tri funcs
2024-09-06 19:20:29 -04:00
Jasper St. Pierre
893f6bc112
d_particle work
2024-09-02 18:21:08 -07:00
LagoLunatic
660a5ac699
cc cleanup
2024-08-24 12:39:21 -04:00
LagoLunatic
a25d2651de
Move sqrtf to std:: namespace
2024-08-08 14:55:57 -04:00
LagoLunatic
d287e79ab0
Move abs and fabsf to std namespace
2024-08-07 12:55:30 -04:00
LagoLunatic
287bdab653
Match daNpc_Bs1_c::CreateInit and cLib_minMaxLimit inline
2024-07-19 13:17:43 -04:00
Jasper St. Pierre
dba13917e3
build fix
2024-07-13 22:31:08 -07:00
Jasper St. Pierre
e4024253ab
d_particle work
2024-07-13 20:38:12 -07:00
Jasper St. Pierre
5f6ef2a214
c_rnd
2024-07-13 16:57:20 -07:00
Jasper St. Pierre
3d8c73e574
d_cam_param work
2024-07-13 16:43:59 -07:00
Jasper St. Pierre
18b82cdc5a
cLib_calcTimer fix
...
thanks to DanTGL
2024-07-13 14:46:35 -07: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
aad93dbfb4
clean up c_xyz to not use fake inlines
2024-06-30 11:18:02 -04:00
LagoLunatic
8f371a7c1b
d_door 100%, weak order not matching
2024-06-30 11:14:10 -04:00
Daniel Hajjar
fda302008e
d_a_sea ( #659 )
...
* d_a_sea fixes
* daSea_ChkArea matching
* daSea_calcWave WIP
* daSea_GetPoly WIP
* d_a_sea Added Nonmatching comments
* daSea_calcWave matching
* daSea_calcWave fakematch
* daSea_packet_c::CalcFlatInterTarget matching
* daSea_GetPoly matching
* daSea_packet_c::SetCullStopFlag matching
* d_a_sea Misc fixes
* daSea_packet_c::execute matching
* daSea_packet_c::execute cleanup
* daSea_packet_c::create matching
* daSea_packet_c::CalcFlatInter matching
* daSea_packet_c::draw WIP
* daSea_packet_c::draw more WIP
* daSea_packet_c::draw work
* daSea_packet_c::draw even more WIP
* d_a_sea matching
Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com >
* d_a_sea cleanup
* updated configure.py
* d_a_sea minor cleanup
---------
Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com >
2024-06-21 17:31:43 -07:00
LagoLunatic
9d746447f9
d_a_bwdg 100%, weak order not matching
2024-04-16 19:56:52 -04:00
LagoLunatic
069135a316
Remove fake csXyz inlines
2024-03-18 23:52:24 -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
bab128d8a8
Copy new c_m3d progress from TP decomp
2024-02-26 22:00:18 -05:00
Jasper St. Pierre
53373a5019
Merge pull request #605 from kageurufu/c_m3d
...
Implement cM3d_Len3dSqPntAndSegLine
2024-02-26 17:58:06 -08:00
Franklyn Tackitt
68c97bf2db
Implement cM3d_Len3dSqPntAndSegLine
...
Fix cM3d_Len2dSqPntAndSegLine
2024-02-26 16:12:02 -07:00
Jasper St. Pierre
7b10a31630
d_a_kt work
2024-02-24 21:35:06 -08:00
LagoLunatic
32728226a2
d_a_wall OK
2024-02-16 14:19:33 -05:00
LagoLunatic
f5557efb6f
d_s_actor_data_mng OK
2024-02-12 10:12:55 -05:00
LagoLunatic
a3748c1fbc
d_cc_s work
2024-02-12 00:29:59 -05:00
LagoLunatic
85a3e6266f
d_bg_w_hf OK
2024-02-11 22:06:25 -05:00
Jasper St. Pierre
0725d4bd8a
d_bg_w work
2024-02-11 12:46:14 -08:00
LagoLunatic
a38191d6ee
d_bg_w_hf 70%
2024-02-11 00:19:36 -05:00
LagoLunatic
7c983ef0c7
d_cc_mass_s OK, d_cc_s work
2024-02-09 18:40:59 -05:00
LagoLunatic
0d899b50f5
d_envse OK
2024-02-04 20:33:51 -05:00
LagoLunatic
2f9b5486fc
some d_drawlist functions
2024-01-22 21:55:25 -05:00
Jasper St. Pierre
1acd6f1a97
c_m3d work
2024-01-20 10:44:36 -08:00