tavli

annotate 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
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@17 13 opt.def_username = opt.saved_passwd = 0;
nuclear@17 14
nuclear@17 15 opt.piece_color[0] = v3_cons(0.3, 0.35, 0.6);
nuclear@17 16 opt.piece_color[1] = v3_cons(1.0, 0.75, 0.5);
nuclear@17 17
nuclear@17 18 return true;
nuclear@17 19 }