Commit Graph

479 Commits

Author SHA1 Message Date
LagoLunatic ed42b15988
Debug build now takes .alf as input instead of .dol (#2360)
* Fix debug build

* Debug build now takes .alf as input instead of .dol

I had to manually remove the following line from symbols.txt for DTK to work:
```
.data = .sbss:0x8074C97C; // type:object size:0x4 scope:local data:byte
```
After that it built OK, and DTK automatically modified all other lines in symbols.txt.

* Fix pragma in header messing up debug optimization level
2025-03-30 15:43:44 -07:00
TakaRikka 934e14f12b
fix debug build (#2345) 2025-03-27 00:45:52 -07:00
LagoLunatic 4dc0cd9d09
Debug version now builds OK and all_source compiles (#2343)
* Fix missing arg to JUT_ASSERT

* Fix some MWCC version diff errors

* Compile m_Do_ext, d_demo, actor_mng

* Add VSCode task to quickly switch between versions

* Unlink magLift for debug

* Update the hash of the debug dol

The old cbea5fa... hash here was for the dol generated by the alf2dol.py script, which produces incorrect alignment.

The dol with the new hash can be obtained by using `dtk elf2dol` to convert the debug .alf file to a dol.

The DOL now builds OK.

* Fix all debug REL dtor splits

All RELs now also build OK, meaning `ninja build/ShieldD/ok` now succeeds.

* Add genMessage declarations to all HIO subclasses

* Fixing more compilation errors

* m_Do_mtx 100% on debug

Cannot be linked due to weak function name mangling?

* Improve various matches

* Fix all remaining compilation errors

* Fix new compilation errors from main

* Fix retail regression

* Link f_pc_profile_lst
2025-03-22 18:00:51 -07:00
Caroline Madsen 5a7b9f62d6
Z2AudioLib work (#2339)
* Z2LinkMgr work, Z2AudioArcLoader matching

* Z2SeMgr matching

* Z2SpeechMgr2 almost done, Z2SoundHandles matching
2025-03-21 23:03:43 -07:00
TakaRikka 60748d0924
b_dr equivalent, update dtk-template (#2327)
* d_a_tag_allmato almost done

* d_a_swhit0 done

* some SSystem cleanup

* treesh done

* swball done, some other rel cleanup

* b_dr equivalent

* update dtk-template

* rename j3dframectrl mode enum
2025-03-14 04:46:21 -04:00
TakaRikka 19e18654c9
tag_allmato almost, swhit0 treesh swball done, misc cleanup (#2312)
* d_a_tag_allmato almost done

* d_a_swhit0 done

* some SSystem cleanup

* treesh done

* swball done, some other rel cleanup
2025-03-01 14:48:49 +02:00
TakaRikka 6e94efaefb
d_a_obj_carry mostly done (#2301)
* d_a_obj_carry mostly done

* cleanup some acch inlines
2025-02-13 10:37:46 -07:00
TakaRikka 2453c0e333
copy dolsdk2004 to tp / b_bh + e_mb done (#2299)
* move dolsdk2004 over

* cleanup some temp work

* finish and cleanup gf

* b_bh done

* d_a_e_mb done
2025-02-10 21:20:42 +02:00
Huitzi 7c5006e446
d_a_obj_waterGate matching + d_a_obj_lv3Water2 equivalent (#2293)
* d_a_obj_waterGate matching + d_a_obj_lv3Water2 equivalent
* Add simpleCalcMaterial implicit inline to J3DModelData (seen in debug)
* Basic documentation for both actors
* WIP debug build implementations (note TODOs)
* Update configure.py and note weak ordering issues for lv3Water2

* Actually add modified J3DModelData.h & explicitly note fake padding
2025-01-27 11:55:55 -08:00
LagoLunatic bf4053fefa
Fix spurious differences when using `ninja diff` (#2294)
* Fix spurious differences when using ninja diff

* Fix some clangd errors/warnings
2025-01-26 22:01:05 -08:00
TakaRikka e0824a1590
most of JHostIO / m_Do_hostIO done (#2288) 2025-01-19 22:05:53 -07:00
TakaRikka 9948a6371f
wip debug / pal building, b_gm mostly done (#2285)
* b_gm mostly done

* wip debug / pal building

* fix configure.py

* fix some debug macros / flags
2025-01-16 19:37:39 +02:00
LagoLunatic 2189777abf
Fix various issues in TUs marked `Equivalent` (#2286) 2025-01-14 22:47:29 -08:00
TakaRikka 36daa25884
d_a_horse mostly done (#2284)
* checkpoint

* d_a_horse mostly done

* some horse doc
2025-01-09 15:45:46 +02:00
TakaRikka 0e281cb975
various matches / cleanup (#2271)
* cleanup various TUs

* checkpoint

* d_attention doc
2024-12-29 17:53:54 +02:00
TakaRikka ad2badcd29
kankyo mostly done (#2269)
* work on kankyo

* some more kankyo work

* kankyo almost done

* kankyo mostly done

* first cleanup pass

* some more renaming

* rename a bunch of kankyo vars

* fix regression
2024-12-24 16:52:12 +02:00
hatal175 d874f05f44
d_a_obj_wsStick, d_a_obj_onsenTaru OK (#2268)
* d_a_obj_wsStick, d_a_obj_onsenTaru OK

* d_a_obj_pdtile OK

* d_a_obj_stone equivalent

* d_a_npc_lf OK

* Z2SoundMgr OK

* Remove fixed nonmatching comment

* d_a_obj_kantera OK

* Remove unneeded header

* daMyna_c::deleteItem matching

* d_a_obj_crvsteel OK
2024-12-24 02:36:01 -08:00
TakaRikka ff5f31b844
kankyo_rain / obj_life_container mostly done, obj_glowsphere done (#2266)
* obj_life_container mostly done

* obj_glowSphere done

* kankyo_rain mostly done

* some cleanup

* more kankyo_rain cleanup
2024-12-18 20:02:52 +02:00
TakaRikka ee09fdf915
e_hzelda mostly done (#2258) 2024-12-06 16:47:30 +02:00
TakaRikka e510f33414
d_vibration / JUTGamePad matched + linked (#2256)
* d_vibration done

* JUTGamePad done

* cleanup JUTGamePad

* d_menu_window cleanup
2024-12-02 21:15:03 +02:00
TakaRikka 24b72a5302
some cleanup of f_pc/f_op files (#2254)
* cleanup f_pc files

* cleanup f_op files

* fix a couple f_op_actor_mng functions

* minor JSystem work
2024-11-29 18:24:26 +02:00
TakaRikka ebd7e3feed
d_error_msg mostly done, little Z2LinkMgr work (#2248) 2024-11-12 05:41:55 -05:00
Caroline Madsen f2a7b2a83a
J2DMatBlock work (#2247) 2024-11-11 22:31:37 +02:00
TakaRikka 650e1c44a4
work on d_a_movie_player (#2246)
* work on d_a_movie_player

* d_a_demo_item mostly done
2024-11-11 17:53:04 +02:00
TakaRikka aec7c1df12
d_demo mostly matched (#2242) 2024-11-10 05:18:28 -05:00
hatal175 d9201174e3
j2d/j3d work (#2241) 2024-11-10 04:53:09 -05:00
hatal175 bec20e3dd4
Work on various units, mostly d_menu_letter (#2240) 2024-11-09 13:20:06 -05:00
Caroline Madsen 98f8e7e741
d_a_midna mostly done (#2237) 2024-11-06 19:20:22 -08:00
Caroline Madsen 63abf9f6d2
JParticle mostly done (#2235) 2024-11-03 20:39:41 +02:00
Caroline Madsen 21cb60624a
J3DMatBlock, J3DMaterialFactory work (#2233) 2024-11-01 13:46:27 -07:00
Caroline Madsen 09423b6fa0
more misc. cleanup (#2232) 2024-10-31 17:36:11 -07:00
TakaRikka 36519ddf15
alink horse mostly done (#2229)
* d_a_horse work

* more work on alink horse

* finish alink horse

* little work on d_a_alink_link
2024-10-31 00:41:08 +02:00
TakaRikka b1d7bc9cc4
d_a_alink_effect mostly done (#2227)
* d_a_alink_effect work

* more d_a_alink_effect work

* some d_a_alink data cleanup

* d_a_alink_effect mostly done
2024-10-28 13:00:15 +02:00
Caroline Madsen 5650c7fe08
JAudio2 and Z2AudioLib work (#2223)
* JAudio2 and Z2AudioLib work

* check1stDynamicWave matched
2024-10-24 02:25:13 +03:00
Caroline Madsen 69dc7cbbf1
d_a_b_yo and d_a_b_yo_ice mostly OK (#2219) 2024-10-19 11:54:40 +03:00
TakaRikka 0652b2c7b3
obj_Iceleaf almost done / d_a_alink work (#2217)
* obj_iceleaf almost done

* fix up d_a_alink procvars

* more d_a_alink work

* some d_a_alink error cleanup

* some more cleanup
2024-10-19 11:54:22 +03:00
Caroline Madsen abc4c6659a
cleanup (#2216) 2024-10-17 14:24:29 -07:00
hatal175 38445f4d51
Work on d_a_title (#2215) 2024-10-17 14:21:08 -07:00
hatal175 ec07abb09b
Reintroduce missing changes from pull request #2200 (#2213)
* Reintroduce missing changes from pull request  #2200

* m_Do_audio OK
2024-10-16 12:41:21 -07:00
Caroline Madsen 9f58034704
J3D work (#2212) 2024-10-15 23:59:31 +03:00
Luke Street 0db466edfa
Add clangd support for VS Code (#2207)
* Add clangd support for VS Code

* Revert accidental change
2024-10-12 21:43:10 -07:00
TakaRikka 8514737d46
d_a_alink work / bump dtk version (#2205) 2024-10-12 15:11:17 -07:00
TakaRikka 12eb254d76
switch to dtk setup (#2203)
* switch to dtk setup

* some cleanup / fixes

* cleanup d_a_alink literals

* Restore doxygen, update CI & README.md (#1)

* Fix build image ref (#2)

---------

Co-authored-by: Luke Street <luke@street.dev>
2024-10-10 08:29:58 -06:00
Caroline Madsen 2fd702c0ac
d_menu_fmap and d_menu_fmap2D OK (#2202) 2024-10-07 15:34:13 -07:00
hatal175 f2ac35d738
J3DModelLoaderCalcSize + J2DScreen work (#2198)
* All literals functions in J2DScreen were matched

* Import J3DModelLoaderCalcSize work

* d_a_obj_rfHole OK

* Minor fixes for daVrbox2
2024-09-14 00:48:38 -07:00
hatal175 b7380e77d1
Work on JStudio (#2195)
* work on object-light

* JStage control OK

* object-fog OK

* object-camera OK

* Work on object-actor
2024-08-30 04:50:05 -07:00
hatal175 d3420ffe8d
jstudio particle and sound OK (#2194)
* Work on object-sound

* object-particle OK

* object-sound OK

* JStudio_JAudio2 control OK

* JStudio_JParticle control OK

* JStage object OK

* JStage ambient light OK
2024-08-22 13:17:24 -07:00
hatal175 18f4489dd6
d_particle almost finished (#2193)
* d_particle almost finished

* Remove dolasm.h include from JKRDvdRipper
2024-08-16 22:19:53 -07:00
hatal175 edd2d30a33
Work on d_msg_scrn_talk (#2192)
* Work on d_msg_scrn_talk

* Generate d_pane_class_ex virtual inlines
2024-08-14 13:50:36 -07:00
hatal175 0af6d632ce
Work on d_meter2_info (#2191) 2024-08-12 14:43:37 -07:00
hatal175 7894ea5140
Work on d_msg_scrn_item (#2188) 2024-08-09 20:23:17 -07:00
hatal175 106d72032c
Work on d_msg_object (#2186) 2024-08-07 03:18:30 -07:00
TakaRikka 6b8fda60f3
Lv5floorboard, Lv5icewall, obj_lv5swice, obj_lv5ychndlr done (#2175)
* lv5floorboard done

* obj_lv5icewall done

* remove asm

* obj_lv5swice done

* obj_lv5ychndlr done
2024-07-10 17:30:02 +03:00
hatal175 1c1e65bc4b
Work on J3DMatBlock (#2164) 2024-06-04 14:25:37 -06:00
TakaRikka 411a832fbb
d_a_e_vt mostly done (#2158) 2024-05-24 20:47:15 -06:00
TakaRikka fa325034fd
d_a_b_ob matched (#2155)
* all b_ob functions matching, not linked

* oops forgot a couple funcs

* fix some small errors

* some morpheel doc

* remove asm
2024-05-18 19:13:21 -06:00
TakaRikka 486e578065
d_msg_scrn_3select done (#2153)
* msg_scrn_3select done

* remove asm

* d_msg_scrn_jimaku done
2024-05-11 09:53:18 +03:00
TakaRikka e1147cf047
Kytag3 done (#2149)
* kytag3 done

* remove asm

* fix d_envse
2024-05-06 20:56:03 +03:00
TakaRikka b24b477fc4
d_a_tag_firewall done (#2137)
* mostly fix TVec3 ctors

* d_a_tag_firewall done

* remove asm
2024-04-21 15:27:47 +03:00
Pheenoh a61e3491f7
d_a_e_fz work, doxygen revamp (#2127)
* initial freezard actor struct + setActionMode OK

* daE_FZ_Draw

* setReflectAngle

* mBoundSoundset

* daE_FZ_Execute & execute

* demoDelete

* daE_FZ_Delete & _delete

* CreateHeap

* useHeapInit

* cc_set

* mtx_set

* action WIP

* way_gake_check

* executeRollMove

* executeMove

* draw WIP

* executeDamage

* checkpoint

* create

* checkpoint

* daE_FZ_c::executeWait

* checkpoint

* daE_FZ_c::damage_check almost done

* rm asm

* rm headers

* setup_profile WIP + doxygen update

* fix merge issues

* docs fix?

* fix2

* doxygen updates

* setup g_profile_E_FZ, profile setup script WIP

* update github actions

* update progress.md
2024-04-12 00:10:30 -06:00
Caroline Madsen 4d614bdf5b
JPABaseShape OK (#2125) 2024-04-09 08:15:03 +03:00
Caroline Madsen 73ead19443
work on d_a_npc_the and d_a_npc (#2120) 2024-04-04 16:05:50 -07:00
Trueffel 9f46b4bea2
Match all funcs in d_menu_ring (#2113)
* d_menu_ring OK but something is not matchin

* at least matching without NONMATCHING again

* add note

* some docs about items

* fix i_nameID and i_expID

* revert my setBlackWhite change

* remove unused asm

* update progress

* m_Do_graphic functions match but I'm not able to remove data
2024-03-30 22:45:15 +03:00
TakaRikka 25d51079a3
remove "duplicated" inlines (#2099)
* fix f_op_actor_mng inlines

* fix f_pc inlines

* fix d_a_alink weak func signatures

* fix d_com_inf_game inlines

* fix some more inlines

* fix rest of player inlines

* m_Do / JSystem inlines fixed

* fix upstream changes
2024-03-19 13:31:53 +02:00
Caroline Madsen 38e0f8927a
d_a_b_ds mostly done (#2098) 2024-03-17 15:53:08 -07:00
jdflyer df77eae2b3
Fix make game (#2097) 2024-03-15 00:35:29 -07:00
Trueffel 75dcb31980
d_menu_skill OK (#2096)
* d_menu_skill OK

* remove asm and update progress
2024-03-15 07:38:43 +02:00
TakaRikka e4d6e610f6
d_a_mirror done, d_a_ni 99% done (#2095)
* d_a_mirror done

* d_a_ni 99.9% done

* remove asm

* some d_a_ni doc

* progress
2024-03-14 08:28:01 +02:00
TakaRikka ba4847e9cc
d_a_shop_item, d_a_b_go, d_a_b_gos OK (#2085)
* d_a_shop_item OK

* d_a_b_go OK

* d_a_b_gos OK

* remove asm

* some work on d_a_b_oh / d_a_b_zant_sima

* d_a_startAndGoal done
2024-03-07 20:23:18 -07:00
TakaRikka 22e941fd8c
d_a_tbox2 done, f_op_actor_mng cleanup, cleanup fopAc_ac_c member names (#2084) 2024-03-04 18:33:13 -07:00
Caroline Madsen f1c0e88446
d_a_obj_cho OK (#2080) 2024-02-28 01:41:16 -08:00
hatal175 c471449d0e
d_menu_map_common OK (#2075) 2024-02-18 09:55:58 +02:00
hatal175 8164c34142
Work on d_menu_dmap (#2073)
* Move some J2DPicture inlines to header

* Work on d_menu_dmap

* JASBasicInst OK

* JASCalc cleanup
2024-02-16 18:22:01 -08:00
TakaRikka e1c5bdb539
d_a_e_yd_leaf and d_a_e_ph done (#2070)
* d_a_e_yd_leaf done

* d_a_e_ph OK

* remove asm

* some e_ph doc

* match dBgS_Acch, fix f_op_actor_mng weak funcs

* dBgS_Acch done

* cleanup dBgS Chk TUs

* d_a_obj done
2024-02-13 11:21:57 -07:00
Caroline Madsen d183f6593a
JAS work (#2069) 2024-02-11 07:29:35 +02:00
hatal175 df653e1d34
J2D work (#2068) 2024-02-10 05:45:24 +02:00
hatal175 9f38190f00
Work On JAudio (#2067)
* Match two JASTrack functions

* dsptask, JAISoundStarter OK. Other small matches

* Work on JAIStream

* Work on JAIStreamMgr

* Work on JAISeqMgr

* Formatting
2024-02-08 15:30:28 -08:00
Caroline Madsen a825c39d93
work on JASTrack (#2065) 2024-02-07 02:41:47 +02:00
hatal175 c19d9b02be
J3D work (#2064) 2024-02-06 07:04:35 +02:00
hatal175 e98d9c845c
Fix some JSUConvertOffsetToPtr issues (#2063)
* Fix some JSUConvertOffsetToPtr issues

* Match some J3DAnmLoader functions
2024-02-05 07:21:05 +02:00
hatal175 c4cd497fd6
Work on Z2EnvSeMgr (#2059) 2024-02-03 02:28:50 -08:00
Caroline Madsen 255cc868e4
work on Z2SoundMgr and Z2SeMgr (#2055) 2024-01-30 16:08:37 -08:00
hatal175 1c891adeb8
work on functionvalue (#2054) 2024-01-30 16:02:22 -08:00
Caroline Madsen 16259ec265
Z2SeqMgr mostly done (#2053) 2024-01-29 15:50:13 -08:00
Caroline Madsen 3470c4eb34
Z2Creature mostly done (#2049) 2024-01-26 18:11:28 -08:00
hatal175 1ea10fcc63
More jstudio work (#2048) 2024-01-25 14:50:55 -08:00
Caroline Madsen 4640b758c9
d_a_obj_cdoor OK, d_a_obj_wchain mostly done, work on d_a_alink_wolf (#2047) 2024-01-25 19:24:38 +02:00
TakaRikka ba44ade90c
more various JSystem work (#2046)
* most of J3DAnmLoader done

* J3D / JKernel / JUTConsole work

* remove asm

* fix build

* dol 50%
2024-01-24 14:00:46 +02:00
hatal175 b2310b84b6
A little work on jstudio (#2045) 2024-01-23 15:05:15 -08:00
TakaRikka 697cd08979
some various J2D/J3D work (#2043)
* most of J2DPicture done

* fix GXSetTexCoordGen

* some j3d work
2024-01-22 17:23:54 +02:00
hatal175 0228b4e03b
Work on d_msg_scrn_howl + misc (#2040) 2024-01-21 01:15:22 -08:00
TakaRikka 981cfe7283
almost all of dolphin matched (#2036)
* TRK full match

* remove trk asm

* ar done

* cleanup some dolphin headers

* more dolphin cleanup

* cleanup / GD fully matched

* almost all of GX fully matched

* GX / Mtx full matched

* most of OS done

* pad done

* most of VI

* remove asm

* forgot couple vec funcs

* couple JUtility matches
2024-01-20 02:22:19 +02:00
hatal175 ead852383f
Work on Z2AudioLib (#2032) 2024-01-13 05:41:29 -08:00
TakaRikka 6260020b3e
all d_ovlp_fade done (#2031)
* ovlp_fade / ovlp_fade2 done

* ovlp_fade3 done

* remove asm
2024-01-13 11:46:47 +02:00
TakaRikka 4bd825e76c
most of TRK done / some misc work (#2030)
* work on d_file_sel_warning

* various cleanup

* attempt to fix d_gameover

* event cleanup

* trk work

* most of TRK done

* remove asm
2024-01-12 18:43:52 -08:00
hatal175 f342bd7171
Import JASCmdStack, std-vector work, Z2StatusMgr OK (#2029)
* Import JASCmdStack

* Work on std-vector

* Z2StatusMgr OK
2024-01-11 01:16:40 +02:00
hatal175 28bef08667
Work on Audio, JAUSeqDataBlockMgr OK (#2027) 2024-01-08 15:19:07 -08:00
hatal175 a8a159ae2c
Various Matches, J2DTextBoxEx and J2DTevs OK (#2025)
* Work on src/d/bg

* misc work

* J2dTextBoxEx OK

* J2DTevs OK

* Better return values for bool
2024-01-08 12:10:05 +02:00
hatal175 d5d59471ea
Match most of d_msg_string_base (#2021) 2024-01-02 19:37:15 -08:00
TakaRikka dde6a466b1
kgate / d_meter_button / d_meter_haihai done, obj_ice_l wip (#2018)
* kgate OK, ice_l wip

* d_meter_button done

* remove asm

* d_meter_haihai done

* remove asm
2024-01-02 01:09:41 +02:00