forked from DFHack/df-structures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdf.graphics.xml
207 lines (174 loc) · 7.32 KB
/
df.graphics.xml
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<data-definition>
<struct-type type-name='graphic'>
<int32_t name='screenx'/>
<int32_t name='screeny'/>
<int8_t name='screenf'/>
<int8_t name='screenb'/>
<int8_t name='screenbright'/>
<pointer type-name='uint8_t' name='screen' is-array='true'/>
<pointer type-name='int32_t' name='screentexpos' is-array='true'/>
<pointer type-name='int8_t' name='screentexpos_addcolor' is-array='true'/>
<pointer type-name='uint8_t' name='screentexpos_grayscale' is-array='true'/>
<pointer type-name='uint8_t' name='screentexpos_cf' is-array='true'/>
<pointer type-name='uint8_t' name='screentexpos_cbr' is-array='true'/>
<static-array type-name='int32_t' name='clipx' count='2'/>
<static-array type-name='int32_t' name='clipy' count='2'/>
<static-array type-name='int32_t' name='tex_pos' count='1'/>
<int32_t name='rect_id'/>
<static-array type-name='int64_t' name='print_time' count='100'/>
<int32_t name='print_index'/>
<int8_t name='display_frames'/>
<int16_t name='force_full_display_count'/>
<int8_t name='original_rect'/>
<int32_t name='dimx'/>
<int32_t name='dimy'/>
<int32_t name='mouse_x'/>
<int32_t name='mouse_y'/>
<pointer type-name='uint8_t' name='screen_limit'/>
</struct-type>
<class-type type-name='renderer'>
<pointer type-name='uint8_t' name='screen' is-array='true'/>
<pointer type-name='int32_t' name='screentexpos' is-array='true'/>
<pointer type-name='int8_t' name='screentexpos_addcolor' is-array='true'/>
<pointer type-name='uint8_t' name='screentexpos_grayscale' is-array='true'/>
<pointer type-name='uint8_t' name='screentexpos_cf' is-array='true'/>
<pointer type-name='uint8_t' name='screentexpos_cbr' is-array='true'/>
<pointer type-name='uint8_t' name='screen_old' is-array='true'/>
<pointer type-name='int32_t' name='screentexpos_old' is-array='true'/>
<pointer type-name='int8_t' name='screentexpos_addcolor_old' is-array='true'/>
<pointer type-name='uint8_t' name='screentexpos_grayscale_old' is-array='true'/>
<pointer type-name='uint8_t' name='screentexpos_cf_old' is-array='true'/>
<pointer type-name='uint8_t' name='screentexpos_cbr_old' is-array='true'/>
<virtual-methods>
<vmethod name='update_tile'> <int32_t name='x'/> <int32_t name='y'/> </vmethod>
<vmethod name='update_all'/>
<vmethod name='render'/>
<vmethod name='set_fullscreen'/>
<vmethod name='zoom'>
<enum base-type='int32_t' type-name='zoom_commands'/>
</vmethod>
<vmethod name='resize'> <int32_t name='w'/> <int32_t name='h'/> </vmethod>
<vmethod name='grid_resize'> <int32_t name='w'/> <int32_t name='h'/> </vmethod>
<vmethod is-destructor='true'/>
<vmethod ret-type='bool' name='get_mouse_coords'>
<pointer type-name='int32_t' name='x'/>
<pointer type-name='int32_t' name='y'/>
</vmethod>
<vmethod ret-type='bool' name='uses_opengl'/>
</virtual-methods>
</class-type>
<enum-type type-name='zoom_commands'>
<enum-item name='zoom_in'/>
<enum-item name='zoom_out'/>
<enum-item name='zoom_reset'/>
<enum-item name='zoom_fullscreen'/>
<enum-item name='zoom_resetgrid'/>
</enum-type>
<struct-type type-name='enabler'>
<bool name='fullscreen'/>
<stl-deque name='overridden_grid_sizes'>
<int32_t/>
<int32_t/>
</stl-deque>
<pointer name='renderer' type-name='renderer'/>
<int32_t name='calculated_fps'/>
<int32_t name='calculated_gfps'/>
<stl-deque name='frame_timings' type-name='int32_t'/>
<stl-deque name='gframe_timings' type-name='int32_t'/>
<int32_t name='frame_sum'/>
<int32_t name='gframe_sum'/>
<int32_t name='frame_last'/>
<int32_t name='gframe_last'/>
<s-float name='fps'/>
<s-float name='gfps'/>
<s-float name='fps_per_gfps'/>
<uint32_t name='last_tick'/>
<s-float name='outstanding_frames'/>
<s-float name='outstanding_gframes'/>
<uint32_t name='async_frames'/>
<bool name='async_paused'/>
<compound name='async_tobox'>
<pointer name='sem'/>
<stl-deque name='queue'>
<enum name='cmd'>
<enum-item name='pause'/>
<enum-item name='start'/>
<enum-item name='render'/>
<enum-item name='inc'/>
<enum-item name='set_fps'/>
</enum>
<int32_t name='val'/>
</stl-deque>
<pointer name='sem_fill'/>
</compound>
<compound name='async_frombox'>
<pointer name='sem'/>
<stl-deque name='queue'>
<enum name='msg'>
<enum-item name='quit'/>
<enum-item name='complete'/>
<enum-item name='set_fps'/>
<enum-item name='set_gfps'/>
<enum-item name='push_resize'/>
<enum-item name='pop_resize'/>
<enum-item name='reset_textures'/>
</enum>
<compound is-union='true'>
<int32_t name='fps'/>
<compound>
<int32_t name='x'/>
<int32_t name='y'/>
</compound>
</compound>
</stl-deque>
<pointer name='sem_fill'/>
</compound>
<compound name='async_zoom'>
<pointer name='sem'/>
<stl-deque name='queue'>
<enum base-type='int32_t' type-name='zoom_commands'/>
</stl-deque>
<pointer name='sem_fill'/>
</compound>
<pointer name='async_fromcomplete'/>
<uint32_t name='renderer_threadid'/>
<stl-string name='command_line'/>
<static-array name='ccolor' count='16'>
<static-array count='3' type-name='s-float'/>
</static-array>
<bitfield name='flag'>
<flag-bit name='render'/>
<flag-bit name='maxfps'/>
</bitfield>
<int8_t name='mouse_lbut'/>
<int8_t name='mouse_rbut'/>
<int8_t name='mouse_lbut_down'/>
<int8_t name='mouse_rbut_down'/>
<int8_t name='mouse_lbut_lift'/>
<int8_t name='mouse_rbut_lift'/>
<int8_t name='tracking_on'/>
<compound name='textures'>
<stl-vector type-name='pointer' name='raws'/>
<bool name='uploaded'/>
<uint32_t name='gl_catalog'/>
<pointer name='gl_texpos'/>
</compound>
<int32_t name='sync'/>
<stl-vector type-name='pointer' name='text_system'/>
<compound name='simticks'>
<pointer name='sem'/>
<int32_t name='value'/>
</compound>
<compound name='gputicks'>
<pointer name='sem'/>
<int32_t name='value'/>
</compound>
<uint32_t name='clock'/>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->