mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-20 05:16:24 -04:00
copy homebuttonLib from oot-vc (#2960)
* initial copy of hbm from sdk_2009-12-11 * some more nw4hbm cleanup * nw4hbm db mostly done * nw4hbm snd copied from oot-vc * nw4hbm ut copied * nw4hbm lyt copied * nw4hbm copied, mostly matching usa 1.0 * setup nw4hbm debug define * fix HBMDataInfo struct * add rvl sdk card lib
This commit is contained in:
@@ -496,6 +496,14 @@ def RevolutionLib(lib_name: str, objects: List[Object]) -> Dict[str, Any]:
|
||||
"progress_category": "sdk",
|
||||
"objects": objects,
|
||||
}
|
||||
elif config.version == "RZDE01_00":
|
||||
return {
|
||||
"lib": lib_name,
|
||||
"mw_version": "GC/3.0a3",
|
||||
"cflags": [*cflags_revolution_retail, "-DSDK_SEP2006", "-DNW4HBM_DEBUG"],
|
||||
"progress_category": "sdk",
|
||||
"objects": objects,
|
||||
}
|
||||
else:
|
||||
return {
|
||||
"lib": lib_name,
|
||||
@@ -1614,6 +1622,25 @@ config.libs = [
|
||||
Object(NonMatching, "revolution/dsp/dsp_task.c"),
|
||||
],
|
||||
),
|
||||
RevolutionLib(
|
||||
"card",
|
||||
[
|
||||
Object(NonMatching, "revolution/card/CARDBios.c"),
|
||||
Object(NonMatching, "revolution/card/CARDUnlock.c"),
|
||||
Object(NonMatching, "revolution/card/CARDRdwr.c"),
|
||||
Object(NonMatching, "revolution/card/CARDBlock.c"),
|
||||
Object(NonMatching, "revolution/card/CARDDir.c"),
|
||||
Object(NonMatching, "revolution/card/CARDCheck.c"),
|
||||
Object(NonMatching, "revolution/card/CARDMount.c"),
|
||||
Object(NonMatching, "revolution/card/CARDFormat.c"),
|
||||
Object(NonMatching, "revolution/card/CARDOpen.c", extra_cflags=["-char signed"]),
|
||||
Object(NonMatching, "revolution/card/CARDCreate.c"),
|
||||
Object(NonMatching, "revolution/card/CARDRead.c"),
|
||||
Object(NonMatching, "revolution/card/CARDWrite.c"),
|
||||
Object(NonMatching, "revolution/card/CARDStat.c"),
|
||||
Object(NonMatching, "revolution/card/CARDNet.c"),
|
||||
],
|
||||
),
|
||||
RevolutionLib(
|
||||
"hio2",
|
||||
[
|
||||
@@ -1693,6 +1720,51 @@ config.libs = [
|
||||
Object(NonMatching, "revolution/gd/GDGeometry.c"),
|
||||
],
|
||||
),
|
||||
RevolutionLib(
|
||||
"homebuttonLib",
|
||||
[
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/db/db_assert.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/db/db_console.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/db/db_DbgPrintBase.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/db/db_directPrint.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/db/db_mapFile.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/lyt/lyt_animation.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/lyt/lyt_arcResourceAccessor.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/lyt/lyt_bounding.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/lyt/lyt_common.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/lyt/lyt_drawInfo.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/lyt/lyt_group.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/lyt/lyt_layout.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/lyt/lyt_material.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/lyt/lyt_pane.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/lyt/lyt_picture.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/lyt/lyt_resourceAccessor.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/lyt/lyt_textBox.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/lyt/lyt_window.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/math/math_triangular.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/snd/snd_SoundArchivePlayer.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/snd/snd_SoundHandle.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/snd/snd_SoundPlayer.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/snd/snd_SoundStartable.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/ut/ut_binaryFileFormat.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/ut/ut_CharStrmReader.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/ut/ut_CharWriter.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/ut/ut_Font.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/ut/ut_LinkList.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/ut/ut_list.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/ut/ut_ResFont.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/ut/ut_ResFontBase.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/ut/ut_TagProcessorBase.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/nw4hbm/ut/ut_TextWriterBase.cpp"),
|
||||
|
||||
Object(NonMatching, "revolution/homebuttonLib/HBMBase.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/HBMAnmController.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/HBMFrameController.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/HBMGUIManager.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/HBMController.cpp"),
|
||||
Object(NonMatching, "revolution/homebuttonLib/HBMRemoteSpk.cpp"),
|
||||
],
|
||||
),
|
||||
{
|
||||
"lib": "Runtime.PPCEABI.H",
|
||||
"mw_version": MWVersion(config.version),
|
||||
|
||||
Reference in New Issue
Block a user