-
Notifications
You must be signed in to change notification settings - Fork 5
/
object_alch.h
44 lines (39 loc) · 1.15 KB
/
object_alch.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef ALCH_H
#define ALCH_H
using namespace std;
# include "PCH.h"
# include "dirent.h"
# include "gameforms.h"
# include "utility.h"
# include <fstream>
# include <iostream>
# include <regex>
# include <string>
# include <vector>
namespace ALCH
{
struct line_content
{
std::vector<std::string> objects;
std::vector<std::string> objectExcluded;
std::vector<std::string> keywords;
std::vector<std::string> keywordsOr;
std::vector<std::string> keywordsExcluded;
std::vector<std::string> mgefs;
std::vector<std::string> mgefsOr;
std::vector<std::string> mgefsExcluded;
std::vector<std::string> keywordsToAdd;
std::vector<std::string> keywordsToRemove;
std::string filterType;
std::string capsvalue;
std::string weight;
std::string fullName;
std::vector<std::vector<std::string>> addedObjects;
std::vector<std::string> removedObjects;
std::vector<std::vector<std::string>> changedObjects;
};
struct line_content create_patch_instruction(const std::string& line);
void process_patch_instructions(const std::list<line_content>& tokens);
void* readConfig(const std::string& folder);
}
#endif