dungeon_crawler

view prototype/src/cfg.h @ 70:f55ddab0f3a4

"fixed" the disappearing lights issue
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 09 Oct 2012 02:54:01 +0300
parents d52711f2b9a1
children
line source
1 #ifndef CFG_H_
2 #define CFG_H_
6 extern class Config {
7 public:
8 int width, height;
9 bool stereo;
10 bool sound;
11 const char *level_file, *tileset_file;
13 enum class Renderer { any, mrt, multipass, fwd } rend;
15 Config();
17 bool parse_args(int argc, char **argv);
18 } cfg;
20 #endif // CFG_H_