tavli
view src/opt.cc @ 18:986c0b76513f
shadows, not completed
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 29 Jun 2015 01:29:36 +0300 |
parents | 16a420432aa3 |
children | 37dead56f01e |
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 = false; opt.reflections = true;
15 opt.def_username = opt.saved_passwd = 0;
17 opt.piece_color[0] = v3_cons(0.3, 0.35, 0.6);
18 opt.piece_color[1] = v3_cons(1.0, 0.75, 0.5);
20 return true;
21 }