dbf-halloween2015
diff src/opt.h @ 0:50683c78264e
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 01 Nov 2015 00:09:12 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/opt.h Sun Nov 01 00:09:12 2015 +0200 1.3 @@ -0,0 +1,16 @@ 1.4 +#ifndef OPT_H_ 1.5 +#define OPT_H_ 1.6 + 1.7 +#include "vmath/vmath.h" 1.8 + 1.9 +struct Options { 1.10 + int xres, yres; 1.11 + bool fullscreen; 1.12 + bool shadows, reflections; 1.13 +}; 1.14 + 1.15 +extern Options opt; 1.16 + 1.17 +bool init_options(int argc, char **argv); 1.18 + 1.19 +#endif /* OPT_H_ */