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

Add SAVW DNAs

This commit is contained in:
2016-07-23 18:51:15 -07:00
parent 9298ca7b99
commit b188c4892a
15 changed files with 217 additions and 5 deletions

View File

@@ -0,0 +1,44 @@
#ifndef __COMMON_SAVWCOMMON_HPP__
#define __COMMON_SAVWCOMMON_HPP__
#include "DNACommon.hpp"
namespace DataSpec
{
namespace SAVWCommon
{
enum class EScanCategory
{
None,
Data,
Lore,
Creature,
Research
};
struct Header : BigYAML
{
DECL_YAML
Value<atUint32> magic;
Value<atUint32> version;
Value<atUint32> areaCount;
};
struct EnvironmentVariable : BigYAML
{
DECL_YAML
String<-1> name;
Value<atUint32> unk1;
Value<atUint32> unk2;
Value<atUint32> unk3;
};
struct Layer : BigYAML
{
DECL_YAML
Value<atUint32> areaId;
Value<atUint32> layer;
};
}
}
#endif // __COMMON_SAVWCOMMON_HPP__