Commit Graph

2796 Commits

Author SHA1 Message Date
LagoLunatic 94a5eadb5f Add DEAD_STRING macro to clearly distinguish unused strings 2026-08-31 16:08:40 -04:00
LagoLunatic e7e0e8e581 m_Do demo work (#1189)
* m_Do_controller_pad and m_Do_Reset OK for demo, m_Do_machine 100% with weak func order

* Add machine.pch, m_Do_machine OK for demo

* m_Do_gba_com and m_Do_MemCardRWmng OK for demo

* m_Do_graphic work

* m_Do_graphic JPN/PAL version diffs
2026-08-31 15:52:01 -04:00
Jcw87 18e0b77903 fix TEnumerator (#1192) 2026-08-31 12:37:06 -04:00
LagoLunatic e9f0482395 JASChannelMgr and JASBankMgr OK 2026-08-28 20:42:59 -04:00
LagoLunatic e5b3616f36 JASDSPChannel inline fixes, match TDSPChannel::alloc 2026-08-28 17:27:58 -04:00
LagoLunatic 6bafbce0af fvb OK 2026-08-28 16:34:27 -04:00
LagoLunatic f2be4dc1ff Various J3D inline fixes 2026-08-28 15:03:03 -04:00
LagoLunatic 60a05bdb83 Fix J3DGXColor ctors for clang 2026-08-28 14:53:14 -04:00
Jcw87 9234aa8286 Compiler compatibility, other fixes (#1188)
* add missing data

* fix return value

* d_camera fix

* missing GXEnd

* struct fixes

* fix include
2026-08-28 14:07:33 -04:00
LagoLunatic 77f9369fd6 J3DMatBlock OK 2026-08-28 12:57:22 -04:00
LagoLunatic d27955c04d Some d_map matches and inlines 2026-08-27 14:48:27 -04:00
LagoLunatic 1d3e6a84f2 Add debug-only vi TUs from TP to fix debug build 2026-08-27 13:12:01 -04:00
Jcw87 f252856245 d_map (#1184) 2026-08-26 21:29:33 -04:00
LagoLunatic 7ac30822c3 d_a_kb OK + several demo matches 2026-08-26 17:52:15 -04:00
LagoLunatic f824d647b2 vi matches for all versions 2026-08-26 15:59:05 -04:00
LagoLunatic 519652534f d_menu_dmap almost matching for demo 2026-08-26 15:43:30 -04:00
Asteria Louven 3688caff6e matches in dMap (#1183)
* match dMap_c::drawPointMain

* dMap_c::drawPointAgb
dMap_c::drawPointMain

* fix drawPointAgb

* initial drawPointGc implementation

* finalize drawPointGc

* match dMap_2DPoint_c::draw()

* apply code review cleanups

* fix indent
2026-08-26 15:36:58 -04:00
Teddy Heidmann efe690876c d_menu_dmap (#1166)
* initial structure from ghidra

* dMd_HIO_c fields and constructor

* screenSet progress

* More screenSet

* boss door

* initialize

* treasureDraw

* largest method ever

* alphas

* cursors

* notes

* itemScale

* so many pointers

* pls no more string logic

* boss animes

* deletes are weird in ghidra

* _draw()

* cleanup for review, configure matching

* fix dMap_GetFloorNoForDmap

* not matching GZLJ01

* different fix for d_map.h

* GZLJ01

* GZLP01

* D44J01

* missing import

* replace !=0 with != NULL for pointers

* Revert "D44J01"

This reverts commit b0ce19b9f1.
2026-08-26 14:11:18 -04:00
LagoLunatic e215723751 Fix d_a_kamome not actually being equivalent (jump tables) 2026-08-25 15:01:19 -04:00
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