tavli
annotate src/opt.cc @ 22:c2a2069a49ec
slot highlighting, TODO blur
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 07 Jul 2015 21:56:37 +0300 |
parents | 986c0b76513f |
children |
rev | line source |
---|---|
nuclear@17 | 1 #include <stdio.h> |
nuclear@17 | 2 #include "opt.h" |
nuclear@17 | 3 |
nuclear@17 | 4 Options opt; |
nuclear@17 | 5 |
nuclear@17 | 6 bool init_options(int argc, char **argv) |
nuclear@17 | 7 { |
nuclear@17 | 8 // TODO read config files, parse args, etc... |
nuclear@17 | 9 |
nuclear@17 | 10 opt.xres = 1280; |
nuclear@17 | 11 opt.yres = 800; |
nuclear@17 | 12 opt.fullscreen = false; |
nuclear@19 | 13 opt.shadows = true; |
nuclear@19 | 14 opt.reflections = true; |
nuclear@18 | 15 |
nuclear@17 | 16 opt.def_username = opt.saved_passwd = 0; |
nuclear@17 | 17 |
nuclear@17 | 18 opt.piece_color[0] = v3_cons(0.3, 0.35, 0.6); |
nuclear@17 | 19 opt.piece_color[1] = v3_cons(1.0, 0.75, 0.5); |
nuclear@17 | 20 |
nuclear@17 | 21 return true; |
nuclear@17 | 22 } |