Commit Graph

79 Commits

Author SHA1 Message Date
LagoLunatic b3849f228a Regalloc/debug/misc fixes (#2794)
* Fix "0" asserts

* More debug and regalloc fixes

* Fix PTMF syntax for compatibility with other compilers

* Fix some fakematches, link more TUs for J/P
2025-11-10 18:25:00 -08:00
TakaRikka 7ef1810132 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
hatal175 cefa7dedb8 d_a_e_yh OK (#2727) 2025-10-06 20:23:08 -07:00
LagoLunatic d11c4ac8a9 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
LagoLunatic b142c9493b Use composition instead of inheritance for most f_op classes (#2700) 2025-09-25 12:57:15 -07:00
Carco_21 b26f66b11f d_a_e_zm matching (#2638)
* initial work

* a little more work

* matching

* pr cleanup

* changed 'subtype' to 'argument'

* fixed debug error
2025-09-10 01:53:13 +03:00
TakaRikka 5fce8ea1e1 scannon / scannon_crs / scannon_ten done (#2632)
* scannon done

* scannon_crs done

* scannon_ten done

* pr

* attention debug stuff

* attn flags

* fix build
2025-09-08 12:01:20 +03:00
Max Roncace 92f22fea1d d_a_e_kr equivalent (#2549) 2025-07-24 09:13:55 +03:00
Stbn-antier 37ff7ddf61 d_a_e_po 99% Matching (#2517)
* anm_init and nodeCallBack, need to review nodeCallBack as weird code

* First pass on class, 86% match

* Cleanup for PR, still work to do

* Solve error after pull

* Clangd format

* Adressing PR comments

* Update l_HIOInit

* Fix debug building, 60% match on debug :')
2025-07-15 23:35:50 +03:00
Carco_21 1230f680db d_a_e_mf equivalent and d_a_e_dn work (#2492)
* Tiny start on d_a_obj_gra2

* Initial work

* Solid work done

* More work

* work on some rolling functions and deme camera

* Almost all functions worked on

* All functions worked on

* Fixed some BaseNpc functions I broke

* PR Cleanup

* PR cleanup part 2

* Worked on create function

* Worked up to search_bomb

* Work on various action functions

* Almost all functions worked on

* d_a_e_mf equivalent

* Started copying over to d_a_e_dn

* d_a_e_dn almost equivalent, e_mf cleanup

* somehow accidentally took out something from gra2 in a previous commit

* Fixed data layout issue in d_a_e_dn

* PR cleanup

* Took out fopen_enemy_c inheritance
2025-06-21 00:14:52 +03:00
hatal175 4dfd9b9f3c d_a_npc_worm matching (#2365)
* d_a_npc_worm matching

* Rename a_this
2025-03-31 18:30:42 -07:00
TakaRikka e6b07b81e4 d_a_b_mgn equivalent (#2363) 2025-03-31 19:43:11 +03:00
Carco_21 02f136235c d_a_b_mgn (Dark Beast Ganon) (#2348)
* Started work on d_a_b_mgn

* Finished some of the smaller functions

* A lot of work on the set_Effect methods

* Work on CreateHeap

* Work on calcBloodMove

* Work on setHideSmokeEffect and _delete

* damage_check at 50%

* demo_skip 94% matching

* Work on some execute functions and a couple others

* Worked on last few functions and general cleanup

* Cleanup for pull request

* Last few pr review comments addressed
2025-03-27 15:45:21 -07:00
TakaRikka 90c07136bd b_gnd equivalent (#2340)
* b_gnd equivalent

* fix dEvt_info_c inlines

* fix some more inlines
2025-03-23 21:55:28 +02:00
LagoLunatic 0ff06d2974 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 f5a6f4b101 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
TakaRikka 0894b6ef34 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
TakaRikka 073992df8d 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 bed1416897 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 5935a0f308 d_a_alink work / bump dtk version (#2205) 2024-10-12 15:11:17 -07:00
TakaRikka 178194ccb2 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 4a308d96c3 obj_lv5YIblltray done (#2173)
* d_a_obj_lv5yiblltray done

* remove asm
2024-07-07 21:31:29 +03:00
TakaRikka 2f689ced90 work on d_camera / d_ev_camera (#2170) 2024-06-25 08:34:59 -06:00
TakaRikka 37e0e78067 d_a_e_vt mostly done (#2158) 2024-05-24 20:47:15 -06:00
TakaRikka 06ba045f1d d_a_obj_item done (#2150)
* d_a_obj_item 99% done

* item cleanup

* remove asm

* add actor attention dist type enum

* change dist_entry names slightly
2024-05-08 07:21:07 +03:00
Caroline Madsen 4470362209 d_a_e_yc OK (#2143) 2024-05-01 09:16:22 +03:00
hatal175 c8e3bde185 Fix some issues in d_a_e_fz (#2128) 2024-04-12 07:27:01 -06:00
Pheenoh 7154ac08e1 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 4de657439d b_bq done (except weak funcs) (#2110) 2024-03-28 08:49:59 +02:00
Caroline Madsen 6b92f9daae d_a_b_ds mostly done (#2098) 2024-03-17 15:53:08 -07:00
TakaRikka dede32dbc9 d_a_tbox2 done, f_op_actor_mng cleanup, cleanup fopAc_ac_c member names (#2084) 2024-03-04 18:33:13 -07:00
Jeff Padgham 2daeea621c d_a_tag_kago_fall OK (#2081)
* WIP, about half done

* Decomp OK

* Some more cleanup and first documentation pass

* Cleaning up unused asm

* Fixing static msg object access and a bit more cleanup

* Updating progress

---------

Co-authored-by: GinNoOokami <noreply>
2024-03-01 14:41:50 -08:00
TakaRikka 406d8f9753 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 bbacd1a0e8 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
TakaRikka 7d0a02de52 work on daAlink horse, hvyboots, cut (#1981)
* work on alink_cut, alink_horse, alink_hvyboots

* remove asm
2023-11-08 15:52:54 +02:00
TakaRikka 89ed2b8a26 k_wmark / k_wpillar OK, fop actor enums / debug building (#1946)
* d_k_wmark / d_k_wpillar OK

* make debug buildable / add assert functionality

* add more fop actor enums

* remove asm
2023-09-28 12:01:42 -07:00
Jcw87 18710b9767 Fixes for other compilers (#1912)
* remove invalid virtual keywords

* remove duplicate inline

* remove leading 0 in character literals

* add missing public keywords

* fix some struct/class mismatches
2023-09-04 17:17:51 -06:00
TakaRikka 0e293608ac obj_magLiftRot mostly done, obj_suisya / obj_tgake OK (#1895)
* obj_magLiftRot mostly done, obj_suisya / obj_tgake OK

* remove asm
2023-08-24 12:05:11 +03:00
Pheenoh f9380b3e05 d_a_obj_carry work, SETUP_ACTOR macro, header cleanup (#1885)
* d_a_obj_carry work, SETUP_ACTOR macro

* rm headers, add script

* progress

* macro rename, consistent spacing
2023-08-16 12:07:52 -07:00
Pheenoh 052e5aee09 d_a_tag_bottle_item OK, d_a_tag_chgrestart work (#1878)
* d_a_tag_chgrestart

* d_a_tag_bottle_item

* deps fix
2023-08-13 05:03:43 -06:00
hatal175 924e757454 Match some nonmatching in d_map_path_dmap (#377)
* Match some nonmatching in d_map_path_dmap

* Match daDsh_c::create
2023-07-19 12:25:45 -07:00
TakaRikka 04fc6d21fb d_a_disappear / d_a_kytag16 OK 2023-06-30 16:33:01 -07:00
TakaRikka 4433f4170b d_a_talk almost done 2023-06-27 16:14:31 -07:00
Jcw87 4346df764b Remove #includes from headers (#334)
* add "global.h" to files that use it

* add MSL_C includes to files that use them

* remove dolphin includes from headers that don't need them

* remove JSupport includes from headers that don't need them

* remove JKernel includes from headers that don't need them

* remove JUtility includes from headers that don't need them

* remove J3D includes from headers that don't need them

* remove J2D includes from headers that don't need them

* remove JAudio2 includes from headers that don't need them

* remove Z2AudioLib includes from headers that don't need them

* remove JMessage includes from headers that don't need them

* remove JParticle includes from headers that don't need them

* remove SComponent includes from headers that don't need them

* remove dol includes from headers that don't need them

* sort includes
2023-05-12 12:10:14 -07:00
hatal175 424f62c02c Do some work on f_op_actor_mng (#328)
* decompctx - try without shiftjis and write utf8 as output

* Do some work on f_op_actor_mng

* Remove duplicated includes

* Add fopAcM_setEffectMtx

* Match dShopSystem_searchCameraActor

* fopAcM_setEffectMtx now matches with literals

* Remove unnecessary inline in headers
2023-05-08 15:10:22 -07:00
TakaRikka 694169c16c d_a_vrbox / d_a_kytag02 / d_a_obj_eff OK (#327)
* d_a_vrbox / d_a_kytag02 / d_a_obj_eff OK

* some std header setups

* f_pc / profile cleanup

* setup cull data

* remove asm

* d_a_suspend OK
2023-05-05 16:17:19 -07:00
Pheenoh e52a5af069 d_file_select, JASResArcLoader, d_a_obj_stone, d_a_obj_stone_mark (#309)
* setup TU

* JASResArcLoader OK

* d_a_obj_stoneMark work

* some funcs in d_a_obj_stoneMark

* many changes

* quat, d_a_obj_stone, d_a_alink, fix python script, tidy makefile

* d_file_select functions + pr cleanup
2023-03-17 21:05:06 -06:00
Pheenoh f692bc5331 d_a_e_yk 23/26 matched (#301)
* setup TU

* daE_YK_HIO_c::daE_YK_HIO_c

* anm_init

* daE_YK_Draw

* pl_check

* damage_check

* action

* daE_YK_Delete

* fly_move

* e_yk_roof

* useHeapInit

* e_yk_wind

* e_yk_chance

* e_yk_return

* e_yk_fly

* e_yk_wolfbite

* e_yk_fight

* e_yk_attack

* e_yk_path_fly

* daE_YK_Execute and daE_YK_Create and float literal prep

* pr cleanup

* rm padding
2023-02-25 21:25:55 -07:00
TakaRikka e3dd222948 d_a_crod almost fully OK (#270) 2023-02-05 08:09:29 -07:00
TakaRikka fadd6067d4 d_a_obj_cboard / finish f_op_actor / rels cleanup (#268)
* d_a_obj_cboard / finish f_op_actor / clean up some rel files

* rename some actor vars / remove asm

* progress
2023-02-03 21:24:26 -07:00