Commit Graph

64 Commits

Author SHA1 Message Date
robojumper e9ab25fe26 dAcOtrapRock1_c OK (#93)
* dAcOtrapRock1_c but it's angles again

* dAcOtrapRock1_c OK (thanks LagoLunatic and Zeldex!)
2024-11-07 12:26:18 -05:00
robojumper aaf88fa648 Clean up special item drop mgr (#87)
* Clean up special item drop mgr

* Progress

* Mostly matching

* Docs
2024-11-06 16:43:27 -05:00
Elijah Thomas c235e32d95 d_a_obj_tumble_weed mostly done (#88)
* mostly done

* Update d_t_tumble_weed.cpp

* remove cM::calcTimer

* just regswap on adjustSpeed

* Create inlines for angle between vectors

* name data symbols

---------

Co-authored-by: robojumper <robojumper@gmail.com>
2024-11-06 16:36:17 -05:00
Elijah Thomas 8a3710824b Updated CC collision (#80)
* c_cc_d soooo close

* d_cc_shape_colliders -> d_cc_d

* ported over changes from #43

* Oops, didnt save

* use better collision functions in bombf

* bombf fixes

* bombf actorPostCreate matching

* fix

* small fix for cCcD_UnkAttr Set function

* more cleanup(?) for c_cc_d

* d_cc_mass_s OK

* Initial d_cc_s setup

* some easy funcs

---------

Co-authored-by: robojumper <robojumper@gmail.com>
2024-11-01 17:07:16 -04:00
robojumper 9feb1933b7 d_a_obj_megami_island OK (#81)
* d_a_obj_megami_island OK

* rename
2024-10-26 08:08:11 -04:00
robojumper 50b16f7da4 Separate our inc files 2024-10-25 14:36:31 +02:00
robojumper 5e73b2b902 OK, checkpoint 2024-10-25 12:08:24 +02:00
robojumper 5995604387 d_a_obj_island_nusi OK (#79) 2024-10-24 20:33:45 -04:00
robojumper d466b5badf d_t_gekotag with a single regswap (#76) 2024-10-22 19:59:22 -04:00
robojumper b9409ccac5 d_a_obj_time_stage_bg with a weak function order issue (#78) 2024-10-22 19:46:02 -04:00
robojumper 8723bc3186 d_a_obj_fruit_guts_leaf OK (#77) 2024-10-20 16:43:57 -04:00
robojumper 2577b3a537 d_a_obj_utajima_island OK (#73)
* d_a_obj_utajima_island OK

* Name one field

* mAngle constants
2024-10-20 09:59:15 -04:00
robojumper e6dd20ada1 dAcOutaDemoPedest_c, dAcOutajimaLv2_c OK (#75)
* dAcOutaDemoPedest_c OK

* dAcOutajimaLv2_c OK
2024-10-20 09:55:38 -04:00
robojumper 01b132f934 d_a_obj_utajima OK (#72) 2024-10-19 14:27:02 -04:00
CovenEsme 22a5cadd57 d_t_sw_area OK (#68)
* Initial attempt

* Fix symbols for renamed story/itemflagMgrs

* Improvements xD

* OK with pragma

* Update variable name
2024-10-16 19:45:25 -04:00
CovenEsme 1eaa124714 d_t_tdb OK (#67) 2024-10-16 18:04:00 -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 40b04ad724 Link d_profile (#62) 2024-10-11 10:17:25 -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 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 fe1c06e056 Import Ghidra symbols (#41)
* Import Ghidra symbols, main dol edition

* Ghidra symbols, RELs edition
2024-09-28 12:25:18 -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
elijah-thomas774 ec8f5be0db fixup dAObambooIstand_c 2024-09-27 20:15:53 -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 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
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
Luke Street cf8b14e1ec Fix all_source build 2024-06-18 18:41:15 -06: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