Commit Graph

85 Commits

Author SHA1 Message Date
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 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 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 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
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 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
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 58483211c9 Move actor ref header somewhere more appropriate 2024-06-25 20:11:44 +02: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
robojumper 705703e10b Fix mAng3_c copy assignment, clean up list node templates 2024-06-21 00:36:44 +02:00
robojumper b3e23c3f94 d_font_manager 2024-06-21 00:36:10 +02:00
robojumper d0668421e6 d_t_sound_area_mgr 2024-06-15 11:48:21 +02:00
Elijah Thomas 293423bdcf Merge pull request #54 from robojumper/dAcTWoodArea_c
A bit of dAcTWoodArea_c
2024-06-14 20:03:29 -04:00
elijah-thomas774 a3ebf1e133 closer, just executeState_Wait left 2024-06-14 20:00:40 -04:00
Elijah Thomas 5dca93893d Merge pull request #53 from robojumper/d_t_sound_area
Basically give up on d_t_sound_area
2024-06-14 19:01:45 -04:00
robojumper bc799932f2 A bit of dAcTWoodArea_c 2024-06-14 17:09:28 +02:00
elijah-thomas774 e7a7f794d4 Progress 2024-06-09 23:46:43 -04:00
Elijah Thomas 2840615973 Merge pull request #52 from robojumper/d_t_timer
d_t_counter
2024-06-09 22:53:17 -04:00
Elijah Thomas 0b57c4bd80 Merge pull request #50 from robojumper/state_system
Port and match the NSMBW state system, match 1½ RELs with that state system
2024-06-09 22:48:10 -04:00
elijah-thomas774 70dbbb1cb1 added macro for declaring state manager (used for annoying dummy funcs) 2024-06-09 22:47:44 -04:00
robojumper 4e77023d7b Basically give up on d_t_sound_area 2024-06-09 00:07:28 +02:00
robojumper ce606a10e4 d_t_counter 2024-06-08 20:10:52 +02:00
robojumper 5d9ca41e21 Fix return types 2024-06-02 01:03:41 +02:00
robojumper 892a040a97 oarc_manager 2024-06-02 00:06:17 +02:00