Commit Graph

242 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
Ttobas b6febdc2b6
d_a_obj_shoe 91% (#2347)
* Basic structure done

* daNpcShoe_Param_c done, class cleaned a bit, ::Create matching, destructor matching

* WIP

* About 70% done

* Fix after merging main

* TU almost done, missing correct rodata ordering, constructor, setMotionAnim, __sinit not matching

* Fix: Apply suggestions

---------

Co-authored-by: Ttobas <anon@ym.ous>
2025-03-25 18:05:02 -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
hatal175 861e99c403
d_a_npc_cd2 work (#2336) 2025-03-20 22:59:58 -07:00
Caroline Madsen 15a807bb7b
e_rdy mostly done (#2324)
* e_rdy work

* e_rdy work

* e_rdy work

* e_rdy mostly done

* e_rdy fix hit direction
2025-03-12 16:02:03 -07:00
Caroline Madsen 3ad60c1b17
f_op_actor_mng matching (#2325) 2025-03-12 15:57:14 -07: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
TakaRikka e0824a1590
most of JHostIO / m_Do_hostIO done (#2288) 2025-01-19 22:05:53 -07: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
Trueffel 78d206c1a3
d_stage linked and one function in m_do_ext matched (#2272) 2024-12-29 17:56:25 +02:00
TakaRikka 0e281cb975
various matches / cleanup (#2271)
* cleanup various TUs

* checkpoint

* d_attention doc
2024-12-29 17:53:54 +02: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
hatal175 ee992eb80c
daObj_BouMato_c OK (#2264)
* daObj_BouMato_c OK

* daObjGraRock_c Matched except template function order

* daBkyRock_c OK
2024-12-12 12:58:40 -08: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 ebd7e3feed
d_error_msg mostly done, little Z2LinkMgr work (#2248) 2024-11-12 05:41:55 -05: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 083991a8d0
all d_a_alink functions attempted (#2239)
* more work on alink

* alink wip

* little more work

* setEyeMove

* 14 left

* auto ground hit

* all d_a_alink functions attempted
2024-11-09 05:09:36 -05:00
Caroline Madsen 98f8e7e741
d_a_midna mostly done (#2237) 2024-11-06 19:20:22 -08:00
TakaRikka 499d4dfe74
alink_grab done (#2234)
* work on alink grab

* some grab work

* grab almost done

* finish alink grab

* alink_wolf mostly done

* fix cLib_minMaxLimit

* alink guard mostly done

* extract some embedded assets

* extract grass data. wip, alignment wrong
2024-11-03 06:47:23 -05: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
hatal175 606178dc88
Work on daNpc_Hanjo_c (#2225) 2024-10-25 23:44:26 -07:00
TakaRikka 8a0802554e
d_a_alink work / lv4digsand done / e_s1 matched (#2224)
* d_a_alink work / d_a_obj_lv4digsand done

* d_a_e_s1 matched, not linked

* d_a_e_s1 documentation
2024-10-25 06:47:02 +03:00
hatal175 3dadc80c5e
d_a_obj_tp OK + other rels that matched almost as is (#2218)
* d_a_tag_yami OK

* d_a_tag_watchge matched as is

* d_a_tag_wara_howl matched as is

* d_a_tag_waterfall matched as is

* daTagTheBHint_c matched as is

* daZraFreeze_c Matched as is

* Revert nosyminline argument

* d_a_obj_tp OK
2024-10-19 02:01:46 -07: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
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
hatal175 106d72032c
Work on d_msg_object (#2186) 2024-08-07 03:18:30 -07:00
TakaRikka 6bf2f3cc55
some cc doc and obj_brg work (#2184)
* some cc doc

* document dCcD material types

* work on d_a_obj_brg
2024-07-22 12:33:37 -06:00
TakaRikka 6eca7a83b9
obj_lv5YIblltray done (#2173)
* d_a_obj_lv5yiblltray done

* remove asm
2024-07-07 21:31:29 +03:00
TakaRikka d923917b39
work on d_camera / d_ev_camera (#2170) 2024-06-25 08:34:59 -06:00
TakaRikka fcf137a902
d_a_nbomb mostly done (#2162)
* first pass of nbomb

* some nbomb doc

* remove asm
2024-05-29 07:44:15 -06:00
TakaRikka 411a832fbb
d_a_e_vt mostly done (#2158) 2024-05-24 20:47:15 -06:00
TakaRikka e1147cf047
Kytag3 done (#2149)
* kytag3 done

* remove asm

* fix d_envse
2024-05-06 20:56:03 +03:00
TakaRikka c36da6a366
kytag8 done, kytag12/13 almost (#2146)
* kytag08 done

* kytag13 almost, cleanup other kytags

* dakytag12 mostly done

* remove asm

* kytag10 done

* kytag01 done

* kytag0 done

* kytag04 done
2024-05-05 19:34:37 +03:00
Caroline Madsen 669c7d920b
d_a_npc_zra mostly done, misc npc work (#2140) 2024-04-26 19:20:26 -07:00
hatal175 ae4ef8e69d
daKnob20_c OK (#2132) 2024-04-15 17:26:26 -07: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
TakaRikka 483253ae43
b_bq done (except weak funcs) (#2110) 2024-03-28 08:49:59 +02:00
hatal175 14b18b4493
Match most of d_file_select (#2100) 2024-03-19 13:45:53 -07: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
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
Trueffel dd0fd674f9
d_a_obj_heavySw OK (#2091)
* match functions

* Match TU

* Cleanup

* remove asm and update progress
2024-03-10 13:50:28 +02:00
hatal175 f9a14b7c38
d_a_obj_swBall* work (#2086)
* d_a_obj_swBall* work

* ASSERT -> JUT_ASSERT
2024-03-09 08:46:03 +02: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 9774b42db8
d_a_obj_mirror_screw OK, work on d_a_obj_mirror_chain and d_a_obj_mirror_table (#2057) 2024-01-31 20:49:22 +02:00
TakaRikka 4a081109bd
d_a_no_chg_room / d_a_e_st_line done (#2056)
* no_chg_room done

* d_a_e_st_line done

* remove asm

* d_a_e_bi_leaf done

* d_a_e_hb_leaf done
2024-01-31 20:05:04 +02:00
TakaRikka 36a29bc4fe
various fixes / matches (#2052)
* some fixes in d/s, d_item, d_shop

* fix for dKankyo_DayProc weak generation

* d_cc_uty fix

* some d_name / d_com_inf_game / f_op_actor_mng matches

* fix some player inline virtuals

* remove asm
2024-01-29 17:39:51 +02:00