Commit Graph

2027 Commits

Author SHA1 Message Date
Jcw87 52c3c0dbfc d_camera (#1217) 2026-09-24 12:30:17 -04:00
LagoLunatic 6a3a6d67a5 Implement all dBgW inlines 2026-09-23 18:27:20 -04:00
LagoLunatic e88c3ac388 d_cc_s OK for demo 2026-09-23 16:42:57 -04:00
LagoLunatic e652f902b7 d_a_player_main inlines and fix himo2/himo3 confusion 2026-09-23 16:19:00 -04:00
LagoLunatic 82f1e2c734 d_a_saku matching for all retail versions, add inlines, and almost matching for demo 2026-09-23 13:44:28 -04:00
Kenz Linden ae3b3b0deb d_a_saku GLZE01 (#1214)
* daSaku_c matching setMoveBGMtx func

* minor adjustment of daSaku_c setMoveBGMTx func

* remove unecessary class declaration in d_a_saku header

* daSaku_c setEffFire matching

* d_a_saku Draw func matching

* d_a_saku move mtx into array

* d_a_saku move mtxs out of array, setMtx func matching

* d_a_saku checkCol func matching

* d_a_saku checkCol func cleanup

* d_a_saku move related adjacent values into array as opposed to separate variables

* d_a_saku setup HIO class

* d_a_saku mode_break_throw_obj matching, adjust other funcs for data type change

* d_a_saku broken matching, update other funcs to reflect changed data types

* d_a_saku change collision func matching

* d_a_saku burn matching

* fix sakuHIO class data structure

* d_a_saku execute matching

* d_a_saku GetDzId func matching

* d_a_saku CreateHeap func matching

* d_a_saku daSaku_Delete func matching

* d_a_saku adjust data type, update matching funcs for updated data type

* d_a_saku mode_break_none func matching

* d_a_saku daSaku_create matching except stringbase, fix CreateHeap func type

* d_a_saku fix CreateHeap and loadModel func types

* d_a_saku RecreateHeap func matching except stringbase

* d_a_saku CreateInit matching

* d_a_saku CreateDummyHeap func matching

* d_a_saku matAlphaAnim, changeXluMaterialAlpha, l_blendInfo, l_zmodeInfo, l_zmodeInfo2 matching

* d_a_saku DrawSub matching, adjust matAlphaAnim output type

* d_a_saku MoveBGResist func matching

* d_a_saku fix matAlphaAnim to use u16 in for loop

* d_a_saku mode_break_fire func matching

* d_a_saku loadModel func matching except stringbase

* d_a_saku loadMoveBG func matching

* d_a_saku update mode_break_throw_obj heap name

* d_a_saku change my_cyl_src to not const to force into .data

* d_a_saku setCol matching

* d_a_saku adjust loadModel value to correct val

* d_a_saku setEffBreak func matching

* d_a_saku fix sakuHIO_c destructor not properly initialised

* d_a_saku instantiate static vars, re-shuffle to get correct ordering and data placement

* d_a_saku remove redundant "this" usage

* d_a_saku run format on doc

* d_a_saku remove redundant non-matching comments

* d_a_saku cleanup - var names, formatting, function cleanup

* d_a_saku marked as matching

* d_a_saku remove redundant class declaration

* d_a_saku implement code review feedback

* reverse formatter making changes to configure.py

* d_a_saku code review fixes
2026-09-22 21:46:01 -04:00
LagoLunatic 1b5b1ccf41 d_a_npc_cb1 OK for JPN, almost for demo 2026-09-22 15:59:54 -04:00
LagoLunatic 0655ef6014 d_a_agb near matching for demo, one regalloc left 2026-09-22 15:20:06 -04:00
LagoLunatic f6616c1064 d_a_obj_figure OK for demo, fix wrong enum usage for retail 2026-09-22 14:28:18 -04:00
LagoLunatic 7f8a57ed3d warpls inlines from debug map 2026-09-22 13:06:04 -04:00
Luke 03a2cd7ae1 d_a_warpls 100% matching (#1054)
* d_a_warpls 100% matching

* warpls updated

Changed some member types to better attribute to their usage. Added member and local names as close to what they do. Cleaned up functions and some missing inlines.

* tweak some floats to suffix "f"

* Names & Member Funcs

Feel pretty good about these changes. I also added enums for the type of warp, event type and event state for readability.

* implement review changes

* missing space
2026-09-22 12:57:30 -04:00
Robert Kämpf d09d06562b d_a_obj_mmrr 100% matching (#1212)
* d_a_obj_mmrr 80% matching

* d_a_obj_mmrr 100% matching & linked

* Cleanup and renames

* Remove commented out code

* Exclude demo version from matches

* Use particle id enum
2026-09-21 12:22:18 -04:00
TakaRikka 856594c384 d_menu_item mostly done (#1213)
* d_menu_item mostly done

* a little documentation
2026-09-21 02:50:40 -04:00
LagoLunatic ae69d049e9 YLzou documentation 2026-09-21 02:02:54 -04:00
Lee, Derek 5725ecf675 d_a_obj_YLzou matching (#1118)
* Most simple functions match or almost matching

* Run format

* set_start_type except some regswap

* Fix set_start_type regswap

* create_heap match except instruction locations

* eff_set_slip_smoke_pos matching except for some offsets

* Remove unnecessary

* Capitalize some hex

* eff_smoke_slip_start matching except some offsets

* Remove debug map comment

* name emitter

* vib_proc matching except some offsets

* demo_regist_wait_act_proc match

* demo_vib_start_wait_act_proc 100%

* Remove useless return

* demo_vib_act_proc matching except instruction offsets

* format

* move_ylzou_demo_move_act_proc matching except for instruction locations

* Clean up unnecessary returns

* demo_end_wait_act_proc except instruction offset for instruction offsets

* format

* demo_regist_wait_act_init_proc matched

* demo_end_wait_act_init_proc matching except instruction offsets

* go_up_stairs_demo_move_start_wait_act_init_proc matching except instruction offsets

* go_up_stairs_demo_move_act_proc matching except instruction offsets

* formatting

* _execute matching

* _create matched

* _delete matching

* rename variable to match objdiff

* 100% match

* Cleanup

* Add matching for since it doesn't match for demo

* Match d_a_obj_YLzou

* Demo matching

* Demo matched

* Update d_a_obj_YLzou.cpp

* Format and type triforce_complete as BOOL

---------

Co-authored-by: WilliamArnett <arnettwilliam7@gmail.com>
2026-09-20 23:33:32 -04:00
LagoLunatic adfcecf5f9 tag_ba1 OK for demo, fix inline usage 2026-09-20 23:05:42 -04:00
Phillip Stephens cf50f63c42 Match d_a_tag_ba1 (#1211)
* Match d_a_tag_ba1

* Don't link against D44J01

* Format nits
2026-09-20 22:56:00 -04:00
Teddy Heidmann 6efcd81322 d_a_npc_mn (#1210)
* class structure

* .data

* .rodata

* small fns

* talk2()

* phase_1, phase_2

* createHeap(), _delete()

* createInit, eventMesSetInit

* _draw(), _execute()

* not inlines

* executeWait()

* weird bool vs BOOL return

* executes

* more events

* talk3()

* getMsg() and anm fns

* privateCut()

* chkAttention()

* lookBack()

* remaining fns

* fieldNames

* matching retail

* D44J01

* add state enums

* review comments
2026-09-20 17:15:46 -04:00
LagoLunatic 74bc569576 clean up z/y/x set expressions 2026-09-20 13:49:04 -04:00
LagoLunatic 3bf1629173 JASBasicWaveBank OK 2026-09-20 13:16:06 -04:00
Jcw87 9066be8e31 JAudio (#1209) 2026-09-19 22:17:23 -04:00
LagoLunatic bee05a995f Fix several actors missing dCcD src structs 2026-09-19 14:16:07 -04:00
LagoLunatic 3fe9499e47 Fix some dsnap enums 2026-09-19 12:33:57 -04:00
LagoLunatic f38b962a58 demo d_file_error OK, fmap/fmap2 work, misc (#1208)
* d_file_error OK, use J2DPane inlines everywhere

* d_menu_fmap demo work

* fmap and fmap2 work

* fix demo regression with ternary fakematch

* inline cleanup, f_pc_profile OK for demo

* fix min/max bss order

* lstair almost for demo
2026-09-17 10:05:55 -04:00
LagoLunatic 78f9557306 d_minigame_starter almost matching 2026-09-15 15:30:49 -04:00
LagoLunatic 04516bd630 d_operate_wind OK 2026-09-15 13:32:17 -04:00
Jcw87 f48d8c8625 d_menu_fmap2 (#1205) 2026-09-15 12:04:33 -04:00
TakaRikka adf4c5971f d_s_open_sub ok / some improvements to JAIZelAnime (#1206)
* d_s_open_sub ok

* small JAIZelAnime improvements

* add an inline

* fix JAIZelAnime for jpn

* some d_s_open_sub field names
2026-09-15 12:00:55 -04:00
TakaRikka 43f8aac7dc d_operate_wind mostly done (#1207) 2026-09-15 11:59:02 -04:00
LagoLunatic ff768cc1d9 2dnumber almost matching, fix iconno and ctrlcode enums 2026-09-13 13:23:13 -04:00
TakaRikka 3076bd0866 d_2dnumber improvements (#1204) 2026-09-13 12:09:40 -04:00
Jcw87 6b3a64dd81 d_menu_fmap2 (#1201) 2026-09-12 14:08:33 -04:00
TakaRikka e25b789686 d_kankyo_rain improvements (#1200) 2026-09-12 14:06:04 -04:00
LagoLunatic 99662e663f demo matches for some grid funcs 2026-09-09 13:35:22 -04:00
TakaRikka 01edd8c27a d_a_grid mostly done (#1198)
* d_a_grid mostly done

* demo fixes
2026-09-09 12:06:35 -04:00
Jcw87 4c0a2960c9 JAudio (#1197) 2026-09-06 18:43:18 -04:00
LagoLunatic f7d64187ed inlines 2026-09-05 19:11:35 -04:00
Jcw87 40e3fe24cb JAudio (#1196)
* JStudio

* JAudio
2026-09-05 10:54:59 -04:00
LagoLunatic 56528e2e29 demo progress for d_menu_fmap and ghostship 2026-09-04 19:36:03 -04:00
Teddy Heidmann 7735a21e14 d_menu_fmap (#1195)
* checkDspLargeMapLink()

* close on dispEndSalvageLargeMark()

* setDspHugeMapLink(), dispEndSalvageHugeMark()

* checkDspHugeMapLink(), checkDspHugeMapShip(), _close_normalMode()

* _delete()

* decomp.me help

* FmapProcMain()

* SelectGrid(), zoom1000x1000Init()

* ZoomGridLv1In()

* ZoomGridLv2Out(), fmap2Move(), paneTransBase(), paneTranceZoomMapAlpah()

* paneTranceZoomMap()

* paneTranceZoom2Map(), _open_warpMode(), init_warpMode()

* enums for procIdx values

* paneTranceWarpMsg(), paneAlphaWarpMsgBack(), fmMapWrite(), fmMapWait(), paneAlphaZoom2Map()

* wrapMove()

* warpAreaAnime0(), warpSelCursorAnime()

* areaTextChangeAnimeInit()

* fmDispArea(), fmZoomGridLv1/2In/Out

* wtf setDspWarpBackCornerColor

* screenSet() .data order

* cleanup u8/bool

* field renames

* bool/BOOL cleanup, enum for confusing fmapZoom

* configure.py

* GZLP01

* GZLJ01
2026-09-04 18:01:21 -04:00
LagoLunatic 6401d64e51 Remove fake CButton enum, use SDK button defines instead 2026-09-04 14:33:00 -04:00
LagoLunatic 94a5eadb5f Add DEAD_STRING macro to clearly distinguish unused strings 2026-08-31 16:08:40 -04:00
LagoLunatic e7e0e8e581 m_Do demo work (#1189)
* m_Do_controller_pad and m_Do_Reset OK for demo, m_Do_machine 100% with weak func order

* Add machine.pch, m_Do_machine OK for demo

* m_Do_gba_com and m_Do_MemCardRWmng OK for demo

* m_Do_graphic work

* m_Do_graphic JPN/PAL version diffs
2026-08-31 15:52:01 -04:00
Jcw87 18e0b77903 fix TEnumerator (#1192) 2026-08-31 12:37:06 -04:00
LagoLunatic e9f0482395 JASChannelMgr and JASBankMgr OK 2026-08-28 20:42:59 -04:00
LagoLunatic e5b3616f36 JASDSPChannel inline fixes, match TDSPChannel::alloc 2026-08-28 17:27:58 -04:00
LagoLunatic 6bafbce0af fvb OK 2026-08-28 16:34:27 -04:00
LagoLunatic f2be4dc1ff Various J3D inline fixes 2026-08-28 15:03:03 -04:00
LagoLunatic 60a05bdb83 Fix J3DGXColor ctors for clang 2026-08-28 14:53:14 -04:00
Jcw87 9234aa8286 Compiler compatibility, other fixes (#1188)
* add missing data

* fix return value

* d_camera fix

* missing GXEnd

* struct fixes

* fix include
2026-08-28 14:07:33 -04:00