Commit Graph

78 Commits

Author SHA1 Message Date
LagoLunatic 2f4c6f89b3 Bunch of inline fixes 2025-04-16 13:23:21 -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
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 309158e274 J3DModel inlines cleanup, procBottleSwing_init match, etc 2025-04-10 19:30:51 -04:00
LagoLunatic a8b40b2d74 Return cleanup 2025-04-01 21:08:50 -04:00
LagoLunatic 5dff645173 Cleanup
0.0099999998f -> 0.01f
4 space indents
Unnecessary parentheses from Ghidra
etc
2025-04-01 15:26:16 -04:00
LagoLunatic a0536371e6 player_swim 100%, bunch of inline cleanup 2025-03-29 20:09:32 -04:00
Mattias Blum 2376acb224 d_a_player_swim near complete (#711)
* initial progress

* more progress

* added `dComIfGp_clearItemTimeCount` inline

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress, all code matching except for `setSwimMoveAnime`

* resolving symbols, forgot to mention `changeSwimOutProc` is not matching as well

* PR changes made, only `setSwimMoveAnime` nonmatching

* fixed reference to old member name for `mItemTimeMax`
2025-03-29 18:55:06 -04:00
LagoLunatic 822b13e57a Add cPhs_State typedef and use it everywhere 2025-03-17 22:26:56 -04:00
LagoLunatic 6c4ce7ec80 Fix fakematch reuse of var in getLayerNo
Turns out that a double ternary has different codegen than if+else+ternary
2025-03-10 21:17:59 -04:00
LagoLunatic 49c69eeb0f C_BG_MIN_HEIGHT, C_BG_MAX_HEIGHT 2025-03-06 20:41:37 -05:00
LagoLunatic e8adc6c9e5 Rename more item enums 2025-01-17 20:58:43 -05:00
LagoLunatic b18a1e448a Add enums for island room numbers and indexes 2025-01-06 00:47:29 -05:00
LagoLunatic 37dbfd75de Add item button enum and talk button enum 2025-01-06 00:23:55 -05:00
Jasper St. Pierre c7e3e7ffea small fixes 2024-12-27 01:32:02 -08:00
Jasper St. Pierre 929027bfc1 document inventory slots 2024-12-27 01:23:55 -08:00
LagoLunatic d0990e3271 d_a_bk work, FILI inline cleanup 2024-10-10 16:10:16 -04:00
LagoLunatic 40a4d0a1d9 stag inlines and cleanup 2024-10-07 23:38:54 -04:00
LagoLunatic d7c228a628 misc cleanup 2024-09-16 17:46:19 -04:00
LagoLunatic 707fceca57 Move fmodf, atan2f, sinf, and cosf to std:: namespace 2024-08-08 14:50:10 -04:00
Jasper St. Pierre d4a36b32e4 some scene/overlap documentation and fixes 2024-07-13 09:47:17 -07:00
LagoLunatic 33c6922ae8 small fixes 2024-07-12 10:36:30 -04:00
LagoLunatic c3722dbeb5 Add some dCom inlines from TP debug 2024-07-04 13:19:51 -04:00
LagoLunatic f9d40ebad8 Use NULL macro in asserts, fix NULL macro to match 2024-06-22 11:07:16 -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
Daniel Hajjar ed7a50cd86 d_a_auction (#654)
* Started working on d_a_auction

* daAuction_c Updated member variables

* daAuction_c Refactored class

* daAuction_c::getRand matching

* daAuction_c constructor matching

* d_a_auction CheckCreateHeap matching

* daAuction_c::_create matching

* d_a_auction l_item_dat matching

* daAuction_c::createHeap matching

* d_a_auction Added HIO classes

* daAuction_c::createInit WIP

* daAuction_c::_delete matching

* daAuction_c::_draw matching

* daAuction_c::_execute matching

* d_a_auction Fixed procfunc arrays

* daAuction_c moveProc funcs matching

* daAuction_c::checkOrder matching

* daAuction_c::eventOrder WIP

* daAuction_c::eventMove matching

* daAuction_c::privateCut WIP

* daAuction_c::eventTalkInit matching

* daAuction_c::eventMesSet matching

* daAuction_c::eventMesEnd matching

* daAuction_c::eventStartInit matching

* daAuction_c::eventStart matching

* daAuction_c::eventMainInit matching

* daAuction_c::eventMain matching

* daAuction_c::eventMainKai matching

* daAuction_c::eventMainKai Fixed formatting

* daAuction_c::eventMainUri matching

* d_a_auction matching fixes

* daAuction_c::eventMainMsgSet matching

* daAuction_c::eventMainMsgEnd matching

* daAuction_c::setMtx matching

* daAuction_c::getItemNo matching

* daAuction_c::setLinkAnm matching

* d_a_auction matched some functions

* d_a_auction matched SetMessage functions

* daAuction_c::getNpcActorP matching

* daAuction_c::eventMainMsgBikonC matching

* daAuction_c::eventMainMsgBikonW matching

* daAuction_c::eventGetItemInit matching

* daAuction_c::eventGetItemNpcInit matching

* daAuction_c::eventGetItemMesInit matching

* d_a_auction matched some functions

* daAuction_c::setCameraNpc matching

* daAuction_c::nextBet matching

* daAuction_c::privateCut Fixed matching

* d_a_auction .data section matching

* daAuction_c::next_msgStatus WIP

* daAuction_c::next_msgStatus matching

* Fixed variable names

* d_a_auction cleanup

* d_a_auction more cleanup

* d_a_auction non-matching

* d_a_auction minor tweak
2024-06-02 10:48:53 -07:00
LagoLunatic 4805f9b38d improve mount direction enum 2024-05-10 01:06:16 -04:00
LagoLunatic af61ba5f0a d_a_player_tact work 2024-05-08 19:11:20 -04:00
LagoLunatic 459cf6caa7 clean up some inline parameters 2024-04-18 23:16:38 -04:00
LagoLunatic ad0478fe15 d_a_tag_event OK 2024-04-16 13:28:35 -04:00
LagoLunatic 95f93e05d7 improve some npc_bs1 matches slightly 2024-04-10 23:51:34 -04:00
SuperDude88 bc7fdd6fcb daNpc_Bs1_c Work (#614)
* daNpc_Bs1_c Work

Almost matching

* Every Time

Always has to be something forgotten

* Cleanup

* Tiny Detail Slipped Through

* Last One Hopefully
2024-04-10 23:13:59 -04:00
SuperDude88 3f1d64f3ab daNpc_Os_c Work (#611)
* daNpc_Os_c Work

Mostly matching

* How Did I Miss This

Somehow this wasn't erroring on my machine

* Hopefully This Works Now

* Surely this is the last one

* Definitely compiles now

* Cleanup
2024-03-18 22:04:58 -04:00
LagoLunatic fdba7c3a7b Started cleaning up the itemNo enum 2024-02-25 02:05:17 -05:00
LagoLunatic cb19541788 more inline work 2024-02-03 17:31:08 -05:00
LagoLunatic 0d3242ab22 work on inlines 2024-02-03 13:41:11 -05:00
LagoLunatic 9037c8e8f1 Use BGM/SE enums for JAIZelBasic 2024-01-13 01:50:54 -05:00
LagoLunatic cee53aa7b2 use more inlines and enums 2024-01-06 22:21:56 -05:00
Jasper St. Pierre 73f07b4fac some meter work 2024-01-06 17:31:42 -08:00
Jasper St. Pierre 1e7e0695f1 d_gameover start 2024-01-06 16:26:20 -08:00
LagoLunatic e0279f6218 Move event bits enum 2024-01-04 02:19:34 -05:00
LagoLunatic a0ea511650 Add save stage table, stage type, and event bit enums 2024-01-04 00:37:52 -05:00
Jasper St. Pierre cfcb384bf4 d_event work 2023-12-28 22:54:14 -08:00
LagoLunatic e6edfa7b6f start d_a_player_tact, add player status enums 2023-12-28 18:58:56 -05:00
TakaRikka 5773ee904c reorganize MSL_C/Runtime files. wip, notmatching 2023-12-27 21:07:21 -08:00
LagoLunatic 0490fd3c84 more collision enums and inlines 2023-12-22 21:02:23 -05:00
LagoLunatic fa5fb18d3c use inlines in more places 2023-12-20 19:04:01 -05:00
LagoLunatic a3170e5d69 add default params to a lot more functions 2023-12-08 16:25:12 -05:00