31 lines
513 B
C++
31 lines
513 B
C++
#ifndef LEVEL_PARSER_H
|
|
#define LEVEL_PARSER_H
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include "ObjectDefines.h"
|
|
#include "../Misc/Utilities.h"
|
|
|
|
namespace GameLogic
|
|
{
|
|
namespace LevelFileLoader
|
|
{
|
|
class LevelParser
|
|
{
|
|
public:
|
|
LevelParser();
|
|
~LevelParser();
|
|
|
|
//
|
|
std::vector<Utility::DynamicMemory::SmartPointer<ObjectTypeHeader>> Parse(std::string filename);
|
|
|
|
//
|
|
LevelMetaData ParseHeader(std::string filename);
|
|
|
|
private:
|
|
LevelLoaderInternal::FormatVersion formatVersion;
|
|
|
|
};
|
|
}
|
|
}
|
|
#endif |