Commit Graph

318 Commits

Author SHA1 Message Date
coah
1542f73080 feat: link tiPredictLang unit (#220)
Declare the predictlang Sample class with its inline constructors so the
LayoutByNW4R thunks are emitted in the original order, and link the unit.
2026-09-27 23:50:01 -05:00
coah
5ffea56c30 feat: match tiToolBar unit (#218)
Fix the cancelStateFocusIn case label, declare the toolbar Sample class
with its inline constructors so the LayoutByNW4R thunks are emitted in
the original order, relabel the unit's data, and point the two
one-past-the-end csPaneToAnimation entries at csAninationFile+0x1DC.
2026-09-27 23:40:50 -05:00
coah
3dfeacd4f6 Match HomeButton base unit (#217)
Name the HBMAllocMem result so create's pane manager web colors like the original, replace the lbl_ float externs with literals, move the unused HomeButton int constants to in-class initializers, and emit calc_battery before calc_letter. HBMBase.cpp is now Matching.
2026-09-27 23:32:44 -05:00
coah
784a463f27 feat: match iplChanAppBase unit (#215)
Define AnmController before the gui classes in this unit so its weak
vtable is emitted last, name the unit's .data literals as
compiler-generated symbols, and link the unit.
2026-09-27 23:29:20 -05:00
coah
a824e02a30 fix: restore 43U DOL hash on main (#213)
* fix: restore MSL extab flags and force-active stripped symbols

* fix: limit ChannelTitle novtable header changes to IPL_CHANNEL_TITLE_NOVTABLE

PR #182 made gui::EventHandler novtable and rewrote HermiteIntp for every
unit, which dropped __vt__Q23gui12EventHandler from linked scene units and
moved EventHandler::onEvent. Restore the pre-#182 definitions unless the
macro is defined.

* fix: restore u16 addrType in cdb::Manager::createNewRecord

The original symbol takes u16 (mangled UsUs); the enum parameter made
createNewRecord 4 bytes longer. Match the caller in iplNwc24Manager with a
u16 local assigned through if/else.

* fix: emit TVRC loop handlers after TVRCSendStartAsync

The original object places both alarm handlers at the end of .text.

* fix: construct scene::Date::mscMaxDate with utility::Date

The MaxDate wrapper emitted a weak MaxDate ctor that the original does
not have, shifting .text by 0x10 after iplDate. Go back to a plain
utility::Date followed by the 0x10-byte padding array.

* fix: define textinput PaneComponent dtor after PaneManager dtor

Matches the original object's function order, which also pulls the weak
GUIComponent dtor into place.

* fix: define EGG audio Arg and SoundHeapMgr ctors out of line

Emits IAudioMgr::Arg::Arg first and SoundHeapMgr's weak dtor ahead of its
ctor, matching the original eggAudioMgr function order.

* fix: define WaveFile dtors in AudioWavePlayer after the ctor

The original emits WavePacket's weak dtor first, then the WaveFileAiff and
WaveFileWav dtors. Declaring the dtors after getBit keeps the vtables in
AudioWaveUtility.

* fix: restore fork-point iplCSMtx string pooling

Moving "MTX34" into a static const array put it in .sdata2 and left the
pooled .sdata copy to be dead-stripped, shifting both sections.

* fix: share tiGUIManager's named 0.0f constant

drawLine_ and PaneComponent::contain now load lbl_81694EE8, as in the
original, instead of emitting their own 0.0f ahead of it in .sdata2.

* fix: force-active unreferenced iplDate and WDScan data

MWLD dead-strips scene::padding (the 0x10 bytes after Date::mscMaxDate)
and the unreferenced WDScan .sdata2 bytes lbl_81695063/lbl_81695067,
which shifted .bss and .sdata2.

* fix: unlink eggAudioExpMgr

MWCC emits the @52 calc thunk ahead of the @52 dtor thunk, but the
original has them the other way round, which swaps two vtable entries.
Link the original object until the order is matched.

* fix: shrink Calendar .data padding now that EventHandler has a vtable

With gui::EventHandler no longer novtable, its 0x18-byte vtable fills most
of the gap after __vt__Q33ipl5scene8Calendar; keep one 4-byte pad.
2026-09-27 23:26:31 -05:00
coah
12c7a67d2c Match iplwww browser object (#208) 2026-09-22 22:21:38 -05:00
coah
bf479c7e3f Match ChannelTitle unit (#182) 2026-09-22 03:22:51 -05:00
coah
8923728dc4 Match keyboard GUI manager 2026-09-22 06:48:36 +00:00
coah
71b4ac3296 Merge pull request #130 from coah80/agent/continue-0922/refill15-tiInputForm
Match tiInputForm word wrapping
2026-09-22 01:48:01 -05:00
coah
47f78dcead Match tiInputForm word wrapping 2026-09-22 06:17:40 +00:00
coah
2b016f9144 Match iplNwc24Manager 2026-09-22 04:31:50 +00:00
coah
1171037c9b Match iplDate static data 2026-09-22 04:25:34 +00:00
coah
41f01f5012 Link www surface unit 2026-09-22 00:42:23 +00:00
coah
513eb4dca2 Improve ChannelTitle matching
Match additional ChannelTitle functions.
2026-09-21 15:23:21 -05:00
coah
cccb435398 Fix controller rumble default 2026-09-20 17:36:16 +00:00
coah
bb9007a379 Match save data title migration 2026-09-20 14:41:40 +00:00
coah
380b3afe96 Match revolution controller constructor 2026-09-20 14:18:50 +00:00
coah
9560a26349 Match controller master invalidation 2026-09-20 14:17:58 +00:00
coah
e8eb752bc9 Match controller master decide 2026-09-20 14:17:29 +00:00
coah
21354e8095 Match revolution controller triggers 2026-09-20 14:16:51 +00:00
coah
ba9d2f8547 Match classic controller triggers 2026-09-20 14:16:20 +00:00
coah
f91c2aa1ab Match classic controller down 2026-09-20 14:15:49 +00:00
coah
10527d7457 Match revolution repeat helper 2026-09-20 14:14:14 +00:00
coah
e0c1ed552b Match revolution pinch helpers 2026-09-20 14:13:55 +00:00
coah
181a66a81b Match revolution position accessors 2026-09-20 14:12:18 +00:00
coah
215ddd3195 Match controller stick accessors 2026-09-20 14:09:01 +00:00
coah
b7bd6ce519 Match controller main stick accessor 2026-09-20 14:08:41 +00:00
coah
06b833a14b Match address destroy 2026-09-20 14:03:20 +00:00
coah
3e8e1567b2 Match controller master helpers 2026-09-20 13:58:08 +00:00
coah
aafb419bd1 Match controller free 2026-09-20 13:50:09 +00:00
coah
4cf0436c1a Match controller allocator 2026-09-20 13:43:51 +00:00
coah
72280d4ee3 Match address NWC24 state 2026-09-20 13:43:26 +00:00
coah
bd8334a741 Match address parental state 2026-09-20 13:43:13 +00:00
coah
ef6987878b Match address edit message state 2026-09-20 13:43:02 +00:00
coah
71cf69bb1b Match address add message state 2026-09-20 13:42:50 +00:00
coah
e41786f08f Match hardware keyboard input 2026-09-20 13:36:42 +00:00
coah
36a2835fa2 Match controller rumble 2026-09-20 13:36:35 +00:00
coah
81ed31027c Match controller horizon 2026-09-20 13:36:14 +00:00
coah
067c45de77 Match controller DPD projection 2026-09-20 13:36:04 +00:00
coah
49f5555ede Match controller DPD position 2026-09-20 13:35:51 +00:00
coah
f7107e23bb Match controller DPD validity 2026-09-20 13:35:39 +00:00
coah
fa405951c1 Match Hermite interpolation constructor 2026-09-20 13:29:19 +00:00
coah
e83b5bf2bc Match controller pinch release 2026-09-20 13:29:03 +00:00
coah
379008eb53 Match controller pinch trigger 2026-09-20 13:28:51 +00:00
coah
f051f83348 Match address string clear 2026-09-20 13:22:01 +00:00
coah
44c95c2f5c Match controller repeat accessor 2026-09-20 13:21:54 +00:00
coah
9fd301c8fd Match address display code 2026-09-20 13:19:33 +00:00
coah
3b1a718a85 Match controller interface read 2026-09-20 13:19:24 +00:00
coah
c0e6edd6d4 Match controller release trigger 2026-09-20 12:46:53 +00:00
coah
dbaa9286f3 Match controller type wrapper 2026-09-20 12:45:13 +00:00