Commit Graph

559 Commits

Author SHA1 Message Date
LagoLunatic 7ac14b85a1 GXFifo OK 2025-05-16 14:34:46 -04:00
LagoLunatic 32d9614d63 Fix d_a_ks weak func order with pragmas 2025-05-14 16:12:56 -04:00
LagoLunatic db2f66125d Fix python linter warning 2025-05-14 16:03:35 -04:00
LagoLunatic 36fec0f7fd Disappear drop type cleanup 2025-05-09 16:34:02 -04:00
Mattias Blum 95f230eb15 d_a_ks 100% (#746)
* 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
2025-05-09 15:18:16 -04:00
LagoLunatic 68cb5330e9 Update to objdiff v3 beta 6 2025-05-07 17:48:29 -04:00
LagoLunatic 18fb9de306 d_cam_type OK for JPN, add style enum, fix pystts1 enum 2025-05-06 22:58:20 -04:00
LagoLunatic 9e65556126 Match d_cam_style for JPN, unlink d_cam_type for JPN 2025-05-06 22:01:15 -04:00
LagoLunatic 1480636a5a d_cam_type and d_cam_style OK, enums cleanup 2025-05-06 21:48:03 -04:00
Jcw87 137ce36539 mtx from dolsdk2004 (#748) 2025-05-05 20:55:42 -04:00
Jcw87 c033afc1f0 Match some data (#745)
* J3DTransform Data

* d_map Data

* jstudio-object Data

* JASBankMgr Data

* JASTrack Data

* d_particle Data

* d_camera Data
2025-05-03 01:18:21 -04:00
Mm2PL 4d1cb33cd8 d_attention 100% (#701)
* 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>
2025-04-27 15:12:46 -04:00
LagoLunatic adc8a35063 d_grass OK 2025-04-25 20:44:34 -04:00
LagoLunatic daf1badf85 d_a_syan OK 2025-04-25 19:44:25 -04:00
LagoLunatic 910686fbac d_s_menu OK 2025-04-25 19:01:03 -04:00
LagoLunatic 8849340a01 d_a_kytag07 OK 2025-04-25 18:50:20 -04:00
LagoLunatic 341f329dde d_a_obj_vgnfd OK, d_a_obj_doguu OK, clean up weak-but-not-inlined funcs in finished actors 2025-04-25 18:44:45 -04:00
Zeclos 0c6c84d675 D_a_obj_doguu (#741)
* createInit for now

* _create almost _draw

* push for now, some functions finished progress on others

* _execute matches

* privatecute matching

* cleanup, almost matched

* data almost matching

* added getStartFrame to mDoExt_baseAnm, everything but data 100% matching

* cleanup and marked as Equivalent in configure.py

* cleanup
2025-04-25 17:12:32 -04:00
Jcw87 be0f59f361 d_mesg 2025-04-17 12:16:48 -07:00
LagoLunatic 207727a1be Update objdiff and dtk 2025-04-15 20:06:29 -04:00
Zeclos 35f479ae33 D_a_obj_iceisland (#740)
* 100% matching

* cleanup

* cleanup, removed old comment
2025-04-15 03:34:55 -04:00
LagoLunatic d7bd87bc01 JPAEmitterManager OK 2025-04-15 01:55:36 -04:00
LagoLunatic 9a49de1502 JPAEmitter OK 2025-04-15 00:51:32 -04:00
LagoLunatic 3f6e74331e JPAMath also OK 2025-04-15 00:22:47 -04:00
LagoLunatic 0d2c28e579 JPAParticle OK, JPAField 2025-04-14 23:22:14 -04:00
LagoLunatic 780d4e680a d_drawlist OK, J2DPicture inline cleanup 2025-04-12 23:18:11 -04:00
SuperDude88 1f1900bf66 f_op_msg_mng Work (#685)
* f_op_msg_mng work

* Fix Some Conflicts

Haven't had much chance to work on actual progress, still looking to do more matching before merge

* Tiny bit of Work

Little bit of cleanup, start on a couple more functions

* More Matches

Also add back some missing nonmatch comments

* Fixes

* JPN ifdefs

* Inline Fix

Also force one match (there's no way that casting is real)

* Reorder Strings

Fix rodata, I think this order is also slightly more accurate to the function (but I'm not really trying to match it right now anyways)
2025-04-12 21:02:24 -04:00
LagoLunatic e1898d3836 functionvalue 100% 2025-04-12 00:28:12 -04:00
Zeclos 0bb7ff4051 D_a_obj_smplbg (#738)
* small push

* everything is moslty matching

* logic matches, data doesnt

* 100% matching

* cleanup
2025-04-10 16:14:09 -04:00
LagoLunatic 2ae6d899f7 J3DMaterialFactory and J3DMaterialFactory_v21 OK 2025-04-08 22:47:27 -04:00
LagoLunatic b260dfea81 object-id OK 2025-04-08 18:17:15 -04:00
LagoLunatic cd777aa35b object-particle OK 2025-04-08 17:03:42 -04:00
LagoLunatic 3892ab054d std-vector OK 2025-04-04 22:40:24 -04:00
LagoLunatic 4de0fd7eff std-vector equivalent 2025-04-04 19:46:43 -04:00
LagoLunatic cda3f0c302 d_a_player_battle 100% 2025-04-03 17:56:52 -04:00
Zeclos d16ee29425 D a w bird (#733)
* create functions

* actionend matched

* matched a func i think. progress on setstartpos

* progress on  setstartpos, 2 small functions done

* rodata + actionselect

* 100% match

* cleanup

* configure.py matching

* removed unecessary cast

* removes the linker warning from arcname

* added the setaction inline. moved logic

* setAction now takes unsigned char
2025-04-03 17:34:13 -04:00
LagoLunatic 07d0adc7da JAISequenceHeap OK 2025-04-03 17:01:12 -04:00
LagoLunatic 1ca8069c76 JAIFx OK 2025-04-03 16:08:26 -04:00
LagoLunatic 9b0f7c852f JAIAnimation (BAS) OK 2025-04-03 15:47:28 -04:00
LagoLunatic 458d027fc9 d_a_hookshot equivalent 2025-04-02 15:54:23 -04:00
LagoLunatic 8cfd2f7a1e ship 99.98% 2025-03-28 19:25:28 -04:00
LagoLunatic bf2a5b9808 shand OK, ship 99.8%, add some missing inlines 2025-03-28 18:15:14 -04:00
Zeclos f02691a407 D_a_tpota (#710)
* cool push for now, execute almost done

* _create function

* alot closer to matching most

* fixed data

* delete function

* rodata is good now

* 100% matching

* matching in configure.py

* changes from comments
2025-03-27 04:24:40 -04:00
LagoLunatic f9f4881553 Link d_a_obj_shmrgrd 2025-03-27 01:39:55 -04:00
Ross Newman 1a752bbbb9 d-a-obj-shmrgrd (#708)
* start d-a-obj-shmrgrd

* mostly matching

* constructor

* 100%

* d-a-obj-shmrgrd equivalent
2025-03-27 01:26:27 -04:00
LagoLunatic f3a0982823 forgot to link bk 2025-03-25 10:59:35 -04:00
Ross Newman 8c89f42a0c d-a-obj-swpush (#707)
* start d-a-obj-swpush

* wip

* 99% match

* renames

* cflag

* label attr

* pr feedback
2025-03-23 18:39:30 -04:00
LagoLunatic 4ae8f5fa4b Fix obj_ebomzo regalloc, link
nice const meme
2025-03-21 01:45:27 -04:00
LagoLunatic 9a3f07b7da Fix obj_shelf weak order, fix MoveBG inline usage 2025-03-21 01:42:04 -04:00
Ross Newman 20317a1942 d-a-obj-swheavy (#704)
* start d-a-obj-swheavy

* mostly finish d-a-obj-swheavy

* renames and 100%

* mark matching

* address PR comments
2025-03-17 19:03:04 -04:00