-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathGameConfiguration.h
64 lines (52 loc) · 1.42 KB
/
GameConfiguration.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#pragma once
#include <stdint.h>
#include "common.h"
#include "commonTypes.h"
#include "Config.h"
#include "allegro5/color.h"
struct GameConfiguration {
// Loadable configuration
Config config;
// items not configurable via the config file
bool overlay_mode;
bool show_designations = true;
bool show_announcements = false;
bool show_keybinds = false;
bool single_layer_view;
bool shade_hidden_tiles = false;
bool show_hidden_tiles;
bool load_ground_materials = false;
bool hide_outer_tiles = false;
uint8_t truncate_walls;
bool track_screen_center = true;
uint32_t menustate;
//DFHack::t_viewscreen viewscreen;
bool spriteIndexOverlay;
bool creditScreen = true;
int currentSpriteOverlay;
bool occlusion = true;
bool tile_count;
uint8_t bloodcutoff = 100;
uint8_t poolcutoff = 100;
//follows are anti-crash things
bool skipWorld;
bool skipCreatures;
bool skipCreatureTypes;
bool skipCreatureTypesEx;
bool skipDescriptorColors;
bool skipBuildings;
bool skipVegetation;
bool skipConstructions;
bool skipMaps;
bool skipInorganicMats;
bool skipOrganicMats;
//following are threading stuff
ALLEGRO_COND* readCond;
ALLEGRO_THREAD* readThread;
bool threadmade = false;
bool threadstarted;
bool threading_enable = true;
int platecount;
int zoom = 0;
float scale = 1.0f;
};