conworlds
annotate src/gameopt.h @ 20:782ff06817fb
merged ...
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 26 Aug 2014 18:42:53 +0300 |
parents | |
children |
rev | line source |
---|---|
nuclear@13 | 1 #ifndef GAMEOPT_H_ |
nuclear@13 | 2 #define GAMEOPT_H_ |
nuclear@13 | 3 |
nuclear@13 | 4 struct GameOption { |
nuclear@13 | 5 bool vr; |
nuclear@13 | 6 char *vr_module; |
nuclear@13 | 7 bool stereo; |
nuclear@13 | 8 |
nuclear@13 | 9 GameOption(); |
nuclear@13 | 10 }; |
nuclear@13 | 11 |
nuclear@13 | 12 extern GameOption opt; |
nuclear@13 | 13 |
nuclear@13 | 14 bool parse_args(int argc, char **argv); |
nuclear@13 | 15 |
nuclear@13 | 16 #endif // GAMEOPT_H_ |