dungeon_crawler
annotate prototype/src/cfg.h @ 53:1ea56011c1ff
stuff + streaming start
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 19 Sep 2012 01:08:41 +0300 |
parents | 6d71dd4760f9 |
children | aa86119e3295 |
rev | line source |
---|---|
nuclear@18 | 1 #ifndef CFG_H_ |
nuclear@18 | 2 #define CFG_H_ |
nuclear@18 | 3 |
nuclear@18 | 4 extern class Config { |
nuclear@18 | 5 public: |
nuclear@18 | 6 int width, height; |
nuclear@18 | 7 bool stereo; |
nuclear@47 | 8 bool sound; |
nuclear@18 | 9 const char *level_file, *tileset_file; |
nuclear@42 | 10 bool use_deferred; |
nuclear@18 | 11 |
nuclear@18 | 12 Config(); |
nuclear@18 | 13 |
nuclear@18 | 14 bool parse_args(int argc, char **argv); |
nuclear@18 | 15 } cfg; |
nuclear@18 | 16 |
nuclear@18 | 17 #endif // CFG_H_ |