tavli

view src/opt.cc @ 21:c3fbf9616dbd

slot bounds, and ray testing
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 02 Jul 2015 00:01:39 +0300
parents 986c0b76513f
children
line source
1 #include <stdio.h>
2 #include "opt.h"
4 Options opt;
6 bool init_options(int argc, char **argv)
7 {
8 // TODO read config files, parse args, etc...
10 opt.xres = 1280;
11 opt.yres = 800;
12 opt.fullscreen = false;
13 opt.shadows = true;
14 opt.reflections = true;
16 opt.def_username = opt.saved_passwd = 0;
18 opt.piece_color[0] = v3_cons(0.3, 0.35, 0.6);
19 opt.piece_color[1] = v3_cons(1.0, 0.75, 0.5);
21 return true;
22 }