Commit Graph

24 Commits

Author SHA1 Message Date
coah
137ee3242a cleanup(iplCSPane): name fatal OSFatal color/msg and zero float (#511)
lbl_81697844..47 → scCsFatalColorR/G/B/A, lbl_8166A6E3 → scCsFatalMsg,
lbl_81694FC0 → scCsZeroF.
2026-10-01 17:15:08 -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
9e9c6bcd54 Match channel script matrix data 2026-09-22 06:54:58 +00:00
coah
51f1c36f3f Match iplCSMtx data 2026-09-22 06:10:52 +00:00
coah
7c26f15caa Match systemmenu CSPane (#88) 2026-09-21 23:13:23 -05:00
coah
69ff459b95 Match CSPane get_vec 2026-09-20 03:42:43 +00:00
coah
ebad2bc3ac Match CSPane get_scale 2026-09-20 03:40:12 +00:00
coah
65331d1af2 Match CSPane get_size 2026-09-20 03:27:31 +00:00
coah
5235792d68 Match CSPane become_youngest_pane 2026-09-20 00:36:43 +00:00
Tim Schneeberger
664635b376 Match VmSystem & iplCS* 2026-08-11 16:11:52 +02:00
Tim Schneeberger
2fdcc7b70e Fix formatting & code style 2026-07-23 06:45:32 +02:00
Tim Schneeberger
9d2b8a0e5b Rename CHANSVmObjType members 2026-07-18 20:58:05 +02:00
ziqiangao
2288a8509d implement some CHANS Vm Core functions 2026-03-29 19:51:26 +01:00
koopthekoopa
461a71352f Fix errors and cleanup 2026-03-27 18:36:53 +00:00
KoopTheKoopa
230fbf8ba2 Merge pull request #2 from ziqiangao/main
An attempt at implementing new functions
2026-03-27 16:21:34 +00:00
koopthekoopa
5947da829f Match more of iplChannelScriptManager.cpp 2026-03-18 14:58:16 +00:00
koopthekoopa
6120c26000 Equilavent match iplChannelObj.cpp 2026-03-17 19:59:55 +00:00
ziqiangao
77cd26f208 some attempt at matching, please clean up 2026-03-15 20:09:24 +00:00
koopthekoopa
6eaf58f2de Say hello, clang-format 2026-03-15 13:32:23 +00:00
koopthekoopa
13a243e435 Match BTE 2026-02-25 00:31:44 +00:00
koopthekoopa
3ba3a93a27 Equilavent match scene/board 2026-01-22 16:39:57 +00:00
koopthekoopa
22729eb75f Progress on iplCS 2025-09-29 08:22:27 +01:00
koopthekoopa
9e307c758c More progress on CHANSVm 2025-09-21 15:37:55 +01:00
koopthekoopa
4456ca5fb8 Some progress on VmSystem 2025-05-31 15:37:19 +01:00