Commit Graph

101 Commits

Author SHA1 Message Date
LagoLunatic ae9fa8922a
Work on weak function ordering (#2917)
* Fix functionvalue weak func order

* Add script to help diffing weak function order

* Improve alink weak func order (44 -> 15)

* Improve m_Do_ext weak order (12 -> 7)

* Remove old hack

* Fix d_a_tbox weak func order

* Fix d_a_npc_ks weak func order

* Fix error when trying to diff weak func order for ShieldD due to hidden function alignment gap symbols
2025-12-05 18:46:58 -08:00
TakaRikka a6e76c0841
project cleanup (#2895)
* some wii OS fixes

* remove old dol2asm comments

* remove dol2asm.h

* remove function address comments

* normalize ATTRIBUTE_ALIGN usage

* DECL_WEAK macro

* fix gcc attribute weak macro

* wrap more mwcc specific things in ifdefs

* fixes

* fix revo sdk version flags

* fixes
2025-11-30 15:23:42 -07:00
Max Roncace 9f76ba2f69
d_a_npc debug work (#2863)
* Remove d_a_npc3.cpp

This file appears to not actually be real and the asserts in its
functions all reference d_a_npc2.cpp instead.

* d_a_npc debug almost matching
2025-11-25 22:32:01 +02:00
roeming 6f7457a870
add debug functionality to d_a_horse, match almost all functions (#2834)
* add debug functinality to d_a_horse, match almost all functions

* fix some wii funcs

* fix wii build
2025-11-20 14:41:52 -08:00
LagoLunatic ba7cdd4fe9
Debug work + some retail regalloc fixes (#2787)
* Debug work + some retail regalloc fixes

* Use AUDIO_INSTANCES in places it's missing, link d_a_e_bee

* Link m_Do_machine

* Fix clang putting other includes before the pchs

* Link some more debug TUs that already match
2025-11-09 11:43:14 -08:00
TakaRikka 73927f50a9
kankyo / m_do_ext debug stuff (#2759)
* kankyo debug work

* finish draw packets
2025-10-28 05:55:46 +02:00
TakaRikka 9155add1f6
d_a_npc_blue_ns mostly done (#2747)
* d_a_npc_blue_ns mostly done

* d_a_obj_poCandle / d_a_obj_poTbox done
2025-10-21 21:33:59 +03:00
TakaRikka 850fae1aa3
m_Do_main / f_ap_game / f_op_actor debug work and misc (#2744)
* m_Do_main / f_ap_game debug stuff

* revolution sdk compatibility

* f_op_actor debug work

* rename fopAcM_SetupActor to fopAcM_ct

* fix build

* fix jp/pal splits
2025-10-19 20:30:49 +03:00
LagoLunatic 6242aa6e84
Misc matches and fixes (#2703)
* Match mDoExt_morf_c::getPlayMode

* Misc cleanup

* Fix actor cull spheres

* Match daPy_py_c::getLastSceneSwordAtUpTime, JUTGamePad::testTrigger

* Fix improper demangling of dBgS_SphChk::SetCallback

* Fix d_camera rangef weak func order

* Match more alink_wolf funcs
2025-09-26 18:50:46 -07:00
Max Roncace fe5e8aff98
More miscellaneous TU improvements (#2665) 2025-09-17 15:01:59 +03:00
TakaRikka e7477b5048
Lv4railwall / lv4sand / lv4slidewall done. fix wii build (#2637)
* lv4railwall / lv4sand / lv4slidewall done and wii build fix

* fix Mtx** parameters

* add some notes about wii compiler version

* Remove dol2asm include

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-09-09 17:30:32 +03:00
Max Roncace 41c72dc6d9
d_a_e_hp almost matching (#2585) 2025-08-15 12:50:49 +03:00
Carco_21 4ade12fd64
d_a_npc_coach work (#2579)
* data and class member work

* inline work

* got to SetCoachBlazing

* work on some calc functions

* all functions worked on

* pr cleanup

* more pr cleanup

* coach header cleanup
2025-08-12 20:54:06 +03:00
Carco_21 b67414ef1a
d_a_demo00 work (#2525)
* Initial work

* Got to ke_control

* draw function

* tiny execute work

* all functions worked on

* PR cleanup

* Took out static keyword for dDemo_setDemoData
2025-07-11 02:16:30 +03:00
Max Roncace 5bdf8bb50e
m_Do_ext almost matching (#2500) 2025-06-26 18:10:50 +03:00
Max Roncace 12ee8c9fb7
d_a_npc_henna equivalent (#2473) 2025-06-03 23:31:22 +03:00
TakaRikka 54dd764096
GCN pal / jpn support, some debug work (#2375)
* d_save debug cleanup / d_s_menu debug

* gameinfo / kankyo struct debug fixes

* pal building ok

* jp building ok

* some tests with jp

* some more pal/jp tests
2025-04-06 21:08:25 +03: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
hatal175 861e99c403
d_a_npc_cd2 work (#2336) 2025-03-20 22:59:58 -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 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
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 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
Caroline Madsen 09423b6fa0
more misc. cleanup (#2232) 2024-10-31 17:36:11 -07: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
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
TakaRikka 6eca7a83b9
obj_lv5YIblltray done (#2173)
* d_a_obj_lv5yiblltray done

* remove asm
2024-07-07 21:31:29 +03:00
TakaRikka 411a832fbb
d_a_e_vt mostly done (#2158) 2024-05-24 20:47:15 -06: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
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
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
Caroline Madsen 69328d71ed
d_a_obj_bsGate, d_a_obj_window OK (#2041)
* d_a_obj_bsGate, d_a_obj_window OK

* MInor fixes
2024-01-23 14:42:38 +02:00
hatal175 68e857b4da
Match most of d_attention (#2016)
* Make decompctx work with MSL includes

* Match most of d_attention
2023-12-29 21:59:33 +02:00
hatal175 cce0130025
Work on d_a_mg_fshop (#2006) 2023-12-18 01:24:15 +02:00
TakaRikka 9ff0f5029f
most of d_a_alink_wolf done / some misc (#1993)
* wip on alink_wolf

* setup procvar unions

* most of d_a_alink_wolf done + some misc
2023-11-27 13:14:06 +02:00
hatal175 c31a6f988c
Some work on m_do_ext (#1988)
* Some work on m_do_ext

* Work on m_do_ext
2023-11-17 23:02:12 -08:00
Caroline Madsen 30d9eaa052
work on d_a_tbox (#1971)
* d_a_tag_evtarea mostly done, work on d_a_npc

* work on d_a_npc_ash

* work on Z2SoundHandles

* Z2SoundObject, JAUSoundAnimator OK

* Update Progress.md

* work on d_a_tbox
2023-11-02 19:35:31 +02:00
Jcw87 3fa422caac
m_Do_ext (#1958) 2023-10-10 23:40:37 +03:00
TakaRikka 6deaa22a19
d_a_npc / d_a_tag_mhint / d_a_grass work (#1916)
* some npc work / cleanup

* tag_mhint / grass work

* fix path / remove asm
2023-09-07 21:22:55 -07:00
TakaRikka 023bd31883
obj_mirror_6pole / obj_mirror_sand / obj_myogan OK, obj_hbombkoya wip (#1901)
* obj_mirror_6pole / obj_mirror_sand OK. d_bg_w vtables fixed

* obj_myogan OK, obj_hbombkoya mostly done
2023-08-30 16:33:56 +03:00