Commit Graph

230 Commits

Author SHA1 Message Date
elijah-thomas774 b8a31a642a fix pragma warning off/on (pop no work?) 2024-10-16 15:47:19 -04:00
Elijah Thomas 26af4db82d update from dtk-template - clangd :) (#66)
* update from dtk-template and start work towards using clangd

* include <a> -> "a"

* Update build.yml

* remove/add non-trivial class in union warning
2024-10-16 15:36:02 -04:00
robojumper 4543ec129e d_t_reaction, angle chaos edition (#56)
* d_t_reaction, angle chaos edition

* Fix

* prettier params

* fixup

---------

Co-authored-by: elijah-thomas774 <elijahthomas774@gmail.com>
2024-10-16 10:24:02 -04:00
Elijah Thomas b5aa43ff37 Misc Collision (#51)
* Initial Commit - Starting to translate from TP

* Collision Updates

* Actor Collision -> dBgW (DZB Collision)

* bg .text splits complete

* fix errors

* file organization

* missed files

* progress

* weee

* most of cM3dG

* Revert mAng change

* Progress

* Progress -> Need to update from main

* Fixup Merge

* d_bg_s symbols....

* TList Changes

* oops

* d_bg_s large progress

* d_bg_s_acch majority done

* d_bg_s_chk OK

* d_bg_s_gnd_chk OK

* d_bg_s_grp_pass_chk OK

* d_bg_lin_chk OK

* d_bg_s_poly_pass_chk OK

* d_bg_s_roof_chk and d_bg_s_sph_chk OK

* d_bg_s_spl_grp_chk OK

* d_bg_s_wtr_chk OK

* d_bg_w started

* d_bg_w_base OK

* name d_bg_w_kcol symbols

* d_bg_w_sv split/started

* most of d_bg_w_time

* stopping d_bg_w_kcol for now

* d_bg_w_sv OK

* work on d_bg_w_time

* revert TList to take offset arg

* fixup some compiler warnings

* set c_bg_w OK

* Update rel_sieve.py

* Remove TList Macros

* Bomb Header started
2024-10-16 09:00:47 -04:00
robojumper ec4d28cd25 Some dLytAreaCaption_c (#63) 2024-10-15 21:57:41 -04:00
robojumper bf79fa17fb Untangle eggAudio a bit (#61)
* Untangle eggAudio a bit

* eggAudioRmtSpeakerMgr with a regswap

* Fix eggAudioRmtSpeakerMgr (thanks Cuyler!)

* eggAudioUtility with two regswaps
2024-10-15 21:44:09 -04:00
robojumper 98f7e90125 Set up REL templates (#60)
* Fix .data sections misidentified as .rodata by dtk

dtk can't always reliably identify REL sections in its initial analysis.
This is a manual fix - the list of RELs to fix was found by looking
at supposed .rodata splits that contained an fBase vtable, since vtables
should be in .data. This fix is required for scripted creation of REL actors
based on rel .data

* More consistent d/t header paths

* Data fixups for parsing

* Tmp actor file setup

* Fixes

* Set up almost all REL templates

* formatting

* Fix formatting
2024-10-10 12:21:07 -04:00
robojumper 558db54bf4 eggException with two minor problems (#53)
* eggException with two minor problems

* Fix

* One minor problem

---------

Co-authored-by: elijah-thomas774 <elijahthomas774@gmail.com>
2024-10-06 16:36:36 -04:00
robojumper f8e61c7de8 More d/lyt (#52)
* More Lyt (maybe some wrong type associations)

* more meter

* Rename

* More splits and renames

* Fix SizedString conversion operators

* Renames

* dLytBattery_c almost OK

* d_lyt_battery OK

* diff clean

* Continue doing splits while I'm at it

* two more splits
2024-10-06 16:34:31 -04:00
robojumper 25d80826c7 d_t_touch OK (#54)
* d_t_touch OK

* Make inlines
2024-10-06 15:42:07 -04:00
robojumper 8376edcc72 d_t_ship_window "OK" (#55) 2024-10-06 15:41:07 -04:00
robojumper b83c0d5fd2 d_a_obj_pumpkin_leaf OK (#58) 2024-10-06 15:39:55 -04:00
robojumper 5980549e98 d_a_obj_stage_cover OK (#59) 2024-10-06 15:39:08 -04:00
robojumper 1870130742 Libms setup (#50) 2024-10-03 23:09:25 -04:00
Elijah Thomas dc221b4795 Misc Egg (#37)
* EGG: Archive, DvdFile, DvdRipper

* start eggStream

* FrmHeap and AssertHeap OK

* progress on EggController

* port in WPAD stuff

* update WPAD/WUD/KPAD/SC symbols

* eggController OK

* bytematch more CoreController virtual funcs

* eggDecomp/eggStreamDecomp Ok

* eggDvdRipper OK

* EGG gfx splits

* Finished Splitting EGG

* create egg Files

* eggDecomp.h -> eggStreamDecomp.h

* Revert some format changes
2024-10-01 20:24:25 -04:00
robojumper eae2d7a2bf Fix some compiler warnings (#44) 2024-10-01 08:55:30 -04:00
robojumper 4d9a0d6390 d_fader OK (#46) 2024-10-01 08:55:07 -04:00
robojumper d75f4c92ef d_heap OK (#47)
* d_heap OK

* wibo workaround
2024-10-01 08:48:49 -04:00
robojumper 4d9806f2fc Some game UI basics (#25)
* start with dLyt stuff, dLytFader_c

* Some game UI basics

* More progress

* Move and format files

* Proper outlining

* Fix build

* More cleanup

* Correct inlining behavior

* Fix some symbols

* Compiler downgrade required for some funcs.

* fixup vtable

* one line that was somehow missed

---------

Co-authored-by: elijah-thomas774 <elijahthomas774@gmail.com>
2024-09-30 00:02:30 -04:00
robojumper ed4aa23119 d_rawarchive followups (#42)
* d_rawarchive followups

* symbols hygiene

* Add Egg function
2024-09-29 20:34:33 -04:00
robojumper 392145bf3d d_a_obj_appear_bridge mostly matching (#36)
* d_a_obj_appear_bridge - weak function order issue

* Mark as nonmatching for now

* Name unk IScnObjCallback funcs

---------

Co-authored-by: elijah-thomas774 <elijahthomas774@gmail.com>
2024-09-27 20:32:48 -04:00
robojumper 1039b3b239 d_t_fairytag OK (#39)
* d_t_fairytag OK

* fixup header guard

---------

Co-authored-by: elijah-thomas774 <elijahthomas774@gmail.com>
2024-09-27 20:18:02 -04:00
robojumper 64711cd474 d_a_obj_bamboo_island OK (#38) 2024-09-27 20:09:52 -04:00
robojumper d35fb6db76 Attention (#35)
* attention

* Header

* These were meant to be public

* fixup merge

---------

Co-authored-by: elijah-thomas774 <elijahthomas774@gmail.com>
2024-09-27 20:01:18 -04:00
robojumper 3829ee6d48 Rough dynamic collision setup (#24)
* Rough collider shape setup

* d_a_obj_toD3_stone_figure OK

* Cleanup

* Cleanup 2
2024-09-27 18:19:00 -04:00
robojumper 0f9ef3d33c Some main dol actor splits, dAcOsw_c OK, dTgSw_c OK (#34)
* Some main dol actor splits and code

* Match dAcOsw_c

* diff clean

* Fix

* dTgSw_c OK
2024-09-25 18:34:35 -04:00
robojumper 2d05a828fc d_a_obj_pool_cock OK (#33)
* d_a_obj_pool_cock OK

* Reinstate the FPR matrix copy but explicit

* create Vortex Obj to reference

---------

Co-authored-by: elijah-thomas774 <elijahthomas774@gmail.com>
2024-09-25 18:21:31 -04:00
robojumper 508d5b9e72 Actor cleanup (#32)
* Actor cleanup

---------

Co-authored-by: elijah-thomas774 <elijahthomas774@gmail.com>
2024-09-15 15:40:03 -04:00
Elijah Thomas 732a119127 Nw4r splits (#28)
* snd / math / g3d
2024-09-15 14:55:25 -04:00
robojumper 2f7ceff5b1 d_a_obj_junk_repairing OK (#27)
* d_a_obj_junk_repairing OK

* Fix rel_sieve with multi-file RELs
2024-09-15 14:54:45 -04:00
robojumper 63365331d8 d_t_time_area_check OK (and some dTimeAreaMgr) (#29) 2024-09-15 14:52:25 -04:00
robojumper 24e10d2755 d_t_mole_prohibit OK (#31) 2024-09-15 14:48:50 -04:00
robojumper 947c2d5b31 d_t_noeffect_area OK (#30) 2024-09-15 14:48:31 -04:00
robojumper 3b8392aeac Largely match m_shadow (#20)
* Largely match m_shadow

---------

Co-authored-by: elijah-thomas774 <elijahthomas774@gmail.com>
2024-09-13 14:51:33 -04:00
robojumper 5aa30927ff m2d (#22)
* m2d

---------

Co-authored-by: elijah-thomas774 <elijahthomas774@gmail.com>
2024-09-12 22:01:40 -04:00
robojumper 1180e1f486 m3d (#13)
* Initial M3d Pass
* `m_bmdl` and `m_bline` left

---------

Co-authored-by: elijah-thomas774 <elijahthomas774@gmail.com>
Co-authored-by: Elijah Thomas <42302100+elijah-thomas774@users.noreply.github.com>
2024-09-12 16:36:34 -04:00
robojumper e2c4bb7be7 Dowsing (#17)
* Dowsing.

* d_t_dowsing

* d_t_holy_water OK
2024-09-12 16:23:11 -04:00
elijah-thomas774 3740623679 a lot closer + Some updates 2024-08-27 10:48:50 -04:00
robojumper b4484db5d9 sLib math some other guessed things 2024-06-29 16:56:11 +02:00
robojumper 4afb9d6e16 sLib math, known symbols edition 2024-06-29 12:36:03 +02:00
robojumper 25015d8e9e Merge pull request #7 from robojumper/m_fader
m_faders
2024-06-28 00:00:41 +02:00
robojumper 7ee98771cd Merge pull request #6 from robojumper/d_font_manager
d_font_manager
2024-06-27 23:59:59 +02:00
robojumper 8acccafbb2 Merge pull request #3 from robojumper/mAng_flindba
Fix mAng3_c copy assignment, clean up list node templates
2024-06-27 23:42:48 +02:00
robojumper 446df060f2 Fix some compiler warnings 2024-06-26 20:28:09 +02:00
robojumper e296019657 mColor can extend ut::Color 2024-06-26 20:08:59 +02:00
robojumper 58483211c9 Move actor ref header somewhere more appropriate 2024-06-25 20:11:44 +02:00
Aiden 4d9e6d7fcc Match EGG::Heap 2024-06-21 13:52:01 -04:00
robojumper 3be14367f8 Drop unused comment 2024-06-21 00:42:37 +02:00
robojumper a856aa5db5 Fix one angle problem 2024-06-21 00:41:59 +02:00
elijah-thomas774 c33d392f93 create d_a_t_wood_area header 2024-06-21 00:36:44 +02:00