3bf44e8985
* added test game, moved engine projects under "shadow" folder * More work on build files * fix git ignore * working game folder setup * Work on game rule * [SYNC] work on the shadow engine rule * [SYNC] Added wrapper c sript * Work on wrapper * Working wrapper * Add Vulkan sdk rules * First working build using the CMake toolchain * updates * fix tests * remove .clwb Co-authored-by: dpeter99 <dpeter99@gmail.com>
36 lines
514 B
C++
36 lines
514 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <map>
|
|
#include <list>
|
|
|
|
|
|
namespace Shadow::SFF {
|
|
|
|
class SFFElement
|
|
{
|
|
public:
|
|
SFFElement* parent;
|
|
|
|
std::string name;
|
|
|
|
bool isBlock;
|
|
|
|
std::string value;
|
|
typedef std::map<std::string, SFFElement*> ChildrenMap;
|
|
|
|
ChildrenMap children;
|
|
|
|
std::string GetStringProperty(std::string name);
|
|
|
|
SFFElement* GetFirstChild();
|
|
|
|
SFFElement* GetChildByIndex(int index);
|
|
|
|
SFFElement* GetChildByName(std::string name);
|
|
|
|
~SFFElement();
|
|
|
|
};
|
|
|
|
} |