Skip to content

decompile d_a_obj_bmshutter.cpp#2338

Merged
TakaRikka merged 11 commits intozeldaret:mainfrom
soruh:daObjBmSh
Mar 22, 2025
Merged

decompile d_a_obj_bmshutter.cpp#2338
TakaRikka merged 11 commits intozeldaret:mainfrom
soruh:daObjBmSh

Conversation

@soruh
Copy link
Copy Markdown
Contributor

@soruh soruh commented Mar 21, 2025

This is my first attempt at decompilation so please tell me if anything can be improved.

d_a_obj_bmshutter uses the onCondition inline function of dEvt_info_c so the first commit implements that.

@soruh soruh mentioned this pull request Mar 21, 2025
@soruh
Copy link
Copy Markdown
Contributor Author

soruh commented Mar 22, 2025

I have adjusted the code. Thank you for the detailed comments!

@TakaRikka TakaRikka merged commit cf87a20 into zeldaret:main Mar 22, 2025
1 check passed
Stbn-antier pushed a commit to Stbn-antier/tp that referenced this pull request Mar 24, 2025
* Implement `onCondition` inline function of `dEvt_info_c`

* decompile d_a_obj_bmshutter.cpp

* remove uncesary inline and this->

* use dEvt_info_c::checkCommandDemoAccrpt instead of daObjBmSh_c::checkCommandDemoAccrpt

* change style of members

* Revert "Implement `onCondition` inline function of `dEvt_info_c`"

This reverts commit dc7e945.

* use `i_onCondition` instead of `onCondition`

* make l_ statics local

* remove uncessesary parenthesis

* make actor function pointers return ints

* make l_check_area a Vec[4]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants