Commit Graph

1554 Commits

Author SHA1 Message Date
LagoLunatic 67259edeeb Clean up HIO reg accesses 2025-07-17 21:41:40 -04:00
LagoLunatic 02f5838608 Revert "Revert files in current pull requests"
This reverts commit e0626b6ccb.
2025-07-17 21:24:35 -04:00
LagoLunatic 2397afabaf Use named constants instead of literals in some places 2025-07-15 16:25:02 -04:00
LagoLunatic 7b010f07c7 atdoor inlines 2025-07-15 15:22:38 -04:00
Maide a69fa6996a d_a_atdoor (#809) 2025-07-15 14:51:25 -04:00
Maide cc72bf0f19 d_a_amiprop (#808) 2025-07-15 14:50:06 -04:00
LagoLunatic ea02e17b83 obj_mkiek demo match, remove fake inlines from cXyz 2025-07-14 19:11:39 -04:00
Maide e58f66b8e4 d_a_acorn_leaf (#807)
* d_a_acorn_leaf

* PR
2025-07-14 18:48:26 -04:00
LihMeh 129b604709 match d_a_obj_mkiek (#806)
* match d_a_obj_mkiek - main batch

* move alignment byte

* match 100%

* add nosyminline

* introduce a state enum

* review changes

* Apply suggestions from code review

applying suggested changes

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

---------

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2025-07-14 11:40:32 -04:00
LagoLunatic adac5936d2 Minor cleanup 2025-07-08 22:40:41 -04:00
ssorenson130 b255434807 d_a_obj_hami3 (#805)
* start hami3

* match the rest

* match demo

* split enum value

* address comments

* format
2025-07-07 14:18:06 -04:00
LagoLunatic e773fe5ca6 Some particle work and cleanup 2025-07-05 01:33:40 -04:00
SuperDude88 2618f81811 tag_photo OK (#804) 2025-07-04 16:48:11 -04:00
LihMeh 2f5ebf05f0 Match d_a_obj_ospbox (#803)
* Match d_a_obj_ospbox

* Mark d_a_obj_ospbox matching except demo

* Fixes after review

* direct current.pos usages
2025-07-03 15:04:24 -04:00
SuperDude88 ff06a2541a d_a_obj_canon Equivalent (#802)
* d_a_obj_canon Equivalent

* Cleanup

- Use g_regHIO macros
- Use resource enum
2025-06-29 00:16:54 -04:00
ssorenson130 1dc94ecf8d match d_a_obj_hami4 (#801)
* start hami4

* daObjHami4_Create

* daObjHami4_Delete

* start draw

* execute

* daObjHami4_open_demo_wait

* daObjHami4_close_stop

* set_mtx

* createheap

* last bit of createheap

* more draw

* inline create

* inline delete

* inline draw

* inline execute

* remove nonmatching comments

* clean some

* fix linking

* undo

* address comments, match debug map

* ja_se
2025-06-28 23:10:54 -04:00
LagoLunatic 96a546265e Remove fake inline 2025-06-27 15:50:54 -04:00
LihMeh 82b576442e d_a_sie_flag (#799)
* match CheckCreateHeap, start _delete

* Match daSie_Flag_c::_draw

* Approach daSie_Flag_c::set_mtx

* fix l_flag_offset

* approach daSie_Flag_c::CreateInit

* Approach daSie_Flag_c::_create

* Approach daSie_Flag_c::CreateHeap

* Use the original var name

* Reformat

* approach daSie_Flag_c::_execute

* Find the correct virtual function

* Use cylinder struct

* simplify set_mtx

* start matching daSie_Flag_HIO_c class

* Fix constants

* Match daSie_Flag_c::_create

* Match daSie_Flag_c::_execute better

* 100% daSie_Flag_c::set_mtx

* Match bss

* use .abs() method instead of own implementation

* Fix resource header

* Match data

* Match _execute + fix inline usages

* use simple bool where possible

* fix const order

* mark d_a_sie_flag matching for non-demo

* Fixes after review
2025-06-27 02:24:21 -04:00
LagoLunatic 3bb95dd90c d_mesg work 2025-06-26 19:12:22 -04:00
LagoLunatic 5ea6edc4b2 m_Do_main OK for demo 2025-06-23 21:56:41 -04:00
LagoLunatic cabd8356fe Misc demo work 2025-06-23 18:36:53 -04:00
LagoLunatic 32e5848095 d_a_npc_ji1 a bit closer 2025-06-20 16:36:56 -04:00
Skelp 50dbe08c09 #429: d_a_obj_nest (#798)
* #181: d_a_tag_attention matching; TODO: implement chk_inside and dComIfGp_att_Look2RequestF

* #181: continue working on d_a_tag_attention, matching almost complete

* #181: revert naming class member (not certain enough)

* #181: preliminary changes to resolve #784 comments regarding usage of debug maps

* #181: commit suggestion by @WilliamArnett, fixing regalloc error

Co-authored-by: WilliamArnett <149556961+WilliamArnett@users.noreply.github.com>

* #181: fix missing curly bracket

* #181: resolve #784 comments with the kind help of @WilliamArnett;
 move `daTagAttention::Act_c::chk_inside` to header file; split `plyrToObjVec` definition to match assembly;
 remove temp variable, use values directly and swap operands;
 implement `Look2RequestF` in `include/d/d_attention.h`;
 remove non-matching use of temp variable `iVar1` and replace `current.pos` with uninitialized variable in `daTagAttention::Act_c::_execute`

* Update include/d/actor/d_a_tag_attention.h

Co-authored-by: WilliamArnett <149556961+WilliamArnett@users.noreply.github.com>

* #181: update `d_a_tag_attention` to `Matching` in `configure.py`; remove Non-Matching comments

* #181: change matching type to `Equivalent` for `d_a_tag_attention`

* Apply suggestions from code review

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

* #181: fix PrmAbstract call

* #429: d_a_obj_nest 100% match (WIP)

* #429: remove Nonmatching comments; add Matching to configure.py; remove padding-field

* Update src/d/actor/d_a_obj_nest.cpp

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

* Apply suggestions from code review

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

* #429: code suggestion fixes

* #429: actually fix resource enum usage in d_a_obj_nest.cpp

---------

Co-authored-by: WilliamArnett <149556961+WilliamArnett@users.noreply.github.com>
Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2025-06-20 14:14:59 -04:00
Ammar Askar 5f99677cb7 Match d_a_fallrock to 99% (#792)
* Match d_a_fallrock to 99%

* Match execute function
2025-06-20 13:50:07 -04:00
SuperDude88 4aadd65d72 Match Most of daNpc_ji1_c (#796)
* More npc_ji1 Work

- Match most remaining code

Still need to fix setHairAngle and do a ton of cleanup

* setHairAngle Closer

* Oops

Why was this not causing an error locally

* More Field Names
2025-06-20 13:45:04 -04:00
LagoLunatic 705f55693c Move J3DShapeMtx to correct header for assert 2025-06-19 19:05:10 -04:00
LagoLunatic efc33c5fc4 Various inline cleanup 2025-06-19 19:03:11 -04:00
LagoLunatic b295d48d1d Fix getSRTCenter fakematches with another (void)0 assert 2025-06-18 21:26:13 -04:00
LagoLunatic a87c70990e Add another (void)0 assert, fixing regalloc in daPy_lk_c::initTextureScroll and J3DMaterialAttach 2025-06-18 20:58:29 -04:00
LagoLunatic 98510714f1 Fix J3DDeformData being in the wrong header 2025-06-18 20:57:19 -04:00
LagoLunatic ede01ca07b daPy_lk_c::draw and linkDraw matched on retail with (void)0 assert, d_a_figure OK 2025-06-18 20:14:26 -04:00
LagoLunatic 264ee5d6e1 Clean up some inlines and field names 2025-06-18 19:29:02 -04:00
LagoLunatic 65379a432f d_a_obj_figure demo almost matches 2025-06-18 19:15:47 -04:00
LagoLunatic 3d0aff6a84 daPy_lk_c::dProcTool and daDemo00_c::execute matched, fix up various inlines and template classes, stb OK 2025-06-17 22:30:17 -04:00
LagoLunatic bc2f5c8fd0 daPy_lk_c::dProcTool 99% 2025-06-16 13:15:02 -04:00
LagoLunatic f042f156f5 Add all player demo mode names to enum 2025-06-15 16:10:33 -04:00
LagoLunatic 25b9aeae03 daPy_lk_c::procShipCrane 2025-06-15 15:43:35 -04:00
LagoLunatic 0146d0b91f d_a_player_main cleanup and inlines 2025-06-15 13:59:16 -04:00
LagoLunatic a15a72f209 daPy_lk_c::checkRopeSwingWall 2025-06-14 23:41:15 -04:00
LagoLunatic 92a094ef6d d_file_select matching for JPN and demo 2025-06-14 19:09:05 -04:00
Ammar Askar 3fbb9b5e74 Fully match d_a_npc_btsw and mark equivalent (#790)
* Match up d_a_npc_bmsw to 98%

* Remove old nonmatching comments

* Match MailCreateInit by using a static cast

* Match Throw and daNpc_Bmsw_getGameEndMsg

* Match CreateInit using demo for ref

* Fix inline for dComIfG_TimerStart

* Match shiwake_game_action

* Match getNextNo

* Mark Equivalent

* Fully match d_a_npc_btsw and mark equivelant

---------

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2025-06-14 17:23:39 -04:00
Ammar Askar 5c391aa7ad Fully match d_a_npc_bmsw and mark equivalent (#789)
* Match up d_a_npc_bmsw to 98%

* Remove old nonmatching comments

* Match MailCreateInit by using a static cast

* Match Throw and daNpc_Bmsw_getGameEndMsg

* Match CreateInit using demo for ref

* Fix inline for dComIfG_TimerStart

* Match shiwake_game_action

* Match getNextNo

* Mark Equivalent
2025-06-14 17:14:12 -04:00
SuperDude88 947a9a05b1 d_file_select Matching on US (#795)
* d_file_select Almost Matching

Down to 3 regswaps and probably weak func ordering

* Fix Remaining Nonmatches

Regswaps figured out by @ammaraskar
2025-06-14 17:09:40 -04:00
LagoLunatic b465138e9c daPy_lk_c::procBottleOpen 2025-06-14 17:00:59 -04:00
LagoLunatic 3bd775e04d Misc demo matches 2025-06-13 15:14:08 -04:00
Onni Leivo 8733e64147 implement daObjTable functions (#734)
* implement daObjTable functions

* matches now in build, 100%

* use inlines and make it cleaner

* inlines

* add only retail match

---------

Co-authored-by: Onni <mail@onnileivo.com>
2025-06-11 22:07:07 -04:00
LagoLunatic e7d0df1e50 Cleanup player struct 2025-06-09 23:29:34 -04:00
LagoLunatic 6404bc4765 Demo: d_lib OK 2025-06-09 16:20:19 -04:00
LagoLunatic a27e5b3379 Some enum/define cleanup 2025-06-09 16:14:24 -04:00
Ammar Askar 498fd40d72 98% matching d_a_dk (#788)
* 98% matching d_a_dk

* Match tail_draw

* Fix demo build issue

* Fix inlines based on demo

* Address feedback from review
2025-06-08 19:27:32 -04:00