dbf-halloween2015
annotate src/opt.cc @ 0:50683c78264e
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 01 Nov 2015 00:09:12 +0200 |
parents | |
children |
rev | line source |
---|---|
nuclear@0 | 1 #include <stdio.h> |
nuclear@0 | 2 #include "opt.h" |
nuclear@0 | 3 |
nuclear@0 | 4 Options opt; |
nuclear@0 | 5 |
nuclear@0 | 6 bool init_options(int argc, char **argv) |
nuclear@0 | 7 { |
nuclear@0 | 8 // TODO read config files, parse args, etc... |
nuclear@0 | 9 |
nuclear@0 | 10 opt.xres = 1280; |
nuclear@0 | 11 opt.yres = 800; |
nuclear@0 | 12 opt.fullscreen = false; |
nuclear@0 | 13 opt.shadows = true; |
nuclear@0 | 14 opt.reflections = true; |
nuclear@0 | 15 |
nuclear@0 | 16 return true; |
nuclear@0 | 17 } |