Added ESPTree header, which will handle the meta tree structure created on top of the esp/esm file buffer. Added editorconfig for column guidelines.
This commit is contained in:
21
espReader/ESPTree.h
Normal file
21
espReader/ESPTree.h
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0.If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http ://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "ESPReader.h"
|
||||
|
||||
typedef struct meta_node MetaNode;
|
||||
|
||||
/* Meta Nodes are used for constructing a more flexible tree structure
|
||||
* on top of
|
||||
*/
|
||||
struct meta_node {
|
||||
Node n;
|
||||
MetaNode *parent;
|
||||
MetaNode *prev;
|
||||
MetaNode *next;
|
||||
};
|
||||
|
||||
@@ -141,6 +141,7 @@
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="ESPReader.h" />
|
||||
<ClInclude Include="ESPTree.h" />
|
||||
<ClInclude Include="msh.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
@@ -21,6 +21,9 @@
|
||||
<ClInclude Include="msh.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="ESPTree.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Reader.c">
|
||||
|
||||
Reference in New Issue
Block a user