dbf-halloween2015

diff src/opt.cc @ 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.cc	Sun Nov 01 00:09:12 2015 +0200
     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 +}