2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 11:07:44 +00:00

integrated dataspec into RetroCommon

This commit is contained in:
Jack Andersen
2015-07-01 13:50:39 -10:00
parent af64e55395
commit 1e7f39e4c5
17 changed files with 214 additions and 18 deletions

61
DataSpec/SpecMP1.cpp Normal file
View File

@@ -0,0 +1,61 @@
#include "SpecBase.hpp"
namespace Retro
{
struct SpecMP1 : public SpecBase
{
bool checkFromGCNDisc(const NOD::DiscGCN& disc)
{
}
bool readFromGCNDisc(const NOD::DiscGCN& disc)
{
}
bool checkFromWiiDisc(const NOD::DiscWii& disc)
{
}
bool readFromWiiDisc(const NOD::DiscWii& disc)
{
}
bool checkFromProject(const HECL::Database::Project& proj)
{
}
bool readFromProject(const HECL::Database::Project& proj)
{
}
bool visitGameObjects(std::function<bool(const HECL::Database::ObjectBase&)>)
{
}
struct LevelSpec : public ILevelSpec
{
bool visitLevelObjects(std::function<bool(const HECL::Database::ObjectBase&)>)
{
}
struct AreaSpec : public IAreaSpec
{
bool visitAreaObjects(std::function<bool(const HECL::Database::ObjectBase&)>)
{
}
};
bool visitAreas(std::function<bool(const IAreaSpec&)>)
{
}
};
bool visitLevels(std::function<bool(const ILevelSpec&)>)
{
}
};
static HECL::Database::DataSpecEntry SpecMP1
(
_S("MP1"),
_S("Data specification for original Metroid Prime engine"),
[](HECL::Database::DataSpecTool) -> HECL::Database::IDataSpec* {return new struct SpecMP1;}
);
}