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:
61
DataSpec/SpecMP1.cpp
Normal file
61
DataSpec/SpecMP1.cpp
Normal 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;}
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user