tavli
view src/opt.cc @ 23:3e6430028d54
slot highlghting
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 08 Jul 2015 02:31:36 +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 }