dungeon_crawler
view prototype/src/cfg.h @ 79:110b2af4b9d8
fixed the shader non-conformity by explicitly converting 2.2 to vec3 before passing it to pow for the texel inverse-gamma thing
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 27 Oct 2012 01:54:39 +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_