-
Notifications
You must be signed in to change notification settings - Fork 5
/
object_races.h
39 lines (33 loc) · 961 Bytes
/
object_races.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
#ifndef RACES_H
#define RACES_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 RACES
{
struct patch_instruction
{
std::vector<std::string> object;
std::vector<std::string> objectExcluded;
std::vector<std::string> keywords;
std::vector<std::string> keywordsOr;
std::vector<std::string> keywordsExcluded;
std::vector<std::string> avifs;
std::vector<float> values1;
std::vector<float> values2;
std::vector<std::string> keywordsToAdd;
std::vector<std::string> keywordsToRemove;
std::vector<std::string> spellsToAdd;
};
struct patch_instruction create_patch_instruction(const std::string& line);
void process_patch_instructions(const std::list<patch_instruction>& tokens);
void* readConfig(const std::string& folder);
}
#endif