Merge branch 'master' of ssh+git://git.axiodl.com:6431/AxioDL/urde

This commit is contained in:
Phillip Stephens 2020-04-15 11:56:57 -07:00
commit 3487ea92c7
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
1 changed files with 7 additions and 9 deletions

View File

@ -1,26 +1,24 @@
#pragma once #pragma once
#include <string>
#include "DataSpec/DNACommon/DNACommon.hpp" #include "DataSpec/DNACommon/DNACommon.hpp"
namespace DataSpec { namespace DataSpec {
enum class ERegion { enum class ERegion { Invalid = -1, NTSC_U = 'E', PAL = 'P', NTSC_J = 'J' };
Invalid = -1,
NTSC_U = 'E',
PAL = 'P',
NTSC_J = 'J'
};
enum class EGame { enum class EGame {
Invalid=0, Invalid = 0,
MetroidPrime1, MetroidPrime1,
MetroidPrime2, MetroidPrime2,
MetroidPrime3, MetroidPrime3,
}; };
struct URDEVersionInfo : public BigDNA { struct URDEVersionInfo : BigDNA {
AT_DECL_DNA_YAML AT_DECL_DNA_YAML
String<-1> version; String<-1> version;
Value<ERegion> region; Value<ERegion> region;
Value<EGame> game; Value<EGame> game;
Value<bool> isTrilogy; Value<bool> isTrilogy;
}; };
} } // namespace DataSpec