Commit Graph

54 Commits

Author SHA1 Message Date
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 7f863c069b d_a_npc_chin matching (#2822) 2025-11-18 21:10:04 -08:00
LagoLunatic 9eea9289b1 Fix JUT_ASSERT and several other macros (#2711)
* Fix JUT_ASSERT to be a nested define

* Switch names that appear in asserts to be constants instead of defines

* Replace `0` in asserts with `NULL` or `FALSE`

* Fix fpclassify

* Fix ARRAY_SIZE

* Use G_CM3D_F_INF

* More fixes for fpclassify

* Remove FLOAT_LABEL

* Remove incorrect FLAG_ON macro

* Remove UNK_BSS macro

* Silence clangd unused header warning for PCH
2025-09-28 13:11:07 -07:00
Max Roncace 11ebeb3fe0 Link all oustanding US-matched TUs for JP (#2671) 2025-09-19 21:32:05 +03:00
Max Roncace 513816ce5c Add a precompiled header for RELs (#2597) 2025-08-24 09:52:08 +03: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
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
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 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
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 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
TakaRikka 772a04851c d_timer / d_bright_check done (#2034)
* d_bright_check mostly fixed

* d_timer done

* remove asm
2024-01-17 13:04:43 +02:00
Pheenoh 7fd7d0c1f3 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
Jcw87 221f40e609 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
Jcw87 4a29d25e65 improve const correctness (#325) 2023-04-29 17:32:56 -07:00
TakaRikka bf663a0e3d d_a_kytag06 fully done / d_msg_class/object work (#300)
* d_a_kytag06 OK and d_msg_class/object wip

* add some GXDraw functions

* cleanup kytag6

* remove asm
2023-02-25 18:23:13 -08:00
TakaRikka d0b62fd83f d_door_param2 / d_cam_param / d_gameover + some misc cleanup 2023-01-27 15:12:42 -08:00
Pheenoh 02975d1764 rm types 2022-12-22 16:12:32 -07:00
Pheenoh 7754b252fc dDlst_TimerScrnDraw_c::getNumber 2022-12-22 16:02:42 -07:00
Pheenoh 9430a5aa60 dDlst_TimerScrnDraw_c::getNumber 2022-12-22 15:52:44 -07:00
Pheenoh a4911a8c7d dTimer_c::end 2022-12-22 15:27:33 -07:00
Pheenoh a15c20dcd7 dTimer_c::restart 2022-12-22 14:36:27 -07:00
Pheenoh 9d049c1549 dTime_c::stock_start attempt again 2022-12-22 13:49:29 -07:00
Pheenoh 07c9f3234b dTimer_c::_draw 2022-12-22 13:32:41 -07:00
Pheenoh 07419c7e9f dTimer_isReadyFlag 2022-12-22 13:10:09 -07:00
Pheenoh 90ac790694 dTimer_show and dTimer_hide 2022-12-22 13:07:26 -07:00
Pheenoh dd8a1ca27f dTimer_getRestTimeMs 2022-12-22 13:03:11 -07:00
Pheenoh 861541a4d2 dTimer_isStart 2022-12-22 13:02:32 -07:00
Pheenoh 4d77ac57d2 dTimer_createStart2D 2022-12-22 12:58:10 -07:00
Pheenoh cf04f10a83 dTimer_createGetIn2D 2022-12-22 12:31:19 -07:00
Pheenoh a2c1e7afaf dTimer_createStockTimer 2022-12-22 10:36:47 -07:00
Pheenoh d3ef35d560 dTimer_Create 2022-12-22 08:10:03 -07:00
Pheenoh 2764ca7bec dTimer_Draw 2022-12-22 08:06:17 -07:00
Pheenoh 8518811226 dTimer_c::isStart 2022-12-22 01:25:35 -07:00
Pheenoh 09cf836d6e dTimer_c::getTimeMs 2022-12-22 00:57:43 -07:00
Pheenoh 995d81d7ea dTimer_c::getLimitTimeMs 2022-12-22 00:46:31 -07:00
Pheenoh 538c1d2214 dTimer_c::deleteRequest 2022-12-22 00:37:31 -07:00
Pheenoh 282b2a33f4 dTimer_c::stop 2022-12-22 00:36:10 -07:00
Pheenoh 42d6d8c0bf dTimer_c::stock_start (no param) attempt 2022-12-22 00:30:04 -07:00
Pheenoh c4ed589f23 dTimer_c::stock_start 2022-12-22 00:03:31 -07:00
Pheenoh 5e997de2c1 dTimer_c::deleteCheck 2022-12-21 23:57:09 -07:00
TakaRikka 36e62e0b80 npcT / JUTGamePad work 2022-05-28 03:49:55 -07:00
TakaRikka 9ba9d7c06c d_model / d_simple_model / d_stage + cleanup (#181)
* d_model / d_simple_model / cleanup

* d_stage work

* set up saveHIO / remove asm

* d_a_itembase
2022-02-19 14:22:47 +01:00
Julgodis 0ad6ebe7b4 moved strings + decompile simple store functions 2021-04-10 07:02:38 +02:00
Julgodis 2661db6aaa auto decompile more functions 2021-04-08 21:05:48 +02:00
Julgodis a23a106399 demangle data-symbols 2021-04-08 01:47:05 +02:00
Julgodis dca1d2a1c0 detect more floats/doubles, including from relocations 2021-04-07 09:16:47 +02:00
Julgodis ed1ee30dd2 building RELs 2021-04-06 18:00:35 +02:00
Julgodis f6464a61ce __sinit and progress script update 2021-04-01 02:07:58 +02:00
Julgodis b999714187 .dead section fix 2021-03-31 23:22:38 +02:00