dungeon_crawler

diff prototype/src/cfg.h @ 18:5c41e6fcb300

- commandline arguments - stereoscopic rendering - FBO fixed
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 21 Aug 2012 03:17:48 +0300
parents
children 6d71dd4760f9
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/prototype/src/cfg.h	Tue Aug 21 03:17:48 2012 +0300
     1.3 @@ -0,0 +1,15 @@
     1.4 +#ifndef CFG_H_
     1.5 +#define CFG_H_
     1.6 +
     1.7 +extern class Config {
     1.8 +public:
     1.9 +	int width, height;
    1.10 +	bool stereo;
    1.11 +	const char *level_file, *tileset_file;
    1.12 +
    1.13 +	Config();
    1.14 +
    1.15 +	bool parse_args(int argc, char **argv);
    1.16 +} cfg;
    1.17 +
    1.18 +#endif	// CFG_H_