mirror of
https://github.com/zeldaret/botw
synced 2026-06-04 10:48:32 -04:00
ksys/res: Implement GParamList System + General
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
#include <agl/Utils/aglParameter.h>
|
||||
#include <prim/seadRuntimeTypeInfo.h>
|
||||
#include "KingSystem/Resource/GeneralParamList/resGParamListObject.h"
|
||||
#include "KingSystem/Resource/GeneralParamList/resGParamListObjectGeneral.h"
|
||||
#include "KingSystem/Resource/GeneralParamList/resGParamListObjectSystem.h"
|
||||
#include "KingSystem/Resource/GeneralParamList/resGParamListTraits.h"
|
||||
|
||||
namespace ksys::res {
|
||||
@@ -37,7 +39,10 @@ bool GParamList::parse_(u8* data, size_t, sead::Heap* heap) {
|
||||
|
||||
const agl::utl::ResParameterArchive archive{data};
|
||||
|
||||
// TODO: System, etc.
|
||||
add<GParamListObjType::System>(archive.getRootList(), "System", heap, dummy_list);
|
||||
add<GParamListObjType::General>(archive.getRootList(), "General", heap, dummy_list);
|
||||
|
||||
// TODO: the rest
|
||||
|
||||
if (data)
|
||||
applyResParameterArchive(archive);
|
||||
|
||||
Reference in New Issue
Block a user