* bit too difficult for me for now, might go back later
* progress
* getmsg
* logic matching data isnt
* data section matches
* mathubcg 100%
* cleanup
* revert this change
* final cleanup and configure.py
* nevermind cleanup
* Equivalent onstead of matching
* removed padding
* cleanup code comments and a bit more
* Fix build
---------
Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
* Do initial work on d_a_jbo
* Remove outdated comments
* Move co_sph_src to be a function static variable
* Mark as matching
* Rename mParamsLower to mParam
* Give names to mFramesUntilJump, mAnimRotation, mAnimationSpeed, mParticlePos
* Give jbo_class::mState an enum
* fixup! Give names to mFramesUntilJump, mAnimRotation, mAnimationSpeed, mParticlePos
* Give resource ids an enum
* Add documentation comment for actor
* MWCC shenanigans
* Rename variables to better match coding guidelines
* Apply suggestions from code review
- use J3DModel::setBaseScale() inline
- use existing resource id enum
- rename `i_actor` -> `i_this`, `that` -> `a_this`
- use defines for missed returned booleans
- replace `mDoAud_seStart` -> `fopAcM_seStart`
Co-Authored-By: LagoLunatic <LagoLunatic@users.noreply.github.com>
* Apply rest of inlines
i must have forgotten about them earlier
---------
Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
* ride_call_back progress
* daKita_Draw match
* kita_move progress
* ride_call_back match
* daKita_Execute will match
* daKita_Delete & daKita_IsDelete match
* CallbackCreateHeap match
* daKita_Create progress
* himo_create progress
* d_a_kita : small overall progress
* hand_draw match
* daShand_Draw match
* d_a_shand/control1 match except regalloc
* control2 almost done (regalloc issue)
* control3 match
* cut_control progress
* cut_control3 match
* normal progress
* cut match
* hand_move progress
* daShand_Execute match
* daShand_Delete & daShand_IsDelete match
* daShand_Create progress
* daShand_solidHeapCB match & useHeapInit progress
* daShand_HIO_c::daShand_HIO_c match
* control1 match
* control2 match
* cut_control match
* hand_move progress
* daShand_Create progress
* useHeapInit match
* Minor fixing
* renaming fields
* Merge with upstream now compiling
* cleaning up & minor fixes
* fixing string
* adding suggestions (PR #751)
* d_a_shand integration & kita_move gndchk position fix
* Removing awful cap_min_val inline
* 100% match
* Adding match to configure.py
* 99% match
* Rewrote _execute to increase accuracy. Only issue in .text is a label not loading correctly. I have no idea how to fix this.
* Equivalent. Weak func ordering.
* Update src/d/actor/d_a_tag_kk1.cpp
Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
* Update src/d/actor/d_a_tag_kk1.cpp
Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
* Remove explicit `this`
Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
* Implemented hio_prm_c struct
---------
Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
* initial progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* symbol cleanup
* more progress
* more progress
* d_a_ks 100%
* more symbol cleanup
* likely real-match for `useHeapInit`
* removed `csXyz` type from class member
* changed int to BOOL for `HEAVY_IN`
* documented matching issue
* PR changes
Union members with non-trivial ctors/dtors is undefined behavior and clangd normally throws a fit and refuses to parse the whole union, but it seems to be possible to ifdef the problematic ctors out for non-mwerks compilers and explicitly tell modern compilers to use the defaults instead. Thanks to encounter for this fix.
* initial progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* fix outdated member names
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* fixed deprecated member references
* more progress
* more progress
* more progress
* fix deprecated member references
* more progress
* more progress
* more progress
* more progress
* more progress
* check in for review
* remove comment
* initial PR changes
* more PR changes
* more PR changes
* added anonymous struct as class member
* reverted changes to `stage_camera2_data_class`
* added `dCamera_event_data`, `dCamera_monitoring_things` and `dCamera_DMC_system` from debug maps
* more progress
* more progress
* realmatch for `camera_draw`
* PR changes
* fix broken merge
* formatting
* Reverted change to `camSphChkdata` that caused `sph_chk_callback` match to regress
* Reverted change to `BG` struct that caused ctor and dtor match to regress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* more progress
* PR changes
* corrected size comment
* fixed broken member references
* Add helper functions for d_attention
* Copy and adapt code from TP
* Move for better matching layout
* Clean up includes for d_attention.cpp
* Give dAttention_c::nextAttention a return
* Use enums in dAttention_c::getActionBtnB and slight reformat
* Change return types for comparison code to match
I don't love this
* Implement dAttList_c::calcWeight
* Implement dAttention_c::sortList
* Implement dAttDraw_c::draw
* Implement dAttDraw_c::setAnm
* Implement dAttention_c::chaseAttention
* Implement judgement related functions
* Implement dAttention_c::Run and runDrawProc
* Implement dAttention_c::Draw
Actually finish Draw
* Looks like dAttention_c::stockAttention had an unused return value
* Give d_Attention_c::mLockOnState an enum
* Rename field_0x02c to mDrawAttnPos based on TP
* Add comments for fields of d_attention
* Give d_attention's flags an enum (although without names)
* Undo type change for dAttention_c::{chk,set,clr}Flag
Co-Authored-By: LagoLunatic <LagoLunatic@users.noreply.github.com>
* Do not spell the `this` pointer
Co-Authored-By: LagoLunatic <LagoLunatic@users.noreply.github.com>
* Deal with resource enums and inlines
* Move PLAYER_STATUS_FLAG_MAGIC_JUDGEMENT to daPy__PlayerStatus0 enum
* Use inlines and macros
* Add mDoCPd_L_LOCK_BUTTON inline, debug maps claim it exists
Nothing else uses it
* Update TODO comments
* Debug maps claim runXyCheckCB was used but it only makes sense if modified
* Use dComIfGp_getPlayer instead of directly indexing the array
* Locate a few more inlines
* Do not cast to AttentionFlags enum type
* Update configure script
---------
Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>