mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:07:42 +00:00
MSVC fixes
This commit is contained in:
@@ -98,7 +98,8 @@ struct SpecMP2 : SpecBase
|
||||
{
|
||||
rep.childOpts.emplace_back();
|
||||
ExtractReport& childRep = rep.childOpts.back();
|
||||
childRep.name = item.first;
|
||||
HECL::SystemStringView nameView(item.first);
|
||||
childRep.name = nameView;
|
||||
childRep.desc = item.second->getLevelString();
|
||||
}
|
||||
}
|
||||
@@ -147,7 +148,7 @@ struct SpecMP2 : SpecBase
|
||||
{
|
||||
HECL::SystemString lowerArg = arg;
|
||||
HECL::ToLower(lowerArg);
|
||||
if (!lowerArg.compare(0, 3, "mp2"))
|
||||
if (!lowerArg.compare(0, 3, _S("mp2")))
|
||||
{
|
||||
doMP2 = true;
|
||||
size_t slashPos = arg.find(_S('/'));
|
||||
@@ -245,31 +246,38 @@ struct SpecMP2 : SpecBase
|
||||
|
||||
bool checkFromProject(HECL::Database::Project& proj)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool readFromProject(HECL::Database::Project& proj)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool visitGameObjects(std::function<bool(const HECL::Database::ObjectBase&)>)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
struct LevelSpec : public ILevelSpec
|
||||
{
|
||||
bool visitLevelObjects(std::function<bool(const HECL::Database::ObjectBase&)>)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
struct AreaSpec : public IAreaSpec
|
||||
{
|
||||
bool visitAreaObjects(std::function<bool(const HECL::Database::ObjectBase&)>)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
};
|
||||
bool visitAreas(std::function<bool(const IAreaSpec&)>)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
};
|
||||
bool visitLevels(std::function<bool(const ILevelSpec&)>)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user