aboutsummaryrefslogtreecommitdiffstats
path: root/include/config.hpp
blob: bc9d0525ed84d9d04393387451d7572c3905cf45 (plain)
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
#ifndef CONFIG_H
#define CONFIG_H

#include <string>

namespace game {
	extern unsigned int HLINE;
	extern unsigned int SCREEN_WIDTH;
	extern unsigned int SCREEN_HEIGHT;
	extern bool         FULLSCREEN;

	namespace config {
		extern float VOLUME_MASTER;
		extern float VOLUME_MUSIC;
		extern float VOLUME_SFX;

		extern std::string xmlFolder;
		
		void read(void);
		void update(void);
		void save(void);
	}
}

#endif //CONFIG_H