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:
2022-09-07 09:32:28 +10:00
parent 373d799f97
commit 380c623776
5 changed files with 40 additions and 0 deletions

21
espReader/ESPTree.h Normal file
View 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;
};