tavli

view src/opt.cc @ 17:16a420432aa3

pieces on the board
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 28 Jun 2015 23:04:37 +0300
parents
children 986c0b76513f
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.def_username = opt.saved_passwd = 0;
15 opt.piece_color[0] = v3_cons(0.3, 0.35, 0.6);
16 opt.piece_color[1] = v3_cons(1.0, 0.75, 0.5);
18 return true;
19 }