ld33_umonster
diff src/opt.cc @ 0:4a6683050e29
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 22 Aug 2015 07:15:00 +0300 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/opt.cc Sat Aug 22 07:15:00 2015 +0300 1.3 @@ -0,0 +1,17 @@ 1.4 +#include <stdio.h> 1.5 +#include "opt.h" 1.6 + 1.7 +Options opt; 1.8 + 1.9 +bool init_options(int argc, char **argv) 1.10 +{ 1.11 + // TODO read config files, parse args, etc... 1.12 + 1.13 + opt.xres = 1280; 1.14 + opt.yres = 800; 1.15 + opt.fullscreen = false; 1.16 + opt.shadows = true; 1.17 + opt.reflections = true; 1.18 + 1.19 + return true; 1.20 +}