-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathoption.h
69 lines (53 loc) · 1017 Bytes
/
option.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#ifndef OPTION_H
#define OPTION_H
#include "anise.h"
using std::string;
#define TITLE "ANISE beta 10"
#define TITLE_EXTRA " - A Newly Implemented Scripting Engine for AI5V\n"
#define FILE_NAME_LENGTH 32
enum GameType {
GAME_NANPA1,
GAME_NANPA2,
GAME_ISAKU,
GAME_KAKYUSEI,
GAME_AISIMAI,
GAME_KAWA,
GAME_NONO,
GAME_ISLE,
GAME_CRESCENT,
GAME_JACK,
GAME_UNKNOWN
};
enum FontType {
FONT_JIS,
FONT_JISHAN,
FONT_GAMEBOX
};
class Option {
public:
const char *title;
const char *usage;
GameType game_type;
FontType font_type;
bool is_unpacked;
bool is_fullscreen;
bool is_filter;
bool is_scanline;
string path_name;
string packed_file_name;
string packed_file_extension;
string script_file_name;
string sound_file_name;
string sound_file_extension;
word variable_size;
word selection_item_entry;
word procedure_entry;
word animation_slot_entry;
word animation_script_entry;
int sound_freq;
public:
Option();
~Option();
bool initialize(int argc, char *argv[]);
};
#endif