-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.h
85 lines (79 loc) · 1.65 KB
/
setup.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/*
* Various status thingies for the interpreter and interface.
*
*/
typedef struct frotz_setup_struct {
int attribute_assignment;
int attribute_testing;
int context_lines;
int object_locating;
int object_movement;
int left_margin;
int right_margin;
int ignore_errors;
int terp_num;
int piracy;
int undo_slots;
int expand_abbreviations;
int script_cols;
int sound;
int err_report_mode;
char *story_file;
char *story_name;
char *story_base;
char *script_name;
char *command_name;
char *save_name;
char *tmp_save_name;
char *aux_name;
char *story_path;
char *zcode_path;
char *restricted_path;
bool restore_mode; /* for a save file passed from command line*/
bool use_blorb;
bool exec_in_blorb;
} fs_t;
extern fs_t A00003;
/*** Story file header data ***/
/*
typedef struct zcode_header_struct {
zbyte version;
zbyte config;
zword release;
zword resident_size;
zword start_pc;
zword dictionary;
zword objects;
zword globals;
zword dynamic_size;
zword flags;
zbyte serial[6];
zword abbreviations;
zword file_size;
zword checksum;
zbyte terp_num;
zbyte interpreter_version;
zbyte screen_rows;
zbyte screen_cols;
zword screen_width;
zword screen_height;
zbyte font_height;
zbyte font_width;
zword functions_offset;
zword strings_offset;
zbyte default_background;
zbyte default_foreground;
zword terminating_keys;
zword line_width;
zbyte standard_high;
zbyte standard_low;
zword alphabet;
zword extension_table;
zbyte user_name[8];
zword hx_table_size;
zword hx_mouse_x;
zword hx_mouse_y;
zword hx_unicode_table;
} z_header_t;
extern A00270_t z_header;
*/