tavli
diff src/opt.h @ 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/opt.h Sun Jun 28 23:04:37 2015 +0300 1.3 @@ -0,0 +1,19 @@ 1.4 +#ifndef OPT_H_ 1.5 +#define OPT_H_ 1.6 + 1.7 +#include "vmath/vmath.h" 1.8 + 1.9 +struct Options { 1.10 + int xres, yres; 1.11 + bool fullscreen; 1.12 + 1.13 + char *def_username, *saved_passwd; 1.14 + 1.15 + vec3_t piece_color[2]; 1.16 +}; 1.17 + 1.18 +extern Options opt; 1.19 + 1.20 +bool init_options(int argc, char **argv); 1.21 + 1.22 +#endif /* OPT_H_ */