Move c/h files implementing/defining standard library stuff into a new libc directory...
[kugel-rb.git] / apps / plugins / frotz / setup.h
bloba9b93601226ea9ecc6fb6ddffc66d126056a25c3
1 /*
2 * Various status thingies for the interpreter and interface.
4 */
6 typedef struct frotz_setup_struct {
7 int attribute_assignment; /* done */
8 int attribute_testing; /* done */
9 int context_lines; /* done */
10 int object_locating; /* done */
11 int object_movement; /* done */
12 int left_margin; /* done */
13 int right_margin; /* done */
14 int ignore_errors; /* done */
15 int interpreter_number; /* Just dumb frotz now */
16 int piracy; /* done */
17 int undo_slots; /* done */
18 int expand_abbreviations; /* done */
19 int script_cols; /* done */
20 int save_quetzal; /* done */
21 int sound; /* done */
22 int err_report_mode; /* done */
23 } f_setup_t;
25 extern f_setup_t f_setup;
28 typedef struct zcode_header_struct {
29 zbyte h_version;
30 zbyte h_config;
31 zword h_release;
32 zword h_resident_size;
33 zword h_start_pc;
34 zword h_dictionary;
35 zword h_objects;
36 zword h_globals;
37 zword h_dynamic_size;
38 zword h_flags;
39 zbyte h_serial[6];
40 zword h_abbreviations;
41 zword h_file_size;
42 zword h_checksum;
43 zbyte h_interpreter_number;
44 zbyte h_interpreter_version;
45 zbyte h_screen_rows;
46 zbyte h_screen_cols;
47 zword h_screen_width;
48 zword h_screen_height;
49 zbyte h_font_height;
50 zbyte h_font_width;
51 zword h_functions_offset;
52 zword h_strings_offset;
53 zbyte h_default_background;
54 zbyte h_default_foreground;
55 zword h_terminating_keys;
56 zword h_line_width;
57 zbyte h_standard_high;
58 zbyte h_standard_low;
59 zword h_alphabet;
60 zword h_extension_table;
61 zbyte h_user_name[8];
63 zword hx_table_size;
64 zword hx_mouse_x;
65 zword hx_mouse_y;
66 zword hx_unicode_table;
67 } z_header_t;