dbf-halloween2015
annotate src/opt.h @ 3:c37fe5d8a4ed
windows port
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 01 Nov 2015 06:04:28 +0200 |
parents | |
children |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef OPT_H_ |
nuclear@0 | 2 #define OPT_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 #include "vmath/vmath.h" |
nuclear@0 | 5 |
nuclear@0 | 6 struct Options { |
nuclear@0 | 7 int xres, yres; |
nuclear@0 | 8 bool fullscreen; |
nuclear@0 | 9 bool shadows, reflections; |
nuclear@0 | 10 }; |
nuclear@0 | 11 |
nuclear@0 | 12 extern Options opt; |
nuclear@0 | 13 |
nuclear@0 | 14 bool init_options(int argc, char **argv); |
nuclear@0 | 15 |
nuclear@0 | 16 #endif /* OPT_H_ */ |