Commit Graph

541 Commits

Author SHA1 Message Date
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
LagoLunatic 95ceb5c3ef d_a_obj_homen OK 2025-03-17 15:25:51 -04:00
LagoLunatic 6acb5f801b dolphin/dvd OK 2025-03-16 21:52:11 -04:00
mattias-blum ae528dc3d9 d_a_fganon 100% (#695)
* added `cBgS_Chk::OffSameActorChk`inline function

* initial progress of d_a_fganon

100% Matching:
- `anim_init`
- `tama_draw`
- `daFganon_Draw`
- `daFganon_IsDelete`

Partial Matching:
- `daFganon_Hio_C::daFganon_HIO_c` (88%)
- `deru_brk` (98%, code is matching, variable memory locations needed for 100% match)
- `kieru_brk` (98%, code is matching, variable memory locations needed for 100% match)
- `deru_brk2` (98%, code is matching, variable memory locations needed for 100% match)
- `kieru_brk2` (98%, code is matching, variable memory locations needed for 100% match)
- `pos_move` (73%)
- `move` (80%)
- `mahou_se_set` (82%)
- `daFganon_Delete` (94%, code is matching, variable memory locations needed for 100% match)
- `useHeapInit` (92%)
- `daFganon_Create` (77%)
- `fgannon_class::fganon_class()` (88%)

Remainder haven't been started

* Additional progress, more functions at 100% matching

100% Matching:
- `daFganon_Hio_C::daFganon_HIO_c`
- `anim_init`
- `tama_draw`
- `daFganon_Draw`
- `deru_brk`
- `kieru_brk`
- `deru_brk2`
- `kieru_brk2`
- `pos_move`
- `fly_se_set`
- `mahou_set`
- `mahou_se_set`
- `daFganon_IsDelete`
- `daFganon_Delete`
- `useHeapInit`

Partial Matching:
- `fly` (60%)
- `shot` (46%)
- `move` (92%)
- `daFganon_Execute` (11%)
- `daFganon_Create` (60%)
- `fgannon_class::fganon_class()` (93%)

* More functions at 100% matching

- Added a `cXyz` member to `mant_class` that is referenced in this TU.
- Changed 'fganon_class` to inherit from `fopEn_enemy_c` instead of `fopAc_ac_c`

100% Matching:
- `daFganon_Hio_C::daFganon_HIO_c`
- `anim_init`
- `tama_draw`
- `daFganon_Draw`
- `deru_brk`
- `kieru_brk`
- `deru_brk2`
- `kieru_brk2`
- `pos_move`
- `fly_se_set`
- `fly`
- `shot`
- `spinattack`
- `fly2`
- `tama_set`
- `mahou_set`
- `mahou_set`
- `mahou_se_set`
- `daFganon_IsDelete`
- `daFganon_Delete`
- `useHeapInit`
- `fgannon_class::fganon_class()`

Partial Matching:
- `move` (96%, code is matching, variable memory locations needed for 100% match)
- `daFganon_Execute` (96%, code is matching, variable memory locations needed for 100% match)
- `daFganon_Create` (96%, code is matching, variable memory locations needed for 100% match)

* additional functions at 100% matching

Cleaned up the values of the static globals, will resolve their symbols later

100% Matching:
- `daFganon_Hio_C::daFganon_HIO_c`
- `anim_init`
- `tama_draw`
- `daFganon_Draw`
- `deru_brk`
- `kieru_brk`
- `deru_brk2`
- `kieru_brk2`
- `pos_move`
- `fly_se_set`
- `fly`
- `shot`
- `spinattack`
- `fly2`
- `tama_set`
- `mahou_set`
- `shot2`
- `spinattack2`
- `down`
- `kabe_check`
- `deru`
- `kieru`
- `fail`
- `standby`
- `start`
- `last_end`
- `damage_check`
- `ball_tg_check`
- `mahou_se_set`
- `daFganon_IsDelete`
- `daFganon_Delete`
- `useHeapInit`
- `fgannon_class::fganon_class()`

Partial Matching:
- `end` (97%, code is matching, variable memory locations needed for 100% match)
- `move` (97%, code is matching, variable memory locations needed for 100% match)
- `demo_camera` (63%)
- `daFganon_Execute` (97%, code is matching, variable memory locations needed for 100% match)
- `daFganon_Create` (98%, code is matching, variable memory locations needed for 100% match)

* added `mDoAud_changeSubBgmStatus` inline

* changed return type of `dComIfGp_getPlayerCameraID` inline

needed this change to get a match for this `d_a_fganon`

* d_a_fganon 100% matching

Currently the checksum fails but I have some theories as to why that might be. I'll continue to cleanup the symbols.

* symbol cleanup

* fixed `mDoAud_changeSubBgmStatus` calling wrong function

* 100% matching now, checksum passes

There is a weak function ordering issue so I included the param in `configure.py`

* PR changes made

* Additional PR changes, better naming of class members
2025-03-16 19:04:00 -04:00
LagoLunatic 243c576d6e JASHardStream OK 2025-03-15 20:35:06 -04:00
LagoLunatic 89e9cdafb5 JASChannel OK 2025-03-15 19:55:45 -04:00
Ross Newman 7a8b7bfc95 d-a-obj-swhammer equivalent (#702)
* start d-a-obj-swhammer

* mostly match swhammer and name members

* rename smoke callback member mColor

* name attrs and match createheap

* 100% equivalent
2025-03-10 21:17:26 -04:00
Ross Newman e696d982c6 d-a-obj-barrel (#700)
* d_a_obj_barrel wip

* d_a_obj_barrel wip

* mostly match, names and cleanup

* d-a-obj-barrel 100%

* remove unused field

* remove comments and address PR suggestions
2025-03-08 16:42:46 -05:00
LagoLunatic 7678a0be84 d_bg_w and c_m3d OK 2025-03-07 17:40:54 -05:00
LagoLunatic a80f464ab7 Mark obj_hat equivalent 2025-03-02 16:29:54 -05:00
Ross Newman 47c101e1e1 d_a_obj_shelf equivalent (#698)
* d-a-obj-shelf 100%

* names

* mark equivalent

* label L_attr values

* Apply suggestions from code review

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

---------

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2025-03-02 16:22:20 -05:00
LagoLunatic 6c6b5a95ac d_a_lwood OK 2025-02-28 18:08:31 -05:00
Ross Newman fdfb69f055 d_a_tornado (#697)
* d_a_tornado 100%

* update member names

* fixes

* fix constant

* add compiler flag

* return BOOL type

* Apply suggestions from code review

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

---------

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2025-02-28 01:49:58 -05:00
mattias-blum f2264eea7c d_a_tag_so 100% (#694)
* d_a_tag_so 100%

Small one, nothing to comment on

* PR changes made

Reverted variable names, better use of inlines

* small fix, removed extra semi
2025-02-25 20:53:21 -05:00
mattias-blum ea840c9a23 d_a_leaflift 100% (#693)
* d_a_leaflift 100%

* d_a_leaflift_static 100%

Additional formatting changes plus variable re-naming's due to added context from `d_a_leaflift_static`

* PR changes made, renamed other variables

The m43C-m43E flags seem to be flags relating to Link's gliding state but couldn't figure out the order of them. m43F seems to be some timer.

* additional PR changes
2025-02-25 19:46:12 -05:00
LagoLunatic 8ed6cad381 d_timer OK 2025-02-23 20:57:01 -05:00
LagoLunatic c4ad9f7241 Various cleanup 2025-02-23 19:59:54 -05:00
mattias-blum 730b74e2e3 d_a_shutter2 100% (#692)
* d_a_shutter_2 100%

- Code should be consistent with `d_a_shutter`
- A couple of variables still remain unnamed

* fixed issue in configure.py, git related

* forgot to set to matching

* weak function ordering in fine, removed param

* merged decleration and instantiation of minVel, maxVel

* PR changes

_create() still has me stumped. You would think that the return after that if statement would be `return cPhs_COMPLEATE_e;` but it just, doesn't exist? Adding any sort of return statement causes it not to match. Potential bug forgotten by the devs maybe?
2025-02-23 19:42:10 -05:00
mattias-blum 8338fd56e6 d_a_shutter 100% (#691)
* d_a_shutter 100%

- Wasn't sure what to name some of the used member variables that have yet to be assigned names (ex. `field_0x339`) but if you have an intuitive guess based on the code/previous actors I'd be happy to change them

* Requested PR changes made

The only thing I was unsure about was the new name for `mCount`. I settled on `mFrameTimer` because it's initialized to 30 and counts down every frame (assuming `_execute()` is called every frame).

* changed typing of `mbIsSwitch` to remove unnecessary cast

* file reference changes
2025-02-22 21:06:13 -05:00