Commit Graph

2777 Commits

Author SHA1 Message Date
LagoLunatic 445abf5629 himo3 OK 2026-08-25 14:38:49 -04:00
LagoLunatic e93a21702a several more TUs OK for demo 2026-08-24 20:30:40 -04:00
LagoLunatic e051378deb hsehi1 inlines and demo match 2026-08-24 17:38:54 -04:00
Spoony 69332d9167 Match d_a_obj_hsehi1 (#1182)
* [WIP] In-progress work on hseh1

* [WIP] Implement talk/message methods

* [WIP] Implement action state machine

* [WIP] Implement action methods

* [WIP] Implement most other functions

* Fully implement hseh1

* Add comments for Japanese text in HIO settings

* Fix pEmitter flags access

* Update matched builds for hseh1

* Address feedback, match JP game version
2026-08-24 16:57:11 -04:00
LagoLunatic 0195ac864a d_a_bridge OK, cXyz inline cleanup 2026-08-24 14:34:25 -04:00
LagoLunatic afa5b9ca56 Rename fmap_sv.h -> fmapSv.h to fix assertion 2026-08-23 22:48:05 -04:00
LagoLunatic a4e1d2bd4b fmap and fmap_sv: Fix several mixups
Add missing aramCmapDat_c class (runtime version of the separate aramCmapDatPat_t struct) to fix inline signature.
Fix inlines and fields for dMenu_FmapSv_c being mixed up.
2026-08-23 22:47:08 -04:00
LagoLunatic 19bf9bdc77 fmap: fix a couple near-matches 2026-08-23 21:03:39 -04:00
Teddy Heidmann a2817a5702 d_menu_fmap Progress (#1148)
* class model

* g_mfHIO

* more progress

* more matching

* menu interactions

* zoom functions

* zoom map alpha set

* zoom 200

* more zooms

* gship

* inlines

* g_cursorTable and best practices

* create

* some screenSet and rodata

* worst constructor ever

* review cleanup

* forgot a file

* undo fmap_sv type changes

* wrapSelWarp

* .data renames

* initialize()

* displayinit()

* calcGetMapCount

* dispEndSalvageMark()

* checkMarks

* pane fns

* selMaskAlphaCtrl()

* salvage/are txt chgs

* checkMarkCheck3 and CursorAnime fns

* collapse arrays

* setDspWindAngle()

* windArrowColorAnime()

* checkMarkAnime(), setDispIslandPos()

* setDspNormalMapLink()

* setDspLargeMapLink()

* Added enums, NULL checks for pointers, remove inlines
2026-08-23 18:56:14 -04:00
LagoLunatic 4b9a87e0f8 Fix bad relative markdown links 2026-08-23 14:32:27 -04:00
LagoLunatic 4caa5d8fc4 Add CONTRIBUTING.md, update coding guidelines 2026-08-23 14:29:44 -04:00
Jcw87 85047b9356 GFGeometry, GFLight, GFPixel, GFTev, GFTransform (#1180) 2026-08-23 10:32:03 -04:00
LagoLunatic 927142114a misc demo matches 2026-08-22 19:00:05 -04:00
LagoLunatic 9606f1a781 several d_meter matches 2026-08-22 18:04:19 -04:00
LagoLunatic 863f0b22ed Implement some JPA inlines 2026-08-22 16:43:46 -04:00
LagoLunatic d64d8116fc DisableFormat: true 2026-08-22 13:59:12 -04:00
Roman Sandu 49ab3bbb5c JPA improvements (#1139) 2026-08-22 13:55:34 -04:00
LagoLunatic 03d27aa143 d_s_name equivalent except PAL 2026-08-18 15:10:27 -04:00
LagoLunatic 48bb9796bc Add stdint.h to types.h 2026-08-18 10:41:11 -04:00
LagoLunatic 443b783b1e Fix d_s_name to use camera_class struct 2026-08-17 23:43:12 -04:00
LagoLunatic a1c70c7ede Fix camera_class view member 2026-08-17 23:24:18 -04:00
LagoLunatic a01d1af37b Fix drawlist view member 2026-08-17 23:09:40 -04:00
LagoLunatic e1ffae717a Remove some unnecessary camera casts 2026-08-17 23:08:26 -04:00
LagoLunatic f0d5cd7b6a Fix camera structs being swapped
`camera_process_class` and `camera_class` were swapped according to TP's RTTI info.
2026-08-17 23:03:22 -04:00
LagoLunatic e3f5172595 d_camera fixes for demo and inlines 2026-08-17 22:16:25 -04:00
LagoLunatic f846ddb939 a few more small matches for d_particle 2026-08-17 15:07:19 -04:00
LagoLunatic ae817a9745 Fix fakematches in JKRExpHeap and d_scope 2026-08-17 15:06:39 -04:00
Jcw87 e3550e01e1 d_particle (#1176) 2026-08-17 13:18:33 -04:00
LagoLunatic e389a9b814 demo work (#1172)
* Some d_message demo matches

* More demo matches

* fix jpn
2026-08-16 18:05:17 -04:00
LagoLunatic 2d094c263e Silence unused param warnings for IsDelete functions 2026-08-16 12:20:21 -04:00
LagoLunatic 150819d7ed Silence unused param warnings for debug genMessage funcs 2026-08-16 12:11:34 -04:00
LagoLunatic e08dff3c73 Debug build improvements (#1170) 2026-08-16 12:09:07 -04:00
Jcw87 80c7719636 Compiler compatibility (#1171)
* mark functions with duplicate names as static

* make std::__tag_va_List work with other compilers

* fix some offset comments

* use inlines in J3DJointFactory, JUTCacheFont

* fix class/struct mismatch

* improve const correctness

* fix missing return values

* make some JAudio namespaces more explicit
2026-08-16 11:15:07 -04:00
LagoLunatic 75c1bebcec debug_map_diff.py: Add all object summary 2026-08-14 11:53:49 -04:00
LagoLunatic 1602d5d008 debug_map_diff.py: Add option to diff all objects 2026-08-14 11:50:50 -04:00
LagoLunatic 7f5f5983fd GXAttr OK 2026-08-13 21:58:48 -04:00
LagoLunatic 2fe7e48e10 d_menu_collect closer 2026-08-13 19:06:17 -04:00
Mattias Blum 56f975b580 d_menu_collect mostly matching for GZLE01 (#1164)
* more progress

* more progress

* more progress

* more progress

* d_menu work

d_menu_collect class members cleaned up, some functions at 100% matching

* added `Nonmatching` tag to unmatched functions

* more functions at 100%

* more functions matching

* more functions matching

* more progress

* more progress

* d_menu mostly matching for GZLE01

* fixed broken member names
2026-08-13 16:27:09 -04:00
LagoLunatic 37f7baaaf0 Several demo matches (#1165) 2026-08-13 16:19:28 -04:00
LagoLunatic e1e081f37b d_a_obj_ikada OK 2026-08-13 14:23:30 -04:00
LagoLunatic 3af34ad575 Enable clang return type warning for incomplete TUs, disable unused var warning 2026-08-13 13:28:39 -04:00
LagoLunatic 93a2a6522a d_a_movie_player fixes 2026-08-12 12:56:27 -04:00
LagoLunatic 5f056105b3 d_a_magma OK for demo 2026-08-12 12:18:36 -04:00
LagoLunatic 2289b54d5f ba1 cleanup 2026-08-08 15:34:12 -04:00
Anthony Rossi 7bf6761243 D_a_npc_ba1 100% matching (#1144)
* Ba1 matched 100%

* last fixes

* Proper interaction with actor_fa

* Not matching 100% on JP

* Matching on JPN

* Forgot to update the configure file ...

* 100% matching

* Applied review suggestions

---------

Co-authored-by: Anthony Rossi <anthony.rossi@pm.me>
2026-08-08 15:01:29 -04:00
LagoLunatic 07b55421f9 msg inline fixes, remove some fake jsystem inlines 2026-08-07 16:40:56 -04:00
LagoLunatic 5e00819c5b msg mng work (#1147)
* msg mng JPN work

* stringShift match, cleanup

* stringLength equivalent for JPN

* stringLength 100% for JPN

* stringSet 100% for JPN

* Match timer tag funcs for PAL
2026-08-07 16:14:01 -04:00
LagoLunatic 1d57f04689 salvage_tbox demo match and fix inlines 2026-08-03 17:54:03 -04:00
LagoLunatic 8a602cb87f fix compilation error 2026-08-03 16:37:34 -04:00
Anders Gjerde cb6a9205db d_a_salvage_tbox - 100% (GZLJ01, GZLE01, GZLP01) (#1113)
* First attempts at d_a_salvage_tbox

* CreateHeap match

* set_mtx 87%

* set_mtx 100%

* initWaitGetItem 93%

* initWaitGetItem 98.24%

* initWaitGetItem 98.24% - removed comments

* Removed unecessary fields

* actWait02 78.04%

* daSTBox_Draw 100%

* _create 39.71%

* _create 80.10%

* _create 98.50%

* Some changes in class members to be done, _create 99.99%, started on shadowEcallBack.

* _create 100%, shadowEcallBack.getMaxWaterY 84.93%, shadowEcallBack.setup 100%

* shadowEcallBack.getMaxWaterY 93.68%

* shadowEcallBack.getMaxWaterY 94.64%

* shadowEcallBack.getMaxWaterY 99.32%

* getWaterY 99.62%

* Swap position of mpAngle to get setup back to 100%

* actWait02 81.50%

* actDrop 74.60%

* actDrop 98.80%

* actWait 32.54%

* actWait 84.60%

* actWait 88.69%

* actWait 99.35%

* actWait02 100%

* _delete 55.71%

* _delete 97.57%

* _delete 99.12%

* shadowEcallBack_c::execute 79.13%

* shadowEcallBack_c::execute 99.70%

* CreateInit 94.92%

* CreateInit 98.64%

* shadowEcallBack_c::draw 21.24%

* shadowEcallBack_c::draw 34.81%

* shadowEcallBack_c::draw 54.72%

* shadowEcallBack_c::draw 69.86%

* shadowEcallBack_c::draw 97.99%

* shadowEcallBack_c::draw 99.10%

* actWait 99.43%

* _execute 40.58%

* _execute 73.14%

* _execute 98.29%

* initWaitGetItem improvements 98.24%

* initWaitGetItem 100%

* Removed unnecessary this->

* _delete 100%

* actWait 99.82%

* CreateInit 99.52%

* shadowEcallBack_c::getMaxWaterY 99.32%

* CreateInit 99.52%

* Simplified getStaffId in _execute

* shadowEcallBack_c::draw 99.11%

* shadowEcallBack_c::draw 99.23%

* shadowEcallBack_c::draw 99.48%

* actWait 99.85%

* Named shadowCallback

* actDrop 99.60%

* Renamed m_arc_name to m_arcname

* actWait 99.97% - using dComIfGp_particle_setShipTail

* _execute 99.58% - changed actIdx type to s16

* _execute 98.43% - reverting actIdx type back to int.

* CreateInit 99.92% - created cXyz position in shadowEcallBack.

* _execute 100% - cast on ship.

* .rodata 100% - Moved crane_offset above actWait where it first is used.

* Hoisted alpha_arr in shadowEcallBack_c::execute but to no avail.

* shadowEcallBack_c::execute 100% - emitter->setGlobalTranslation for regswap and used inline emitter->setGlobalRotation

* shadowEcallBack_c::draw 100% - moved fVar3 down a few lines to fix regswap

* shadowEcallBack_c::execute 100% - getting global translation object, only modifying its y property, and setting it again.

* Removed Nonmatching from matching functions and fixed memory offsets in shadowEcallBack_c.

* Linked - Added destructor for shadowEcallBack and added Matching in configure.py

* Set MatchingFor Japanese, United Statian and European versions - demo differs quite a bit.

* Removed incorrectly added include d_a_ship.h from d_com_inf_game.h

---------

Co-authored-by: Anders Gjerde <mail@mail.com>
2026-08-03 16:36:40 -04:00