Commit Graph

1576 Commits

Author SHA1 Message Date
SuperDude88 4adfd27155 daNpc_Cb1_c Almost OK (#822)
* daNpc_Cb1_c Almost OK

Down to regswaps/minor instruction issues

* Oops

That inline was fake

* Some Cleanup

- Fill in more inlines
- Reorganize daNpc_Cb1_c inlines
- Use inlines more
- Some naming and typing consistency

* Naming, Consistency Tweaks

- TRUE/FALSE macros for all cases of BOOL, use int -> BOOL sometimes
- Rename HIO to be consistent with other NPCs
- Animation enum

* Some HIO Names

* Clarity Tweaks

- NULL in more asserts
- Squared constants
2025-07-29 21:04:42 -04:00
Maide a211d2fd07 d_a_mdoor (#825) 2025-07-29 19:27:12 -04:00
LagoLunatic 8aac44688b Cleanup some actors 2025-07-28 23:48:27 -04:00
LagoLunatic 8c07fc8579 Fix JORReflexible 2025-07-28 23:43:44 -04:00
LagoLunatic f449791a8a Match knob00 for JPN, fix knob00 weak func order for all versions 2025-07-28 18:58:36 -04:00
Maide 8ee539cdbc d_a_knob00 (#823)
* d_a_knob00

* PR
2025-07-28 18:44:12 -04:00
LagoLunatic 7a30896825 Add day/night enum 2025-07-27 22:45:16 -04:00
Maide 5a3911cfed d_a_kanban (#820)
* d_a_kanban

* PR

---------

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2025-07-27 17:26:24 -04:00
Maide b93c7993da d_a_ki (#821)
* d_a_ki

* PR
2025-07-27 17:19:15 -04:00
LagoLunatic 719ac3f748 Misc cleanup 2025-07-25 22:24:57 -04:00
LagoLunatic 72dc8f4ef6 DEMO_SELECT 2025-07-25 21:05:36 -04:00
Maide 4ebe6758cb d_a_ep (#819) 2025-07-25 20:37:17 -04:00
Maide de0a740e70 d_a_coming3 (#813)
* d_a_coming3

* PR
2025-07-25 20:28:10 -04:00
Maide 4c6cde87bf d_a_door10 (#816)
* d_a_door10

* func size

* Fixups from debug maps

* remove script for now

* PR
2025-07-25 00:04:41 -04:00
Maide 468df0d5f1 d_a_dr2 (#818) 2025-07-24 23:34:43 -04:00
Maide 915e927120 d_a_demo_kmm (#815)
* d_a_demo_kmm

* PR
2025-07-23 17:08:38 -04:00
Maide f2c1ee8e88 d_a_demo_dk (#814)
* d_a_demo_dk

* PR
2025-07-23 13:51:36 -04:00
Maide 9de2997a09 d_a_coming2 (#812)
* d_a_coming2

* PR
2025-07-23 01:16:28 -04:00
Maide 9461730b10 d_a_bridge (#811)
* d_a_bridge

* PR
2025-07-22 01:44:41 -04:00
Maide b324f4b1fc d_a_bb (#810)
* d_a_bb

* PR
2025-07-19 22:39:35 -04:00
LagoLunatic aa2c00cae2 Refactor d_a_am2 to use composition 2025-07-18 16:51:09 -04:00
LagoLunatic 2e27a30ebd Refactor d_a_am to use composition instead of inheritance 2025-07-18 12:50:49 -04:00
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