Commit Graph

1504 Commits

Author SHA1 Message Date
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 f51b9b65df A few small matches for 2dnumber/meter 2025-02-11 17:08:48 -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 46801e0ee9 npc_ji1 small matches 2025-01-27 19:22:15 -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 067b47185b Fix references to memcard gamedata struct size 2025-01-18 18:42:35 -05:00
LagoLunatic e8adc6c9e5 Rename more item enums 2025-01-17 20:58:43 -05:00
LagoLunatic 5400c43ea1 d_a_bk work 2025-01-17 20:04:27 -05:00
LagoLunatic 2a02484cdc JStudio/JMessage work and cleanup 2025-01-17 20:04:18 -05:00
LagoLunatic b5350e1d1a Minor cleanup 2025-01-14 23:23:26 -05:00
LagoLunatic e620f9328b Use _GX name typedefs 2025-01-14 22:47:21 -05:00
LagoLunatic 8e44641465 Fix various data relocation differences in unlinked TUs 2025-01-14 22:11:08 -05:00
LagoLunatic 40d18bef9d Misc cleanup 2025-01-11 22:12:10 -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 24fab1a52a Add player anm enum comments to anm index tables 2025-01-11 18:28:46 -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 417ef8cacb Fix mDoHIO inlines 2025-01-08 15:49:00 -05:00
LagoLunatic f74fd75332 Misc cleanup 2025-01-08 15:42:47 -05:00
LagoLunatic 3d63a54587 Player inlines and enums 2025-01-08 15:05:14 -05:00
LagoLunatic b18a1e448a Add enums for island room numbers and indexes 2025-01-06 00:47:29 -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 72bbd3ea1f f_op_msg_mng work 2024-12-28 15:33:02 -08:00
LagoLunatic d1c3a19702 Fix wrong include case 2024-12-28 14:09:10 -05:00
Jasper St. Pierre 4470b7df8a d_a_demo00 work 2024-12-27 12:23:32 -08:00
Jasper St. Pierre c7e3e7ffea small fixes 2024-12-27 01:32:02 -08:00
Jasper St. Pierre 929027bfc1 document inventory slots 2024-12-27 01:23:55 -08:00
Jasper St. Pierre 2db35c0108 name cPhsUNK3_e 2024-12-24 14:37:05 -08:00
LagoLunatic 3bdcd42944 Clean up the weak data fakematches to be slightly closer to the real code 2024-11-20 16:38:29 -05:00
LagoLunatic 050cc12777 Use dtk asset extractor for in-function statics as well 2024-11-07 16:07:37 -05:00
LagoLunatic 04a5b59db5 GX work 2024-11-07 14:24:48 -05:00
LagoLunatic 0492ca2b52 start d_menu_option 2024-11-05 20:53:59 -05:00
LagoLunatic 92af4c4025 JPN fix 2024-11-03 21:05:45 -05:00
LagoLunatic ebf3a29555 d_a_dai_item OK 2024-11-03 21:00:28 -05:00
LagoLunatic e01095535f d_a_dai_item work 2024-11-02 16:21:43 -04:00
LagoLunatic 6b31312531 Use asset extractor for more symbols 2024-11-02 12:47:15 -04:00
LagoLunatic 76a652c977 fix JPN build 2024-11-02 00:11:12 -04:00
LagoLunatic 3eac0a16ac warning cleanup 2024-11-02 00:00:04 -04:00
LagoLunatic e9f82ff359 Add custom build rule for material display lists with image addresses in them 2024-11-01 19:32:15 -04:00
Jasper St. Pierre a16d8cee02 minor cleanup 2024-11-01 16:11:07 -07:00
LagoLunatic 8911dab195 Starting switching u8 arrays to use dtk asset extract feature 2024-11-01 15:04:58 -04:00
LagoLunatic 2dfcdd84ab clean up d_wood and d_tree data, match d_wood on JPN, match rest of d_tree .data section 2024-10-31 18:43:53 -04:00