summary refs log tree commit diff
path: root/src/config.h
blob: f6d7283e2c7eae96adaec55dfbc786e308ae70ae (plain) (blame)
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
#ifndef BLACKSHADES_CONFIG_H
#define BLACKSHADES_CONFIG_H

#include <stdbool.h>
#include <stdint.h>

struct Level {
	int environment;
	unsigned char evil_weapons;
	unsigned char evil_rarity;
	unsigned char guard_weapon;
	unsigned char guard_reloads;
	int time;
	float difficulty;
};

struct Config {
	int width;
	int height;
	bool vsync;
	bool blur;
	bool blood;

	bool music;

	float mouse_sensitivity;

	struct {
		struct Level *ptr;
		size_t len;
	} levels;
	bool debug;
};

#endif // BLACKSHADES_CONFIG_H