Commit Graph

121 Commits

Author SHA1 Message Date
Mattias Blum 59d39267ec Merge branch 'zeldaret:main' into d_menu 2025-05-17 22:57:55 -04:00
mattias-blum 0a2e18900f more progress 2025-05-15 17:51:38 -04:00
LagoLunatic 4a54a410b1 More player_main match fixes 2025-05-14 16:00:12 -04:00
LagoLunatic 36fec0f7fd Disappear drop type cleanup 2025-05-09 16:34:02 -04:00
LagoLunatic f690b92d28 Add camera mWork union; also fix clang union handling
Union members with non-trivial ctors/dtors is undefined behavior and clangd normally throws a fit and refuses to parse the whole union, but it seems to be possible to ifdef the problematic ctors out for non-mwerks compilers and explicitly tell modern compilers to use the defaults instead. Thanks to encounter for this fix.
2025-05-07 01:19:23 -04:00
LagoLunatic 2690304a74 player_main cleanup and a few matches 2025-04-29 15:44:49 -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 fa7d4d2896 Fix relocation and data value mismatches 2025-04-24 14:53:58 -04:00
LagoLunatic 1f049c0911 Move remaining class definitions to headers 2025-04-16 14:18:08 -04:00
LagoLunatic 26015238ef d_stage cleanup 2025-04-13 23:21:01 -04:00
LagoLunatic 780d4e680a d_drawlist OK, J2DPicture inline cleanup 2025-04-12 23:18:11 -04:00
SuperDude88 1f1900bf66 f_op_msg_mng Work (#685)
* f_op_msg_mng work

* Fix Some Conflicts

Haven't had much chance to work on actual progress, still looking to do more matching before merge

* Tiny bit of Work

Little bit of cleanup, start on a couple more functions

* More Matches

Also add back some missing nonmatch comments

* Fixes

* JPN ifdefs

* Inline Fix

Also force one match (there's no way that casting is real)

* Reorder Strings

Fix rodata, I think this order is also slightly more accurate to the function (but I'm not really trying to match it right now anyways)
2025-04-12 21:02:24 -04:00
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 458d027fc9 d_a_hookshot equivalent 2025-04-02 15:54:23 -04:00
LagoLunatic 41621f4e72 Fix weird gameInfo loads caused by casts within inlines 2025-03-31 14:07:20 -04:00
LagoLunatic a601fa33e5 Cleanup 2025-03-31 13:49:02 -04:00
LagoLunatic 4c3bd2c651 Missed some spots where cPhs_State should be used 2025-03-18 15:10:32 -04:00
LagoLunatic 822b13e57a Add cPhs_State typedef and use it everywhere 2025-03-17 22:26:56 -04:00
LagoLunatic 49c69eeb0f C_BG_MIN_HEIGHT, C_BG_MAX_HEIGHT 2025-03-06 20:41:37 -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 458c40ede8 Translate strings in fopAcM_entrySolidHeap 2025-02-11 16:25:06 -05:00
LagoLunatic 02b21329ad GBAJoyBoot OK 2025-01-26 20:52:18 -05:00
LagoLunatic ffe54e0bea Mark funcs with weak func order issues as Equivalent, fix a few other issues 2025-01-23 21:52:41 -05:00
LagoLunatic e8adc6c9e5 Rename more item enums 2025-01-17 20:58:43 -05:00
LagoLunatic d330c1e68a Add enums for items and disappears 2025-01-11 19:15:36 -05:00
LagoLunatic 4a0a89501d Match getMesgHeader on JPN 2024-12-28 21:34:40 -05:00
Jasper St. Pierre b0e9b37bf2 build fix 2024-12-28 16:26:52 -08:00
Jasper St. Pierre 72bbd3ea1f f_op_msg_mng work 2024-12-28 15:33:02 -08:00
Jasper St. Pierre 2db35c0108 name cPhsUNK3_e 2024-12-24 14:37:05 -08:00
LagoLunatic 3eac0a16ac warning cleanup 2024-11-02 00:00:04 -04:00
LagoLunatic 329d94a301 Add fake headers for unsolved weak objects to reduce manual copy-pasting 2024-10-19 14:03:50 -04:00
LagoLunatic 9e29fd3c68 More warning cleanup 2024-10-18 11:33:08 -04:00
LagoLunatic 202851599f More warning/error cleanup, mostly includes 2024-10-17 23:46:30 -04:00
LagoLunatic 34afbd84db clangd: Started fixing warnings and errors, code cleanup 2024-10-17 21:35:18 -04:00
LagoLunatic e0bdc7cfc5 misc small cleanup 2024-09-29 16:27:47 -04:00
LagoLunatic a25d2651de Move sqrtf to std:: namespace 2024-08-08 14:55:57 -04:00
Jasper St. Pierre d4a36b32e4 some scene/overlap documentation and fixes 2024-07-13 09:47:17 -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
Jasper St. Pierre 30103693f5 d_s_open_sub work 2024-07-01 23:35:25 -07:00
LagoLunatic f9d40ebad8 Use NULL macro in asserts, fix NULL macro to match 2024-06-22 11:07:16 -04:00
LagoLunatic c836c5ca1f Use FALSE macro in asserts, remove JUT_PANIC macro 2024-06-22 10:10:07 -04:00
LagoLunatic b1376e4d3f Fix ninja all_source compilation errors 2024-06-16 10:20:57 -04:00
SuperDude88 3f08458809 d_a_npc_people Almost OK (#658)
* daNpcPeople Work

* Oops

Somehow I break this file every time I touch it
2024-06-15 22:55:31 -07:00
LagoLunatic e855019ab4 Rename some more item enum entries 2024-06-07 14:04:18 -04:00
LagoLunatic 12e1b800ad Use NULL instead of 0 2024-04-23 14:04:42 -04:00
LagoLunatic 2b71216c8b Add enum for attention types 2024-04-17 00:15:24 -04:00
LagoLunatic 8238d12e71 add more default parameters for common funcs 2024-04-16 13:44:24 -04:00
Jasper St. Pierre a7a4984a89 some small matches and cleanups 2024-04-13 15:45:30 -07:00
Jasper St. Pierre b5d054f152 f_op_actor_iter: minor cleanup 2024-04-13 15:29:29 -07:00