2024-08-30 01:44:20 +08:00

27 lines
600 B
C++

class Fizz : public ENGINE
{
public:
Fizz()
{
check_by = CHECK_BY::CUSTOM;
check_by_target = [&]()
{
auto _ = Util::CheckFile(L"data.gsp") && Util::CheckFile(L"Image*.gsp") && Util::CheckFile(L"bgm*.gsp") && Util::CheckFile(L"se.gsp");
if (!_)
return false;
if (Util::CheckFile(L"voice/*.gsp"))
{
typex = 1;
}
else
{
typex = 2;
}
return true;
};
};
bool attach_function();
int typex = 0;
};