dungeon_crawler
annotate prototype/src/cfg.h @ 64:0b130c6e534d
whatever
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 02 Oct 2012 05:03:26 +0300 |
parents | d52711f2b9a1 |
children |
rev | line source |
---|---|
nuclear@18 | 1 #ifndef CFG_H_ |
nuclear@18 | 2 #define CFG_H_ |
nuclear@18 | 3 |
nuclear@60 | 4 |
nuclear@60 | 5 |
nuclear@18 | 6 extern class Config { |
nuclear@18 | 7 public: |
nuclear@18 | 8 int width, height; |
nuclear@18 | 9 bool stereo; |
nuclear@47 | 10 bool sound; |
nuclear@18 | 11 const char *level_file, *tileset_file; |
nuclear@60 | 12 |
nuclear@60 | 13 enum class Renderer { any, mrt, multipass, fwd } rend; |
nuclear@18 | 14 |
nuclear@18 | 15 Config(); |
nuclear@18 | 16 |
nuclear@18 | 17 bool parse_args(int argc, char **argv); |
nuclear@18 | 18 } cfg; |
nuclear@18 | 19 |
nuclear@18 | 20 #endif // CFG_H_ |