dungeon_crawler

view prototype/src/cfg.h @ 77:d89b403f630b

added gamma correction (without dialing the lighting down yet) fixed the incorrect PointLight sphere radius
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 26 Oct 2012 03:03:52 +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_