Commit Graph

433 Commits

Author SHA1 Message Date
Nikolaj Jensen Ulrik d62ccfae12 d_a_obj_hat 100% (#696)
* nearly matching obj_hat

* use inline instead

* cleanup

* remove debug map

* renaming member variables

* fixing missing inlines in setMtx

* last couple of renames, status to Matching

* bit more inlining

* Apply suggestions from code review

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>

* fixing review comments, missing returns

---------

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2025-03-02 16:16:25 -05:00
LagoLunatic 6c6b5a95ac d_a_lwood OK 2025-02-28 18:08:31 -05:00
LagoLunatic 5571ec74e4 Document the second param to joint callback functions 2025-02-28 18:04:05 -05:00
Ross Newman fdfb69f055 d_a_tornado (#697)
* d_a_tornado 100%

* update member names

* fixes

* fix constant

* add compiler flag

* return BOOL type

* Apply suggestions from code review

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>

---------

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2025-02-28 01:49:58 -05:00
LagoLunatic c61fe4a335 Use "switch no" instead of "switch id/index" 2025-02-27 18:14:50 -05:00
mattias-blum f2264eea7c d_a_tag_so 100% (#694)
* d_a_tag_so 100%

Small one, nothing to comment on

* PR changes made

Reverted variable names, better use of inlines

* small fix, removed extra semi
2025-02-25 20:53:21 -05:00
mattias-blum ea840c9a23 d_a_leaflift 100% (#693)
* d_a_leaflift 100%

* d_a_leaflift_static 100%

Additional formatting changes plus variable re-naming's due to added context from `d_a_leaflift_static`

* PR changes made, renamed other variables

The m43C-m43E flags seem to be flags relating to Link's gliding state but couldn't figure out the order of them. m43F seems to be some timer.

* additional PR changes
2025-02-25 19:46:12 -05:00
LagoLunatic 33f76d9968 More cleanup 2025-02-23 20:56:27 -05:00
LagoLunatic c4ad9f7241 Various cleanup 2025-02-23 19:59:54 -05:00
mattias-blum 730b74e2e3 d_a_shutter2 100% (#692)
* d_a_shutter_2 100%

- Code should be consistent with `d_a_shutter`
- A couple of variables still remain unnamed

* fixed issue in configure.py, git related

* forgot to set to matching

* weak function ordering in fine, removed param

* merged decleration and instantiation of minVel, maxVel

* PR changes

_create() still has me stumped. You would think that the return after that if statement would be `return cPhs_COMPLEATE_e;` but it just, doesn't exist? Adding any sort of return statement causes it not to match. Potential bug forgotten by the devs maybe?
2025-02-23 19:42:10 -05:00
mattias-blum 8338fd56e6 d_a_shutter 100% (#691)
* d_a_shutter 100%

- Wasn't sure what to name some of the used member variables that have yet to be assigned names (ex. `field_0x339`) but if you have an intuitive guess based on the code/previous actors I'd be happy to change them

* Requested PR changes made

The only thing I was unsure about was the new name for `mCount`. I settled on `mFrameTimer` because it's initialized to 30 and counts down every frame (assuming `_execute()` is called every frame).

* changed typing of `mbIsSwitch` to remove unnecessary cast

* file reference changes
2025-02-22 21:06:13 -05:00
mattias-blum 3f00e1e347 d_a_steam_tag 100% (#690)
* d_a_steam_tag 100%

Added inline functions to `d_point_wind` that were referenced in this TU

* PR changes added

- Also removed an unused local variable, renamed another
- Seems my struct had one member too many so I removed the last one ('field_0x0F`) and resized `field_0x0E` accordingly
2025-02-20 18:38:33 -05:00
mattias-blum 5dcccc228f d_a_tori_flag 100% (#689)
* d_a_tori_flag 100%

Had to add a constructor for `dCloth_packet_c`, may want to reconsider the naming of certain members of `daTori_Flag_HIO_c` in the future.

* d_a_tori_flag 100% configuration

* Requested PR changes made

* added proper inline functions
2025-02-19 19:48:55 -05:00
LagoLunatic 9875a39ee6 Mark d_a_obj_hha as equivalent, and fix various small things in it 2025-02-01 16:42:58 -05:00
LagoLunatic 025b7e459a Switch return type of _execute/_draw/_delete to be bool by default instead of BOOL
It's not completely consistent, but it seems like the majority used `bool`, and only a handful used `BOOL`. So I switched all of them to `bool` except for 13 TUs that stopped matching when changed like this.
2025-02-01 16:17:46 -05:00
Azurpourpre 39aace2c91 d_a_obj_hha 100% (#688)
* daObjHhaPart_c : progress on init_data, set_mdl_area, set_bgw, init_mtx

* daObjHhaSplash_c::create_s match

* daObjHhaYgush_c::create_area match

* daObjHhaYgush_c::init_data match

* daObjHhaYgush_c::init_mtx match

* daObjHhaYgush_c::draw match

* daObjHha_c class definition

* exe_normal & draw_normal match

* daObjHha_c::create_heap match

* daObjHha_c::_create match

* daObjHha_c::_delete almost match

* daObjHha_c::check_sw

* daObjHha_c::set_tex match

* daObjHha_c::init_mtx match

* daObjHha_c::get_water_h

* daObjHha_c::set_splash_bottom_* & daObjHha_get_r match

* daObjHha_c::set_splash_bottom_stop_r match

* daObjHha_c::part_manager almost match

* daObjHha_c::ygush_manager match

* daObjHha_c::_execute almost match

* daObjHha_c::_draw match

* daObjHha_c::water_manager match

* Mthd match

* da_a_obj_hha object file match

* Cleaning & adding variable names

* Updating configure.py & cleaning

* fixing d_a_obj_hha constants symbol name

* Adding suggestions (zeldaret/tww/#688)

* Fixing d_a_obj_hha Mthd (as suggested in PR zeldaret/tww/#688)

* Reverting configure.py
2025-02-01 15:44:48 -05:00
LagoLunatic a52bb789da Rename HostIO mChildID to mNo
TP debug has an assert in d_a_obj showing the name of this variable is `M_no` there.
2025-01-31 15:49:44 -05:00
LagoLunatic 901bc51f40 d_a_npc_md work 2025-01-27 19:26:14 -05:00
LagoLunatic ffe54e0bea Mark funcs with weak func order issues as Equivalent, fix a few other issues 2025-01-23 21:52:41 -05:00
LagoLunatic e8adc6c9e5 Rename more item enums 2025-01-17 20:58:43 -05:00
LagoLunatic 532bdb29ad Some initial work on HIO classes definitions for debug build 2025-01-11 22:10:44 -05:00
LagoLunatic d330c1e68a Add enums for items and disappears 2025-01-11 19:15:36 -05:00
LagoLunatic ca6bebcb4b Add more actor mode enums 2025-01-11 17:20:45 -05:00
Azurpourpre 3816b8d8f0 d_a_obj_rforce match (#686)
* d_a_obj_rforce match

* Adding suggestions (Pull Request zeldaret/tww/#686)
2025-01-10 23:48:07 -05:00
LagoLunatic 3d63a54587 Player inlines and enums 2025-01-08 15:05:14 -05:00
LagoLunatic 37dbfd75de Add item button enum and talk button enum 2025-01-06 00:23:55 -05:00
LagoLunatic 06709dad7f d_a_obj_toripost documentation, d_a_rd wrong name fixes 2024-12-28 18:58:57 -05:00
Jasper St. Pierre 4470b7df8a d_a_demo00 work 2024-12-27 12:23:32 -08:00
LagoLunatic e01095535f d_a_dai_item work 2024-11-02 16:21:43 -04:00
LagoLunatic 8911dab195 Starting switching u8 arrays to use dtk asset extract feature 2024-11-01 15:04:58 -04:00
LagoLunatic 55ad93af06 cleanup daPy_sightPacket_c inlines, match setHookshotSight 2024-10-19 17:25:30 -04:00
LagoLunatic a3560350c7 d_a_sail and d_a_pirate_flag cleanup 2024-10-19 15:39:43 -04:00
Daniel Hajjar 9ed7cfc79d d_a_pirate_flag (#681)
* d_a_pirate_flag started work

* daPirate_Flag_packet_c::setCorrectNrmAngle matching

* daPirate_Flag_packet_c::setBackNrm matching

* daPirate_Flag_packet_c::setNrmVtx work

* d_a_pirate_flag work

* get_cloth_anim_factor matching

* pirate_flag_move matching

* daPirate_Flag_Execute matching

* d_a_pirate_flag mostly done
2024-10-19 13:07:44 -04:00
SuperDude88 716492b7b9 First Person Item Procs (#680)
* First Person Item Procs

Match a couple of Link's proc functions

* Cleanup
2024-10-19 13:03:32 -04:00
LagoLunatic 9e29fd3c68 More warning cleanup 2024-10-18 11:33:08 -04:00
LagoLunatic 202851599f More warning/error cleanup, mostly includes 2024-10-17 23:46:30 -04:00
LagoLunatic 34afbd84db clangd: Started fixing warnings and errors, code cleanup 2024-10-17 21:35:18 -04:00
LagoLunatic c6bd52facd d_a_bk work 2024-10-15 13:36:23 -04:00
LagoLunatic d0990e3271 d_a_bk work, FILI inline cleanup 2024-10-10 16:10:16 -04:00
LagoLunatic d27806bcd1 agbsw0 cleanup, enums and var names 2024-10-08 17:47:12 -04:00
LagoLunatic 40a4d0a1d9 stag inlines and cleanup 2024-10-07 23:38:54 -04:00
LDA_suku 7d2ed1b24f d_a_sail 100% (#678)
* d_a_sail

* add some comments

* d_a_sail amendment
2024-09-08 20:35:28 -04:00
LagoLunatic a42fd39a9f d_a_att OK, d_a_bgn header work
fixes #89
2024-09-07 16:16:17 -04:00
LagoLunatic 45825ef331 d_a_evsw OK
fixes #184
2024-09-06 12:37:40 -04:00
Jasper St. Pierre e6a4022ad9 d_a_obj_usovmc
fixes #445
2024-09-02 12:01:14 -07:00
Jasper St. Pierre 00eb28e903 d_a_obj_vmc match
fixes #448
2024-09-02 11:47:52 -07:00
Jasper St. Pierre ca6919cd30 vmsdz/vmsms match
fixes #449 #450
2024-09-02 10:39:46 -07:00
Jasper St. Pierre 4d5aeeefc6 d_a_obj_vgnfd work 2024-08-31 18:05:39 -07:00
Jasper St. Pierre c9af6f5e87 d_a_syan work 2024-08-31 14:11:49 -07:00
Daniel Hajjar 596fe9ab93 d_a_obj_quake (#676)
* d_a_obj_quake work

* daObjQuake_c::_create matching

* daObjQuake_c::_is_delete matching

* d_a_obj_quake matching
2024-08-27 10:07:14 -04:00