projects
/
dosdemo
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fixed img2bin makefile to use the included libimago
[dosdemo]
/
src
/
cfgopt.h
1
#ifndef CFGOPT_H_
2
#define CFGOPT_H_
3
4
#ifndef MSDOS
5
enum {
6
SCALER_NEAREST,
7
SCALER_LINEAR,
8
9
NUM_SCALERS
10
};
11
#endif
12
13
struct options {
14
const char *start_scr;
15
int music;
16
int mouse, sball;
17
int vsync;
18
int dbginfo;
19
#ifndef MSDOS
20
int fullscreen;
21
int scaler;
22
#endif
23
};
24
25
extern struct options opt;
26
27
int parse_args(int argc, char **argv);
28
int load_config(const char *fname);
29
30
#endif /* CFGOPT_H_ */