-
Notifications
You must be signed in to change notification settings - Fork 81
/
df.graphics.xml
823 lines (722 loc) · 52.6 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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
<data-definition>
<struct-type type-name='large_integer' is-union='true'>
<compound>
<long name='low_part'/>
<long name='high_part'/>
</compound>
<compound name='u'>
<long name='low_part'/>
<long name='high_part'/>
</compound>
<int64_t name='quad_part'/>
</struct-type>
<struct-type type-name='musicsoundst'>
<int32_t name='soft_channel_number'/>
<int32_t name='song' init-value='-1' refers-to='$$._parent.mod[$]'/>
<bool name='music_active'/>
<bool name='sound_priority'/>
<int32_t name='sound_playing'/>
<bool name='on'/>
<pointer name='fmod_system'/>
<pointer name='fmod_master_channel_group'/>
<static-array name='mod' count='1000' type-name='fmod_sound' comment='songs'/>
<static-array name='samp' count='1000' type-name='fmod_sound' comment='sound effects'/>
<enum name='linux_sound_system'>
<enum-item name='ALSA'/>
<enum-item name='OSS'/>
<enum-item name='ESD'/>
</enum>
</struct-type>
<struct-type type-name='fmod_sound' original-name='fmodSound'>
<pointer name='sound'/>
<pointer name='channel'/>
</struct-type>
<enum-type type-name='curses_color' base-type='uint8_t'>
Using the color names without "dark" or "light", favoring primaries.
<enum-item name='Black'/>
<enum-item name='Blue'/>
<enum-item name='Green'/>
<enum-item name='Cyan'/>
<enum-item name='Red'/>
<enum-item name='Magenta'/>
<enum-item name='Yellow'/>
<enum-item name='White'/>
</enum-type>
<bitfield-type type-name='cmv_attribute' base-type='uint8_t'>
<flag-bit name='fg' count='3' type-name='curses_color'/>
<flag-bit name='bg' count='3' type-name='curses_color'/>
<flag-bit name='bright'/>
</bitfield-type>
<struct-type type-name='graphic_viewportst'>
<uint32_t name='flag'/>
<int32_t name='dim_x'/>
<int32_t name='dim_y'/>
<static-array name='clipx' count='2' type-name='int32_t'/>
<static-array name='clipy' count='2' type-name='int32_t'/>
<int32_t name='screen_x'/>
<int32_t name='screen_y'/>
<pointer name='screentexpos_background' type-name='int32_t' is-array='true' comment='floor'/>
<pointer name='screentexpos_floor_flag' type-name='uint64_t' is-array='true'/>
<pointer name='screentexpos_background_two' type-name='int32_t' is-array='true' comment='boulder, plant, etc.'/>
<pointer name='screentexpos_liquid_flag' type-name='uint32_t' is-array='true'/>
<pointer name='screentexpos_spatter_flag' type-name='uint32_t' is-array='true'/>
<pointer name='screentexpos_spatter' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_ramp_flag' type-name='uint64_t' is-array='true'/>
<pointer name='screentexpos_shadow_flag' type-name='uint32_t' is-array='true'/>
<pointer name='screentexpos_building_one' type-name='int32_t' is-array='true' comment='floor'/>
<pointer name='screentexpos_item' type-name='int32_t' is-array='true' comment='ground stuff'/>
<pointer name='screentexpos_vehicle' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_vermin' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_left_creature' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos' type-name='int32_t' is-array='true' comment='creature, etc.'/>
<pointer name='screentexpos_right_creature' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_building_two' type-name='int32_t' is-array='true' comment='high furniture/interior signposting'/>
<pointer name='screentexpos_projectile' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_high_flow' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_top_shadow' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_signpost' type-name='int32_t' is-array='true' comment='stuff that sticks up from below'/>
<pointer name='screentexpos_upleft_creature' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_up_creature' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_upright_creature' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_designation' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_interface' type-name='int32_t' is-array='true' comment='cursor, etc'/>
<pointer name='screentexpos_background_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_floor_flag_old' type-name='uint64_t' is-array='true'/>
<pointer name='screentexpos_background_two_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_liquid_flag_old' type-name='uint32_t' is-array='true'/>
<pointer name='screentexpos_spatter_flag_old' type-name='uint32_t' is-array='true'/>
<pointer name='screentexpos_spatter_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_ramp_flag_old' type-name='uint64_t' is-array='true'/>
<pointer name='screentexpos_shadow_flag_old' type-name='uint32_t' is-array='true'/>
<pointer name='screentexpos_building_one_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_item_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_vehicle_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_vermin_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_left_creature_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_right_creature_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_building_two_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_projectile_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_high_flow_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_top_shadow_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_signpost_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_upleft_creature_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_up_creature_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_upright_creature_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_designation_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_interface_old' type-name='int32_t' is-array='true'/>
<pointer name='core_tree_species_plus_one' type-name='int16_t' is-array='true'/>
<pointer name='shadow_tree_species_plus_one' type-name='int16_t' is-array='true'/>
</struct-type>
<struct-type type-name='graphic_map_portst'>
<uint32_t name='flag'/>
<int32_t name='dim_x'/>
<int32_t name='dim_y'/>
<static-array name='clipx' count='2' type-name='int32_t'/>
<static-array name='clipy' count='2' type-name='int32_t'/>
<int32_t name='screen_x'/>
<int32_t name='screen_y'/>
<int32_t name='top_left_corner_x'/>
<int32_t name='top_left_corner_y'/>
<int32_t name='pixel_perc_x'/>
<int32_t name='pixel_perc_y'/>
<pointer name='screentexpos_base' type-name='int32_t' is-array='true'/>
<static-array count='8' name='screentexpos_edge'><pointer type-name='int32_t' is-array='true'/></static-array>
<static-array count='8' name='screentexpos_edge2'><pointer type-name='int32_t' is-array='true'/></static-array>
<pointer name='screentexpos_detail' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_tunnel' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_river' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_road' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_site' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_interface' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_detail_to_n' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_detail_to_s' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_detail_to_w' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_detail_to_e' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_detail_to_nw' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_detail_to_ne' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_detail_to_sw' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_detail_to_se' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_base_old' type-name='int32_t' is-array='true'/>
<static-array count='8' name='screentexpos_edge_old'><pointer type-name='int32_t' is-array='true'/></static-array>
<static-array count='8' name='screentexpos_edge2_old'><pointer type-name='int32_t' is-array='true'/></static-array>
<pointer name='screentexpos_detail_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_tunnel_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_river_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_road_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_site_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_interface_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_detail_to_n_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_detail_to_s_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_detail_to_w_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_detail_to_e_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_detail_to_nw_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_detail_to_ne_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_detail_to_sw_old' type-name='int32_t' is-array='true'/>
<pointer name='screentexpos_detail_to_se_old' type-name='int32_t' is-array='true'/>
<pointer name='edge_biome_data' type-name='int32_t' is-array='true'/>
<pointer name='edge_type_n' type-name='int32_t' is-array='true'/>
<pointer name='edge_type_s' type-name='int32_t' is-array='true'/>
<pointer name='edge_type_w' type-name='int32_t' is-array='true'/>
<pointer name='edge_type_e' type-name='int32_t' is-array='true'/>
<pointer name='edge_type_nw' type-name='int32_t' is-array='true'/>
<pointer name='edge_type_ne' type-name='int32_t' is-array='true'/>
<pointer name='edge_type_sw' type-name='int32_t' is-array='true'/>
<pointer name='edge_type_se' type-name='int32_t' is-array='true'/>
<pointer name='edge_biome_n' type-name='int32_t' is-array='true'/>
<pointer name='edge_biome_s' type-name='int32_t' is-array='true'/>
<pointer name='edge_biome_w' type-name='int32_t' is-array='true'/>
<pointer name='edge_biome_e' type-name='int32_t' is-array='true'/>
<pointer name='edge_biome_nw' type-name='int32_t' is-array='true'/>
<pointer name='edge_biome_ne' type-name='int32_t' is-array='true'/>
<pointer name='edge_biome_sw' type-name='int32_t' is-array='true'/>
<pointer name='edge_biome_se' type-name='int32_t' is-array='true'/>
</struct-type>
<struct-type type-name='cached_texturest'>
<int32_t name='w'/>
<int32_t name='h'/>
<pointer name='tex'/>
<int8_t name='tex_n'/>
</struct-type>
<struct-type type-name='texblitst'>
<int32_t name='x'/>
<int32_t name='y'/>
<int8_t name='tex'/>
</struct-type>
<struct-type type-name='graphic' original-name='graphicst'>
<stl-vector pointer-type='graphic_viewportst' name='viewport'/>
<pointer type-name='graphic_viewportst' name='main_viewport'/>
<static-array name='lower_viewport' count='8'><pointer type-name='graphic_viewportst'/></static-array>
<stl-vector pointer-type='graphic_map_portst' name='map_port'/>
<pointer type-name='graphic_map_portst' name='main_map_port'/>
<int32_t name='viewport_zoom_factor'/>
<int32_t name='screenx'/>
<int32_t name='screeny'/>
<enum name='screenf' type-name='curses_color'/>
<enum name='screenb' type-name='curses_color'/>
<bool name='screenbright'/>
<bool name='use_old_16_colors' comment='use F:B:BR instead of straight RGB'/>
<uint8_t name='screen_color_r'/>
<uint8_t name='screen_color_g'/>
<uint8_t name='screen_color_b'/>
<uint8_t name='screen_color_br'/>
<uint8_t name='screen_color_bg'/>
<uint8_t name='screen_color_bb'/>
<static-array name='ccolor' count='16' comment='The curses-RGB mapping used for non-curses display modes'><static-array type-name='s-float' count='3'/></static-array>
<static-array name='uccolor' count='16' comment='The curses-RGB mapping used for non-curses display modes'><static-array type-name='uint8_t' count='3'/></static-array>
<static-array name='color' count='18'><static-array type-name='uint8_t' count='3'/></static-array>
<int32_t name='mouse_x' comment='tile offset'/>
<int32_t name='mouse_y' comment='tile offset'/>
<int32_t name='precise_mouse_x' comment='pixel offset'/>
<int32_t name='precise_mouse_y' comment='pixel offset'/>
<int32_t name='screen_pixel_x'/>
<int32_t name='screen_pixel_y'/>
<int32_t name='tile_pixel_x'/>
<int32_t name='tile_pixel_y'/>
<pointer type-name='uint8_t' name='screen' is-array='true'/>
<pointer type-name='uint8_t' name='screen_limit' comment='pointer to last element of screen'/>
<pointer type-name='long' name='screentexpos' is-array='true'/>
<pointer type-name='long' name='screentexpos_lower' is-array='true'/>
<pointer type-name='long' name='screentexpos_anchored' is-array='true'/>
<pointer type-name='long' name='screentexpos_anchored_x' is-array='true'/>
<pointer type-name='long' name='screentexpos_anchored_y' is-array='true'/>
<pointer type-name='uint32_t' name='screentexpos_flag' is-array='true'/>
<bool name='top_in_use' comment='//we assume top is not in use unless a flag is set, and reprint the screen when it goes away, to avoid cell by cell checks'/>
<pointer type-name='uint8_t' name='screen_top' is-array='true'/>
<pointer type-name='uint8_t' name='screen_top_limit'/>
<pointer type-name='long' name='screentexpos_top_lower' is-array='true'/>
<pointer type-name='long' name='screentexpos_top_anchored' is-array='true'/>
<pointer type-name='long' name='screentexpos_top' is-array='true'/>
<pointer type-name='long' name='screentexpos_top_anchored_x' is-array='true'/>
<pointer type-name='long' name='screentexpos_top_anchored_y' is-array='true'/>
<pointer type-name='uint32_t' name='screentexpos_top_flag' is-array='true'/>
<bool name='display_title'/>
<bool name='display_background'/>
<pointer type-name='int32_t' name='screentexpos_refresh_buffer' is-array='true'/>
<int32_t name='refresh_buffer_val'/>
<bool name='main_thread_requesting_reshape' comment='set to true by main thread, set to false by graphics thread'/>
<bool name='main_thread_requesting_reshape_activate_map_port' comment='set to true by main thread, set to false by graphics thread'/>
<static-array type-name='long' name='clipx' count='2'/>
<static-array type-name='long' name='clipy' count='2'/>
<static-array type-name='cached_texturest' name='tex' count='10'/>
<stl-vector name='texblits' type-name='texblitst'/>
<long name='rect_id'/>
<static-array type-name='large_integer' name='print_time' count='100'/>
<long name='print_index'/>
<int8_t name='display_frames'/>
<int16_t name='force_full_display_count'/>
<int8_t name='do_clean_tile_cache' comment='true by main, false by graphics'/>
<int8_t name='do_post_init_texture_clear' comment='true by main, false by graphics'/>
<int8_t name='original_rect'/>
<int32_t name='dimx'/>
<int32_t name='dimy'/>
-- do NOT put these in a compound, because it will break alignment!
<static-array type-name='long' count='1' name='black_background_texpos'/>
<static-array type-name='int32_t' count='120' name='texture_indices1'/>
<stl-vector type-name='int32_t' name='texpos_custom_symbol'/>
<static-array type-name='int32_t' count='8626' name='texture_indices2'/>
<compound type-name='interface_setst' name='graphical_interface'/>
<compound type-name='interface_setst' name='classic_interface'/>
<static-array type-name='int32_t' count='12924' name='texture_indices3'/>
<stl-vector type-name='int32_t' name='texpos_boulder'/>
<static-array type-name='int32_t' count='3588' name='texture_indices4'/>
<stl-vector type-name='int32_t' name='texpos_item_statue_artifact'/>
<static-array type-name='int32_t' count='14379' name='texture_indices5'/>
</struct-type>
<struct-type type-name='interface_setst'>
<static-array count='12' name='texpos_calendar_month'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' type-name='int32_t' name='texpos_calendar_day_past'/>
<static-array count='3' type-name='int32_t' name='texpos_calendar_day_current'/>
<static-array count='3' type-name='int32_t' name='texpos_calendar_day_future'/>
<static-array count='4' name='texpos_border_top_left'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='4' name='texpos_border_top_right'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='4' name='texpos_border_bottom_left'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='4' name='texpos_border_bottom_right'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='4' name='texpos_border_top_intersection'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='4' name='texpos_border_bottom_intersection'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='4' type-name='int32_t' name='texpos_border_middle_intersection'/>
<static-array count='3' name='texpos_border_left_intersection'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_border_right_intersection'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='4' type-name='int32_t' name='texpos_border_left'/>
<static-array count='4' type-name='int32_t' name='texpos_border_right'/>
<static-array count='3' type-name='int32_t' name='texpos_border_top'/>
<static-array count='3' type-name='int32_t' name='texpos_border_bottom'/>
<static-array count='3' name='texpos_hover_rectangle'><static-array type-name='int32_t' count='3'/></static-array>
<int32_t name='texpos_hover_rectangle_join_w_sw'/>
<int32_t name='texpos_hover_rectangle_join_w_s'/>
<int32_t name='texpos_hover_rectangle_join_e_s'/>
<int32_t name='texpos_hover_rectangle_join_e_se'/>
<static-array count='3' name='texpos_hover_close'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='3' name='texpos_hover_tab'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' type-name='int32_t' name='texpos_hover_tab_inactive'/>
<int32_t name='texpos_hover_tab_inside_corner_top'/>
<int32_t name='texpos_hover_tab_inside_corner_bottom'/>
<static-array count='3' name='texpos_button_rectangle'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_rectangle_selected'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_rectangle_light'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_rectangle_dark'><static-array type-name='int32_t' count='3'/></static-array>
<static-array type-name='int32_t' count='3' name='texpos_button_rectangle_divider'/>
<static-array count='3' name='texpos_button_category_rectangle'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_category_rectangle_selected'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_category_rectangle_on'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_category_rectangle_on_selected'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_category_rectangle_off'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_category_rectangle_off_selected'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='6' name='texpos_button_filter'><static-array type-name='int32_t' count='3'/></static-array>
<static-array type-name='int32_t' count='3' name='texpos_button_filter_no_mag_right'/>
<static-array count='4' name='texpos_button_filter_name'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_picture_box'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_picture_box_selected'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_picture_box_highlighted'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_picture_box_sel_highlighted'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_picture_box_light'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_picture_box_dark'><static-array type-name='int32_t' count='3'/></static-array>
<static-array type-name='int32_t' count='3' name='texpos_button_picture_box_divider'/>
<static-array count='3' name='texpos_button_add'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_add_hover'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_add_pressed'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_add_invalid'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_subtract'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_subtract_hover'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_subtract_pressed'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_subtract_invalid'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='2' name='texpos_button_expander_closed'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='2' name='texpos_button_expander_open'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='2' name='texpos_scrollbar'><static-array type-name='int32_t' count='3'/></static-array>
<static-array type-name='int32_t' count='2' name='texpos_scrollbar_up_hover'/>
<static-array type-name='int32_t' count='2' name='texpos_scrollbar_up_pressed'/>
<static-array type-name='int32_t' count='2' name='texpos_scrollbar_down_hover'/>
<static-array type-name='int32_t' count='2' name='texpos_scrollbar_down_pressed'/>
<static-array count='2' name='texpos_scrollbar_small_scroller'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='2' name='texpos_scrollbar_small_scroller_hover'><static-array type-name='int32_t' count='2'/></static-array>
<static-array type-name='int32_t' count='2' name='texpos_scrollbar_top_scroller'/>
<static-array type-name='int32_t' count='2' name='texpos_scrollbar_top_scroller_hover'/>
<static-array type-name='int32_t' count='2' name='texpos_scrollbar_bottom_scroller'/>
<static-array type-name='int32_t' count='2' name='texpos_scrollbar_bottom_scroller_hover'/>
<static-array type-name='int32_t' count='2' name='texpos_scrollbar_blank_scroller'/>
<static-array type-name='int32_t' count='2' name='texpos_scrollbar_blank_scroller_hover'/>
<static-array type-name='int32_t' count='2' name='texpos_scrollbar_center_scroller'/>
<static-array type-name='int32_t' count='2' name='texpos_scrollbar_center_scroller_hover'/>
<static-array count='2' name='texpos_scrollbar_offcenter_scroller'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='2' name='texpos_scrollbar_offcenter_scroller_hover'><static-array type-name='int32_t' count='2'/></static-array>
<static-array type-name='int32_t' count='2' name='texpos_scrollbar_sky'/>
<static-array type-name='int32_t' count='2' name='texpos_scrollbar_ground'/>
<static-array type-name='int32_t' count='2' name='texpos_scrollbar_underground'/>
<static-array count='3' name='texpos_slider_background'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='2' name='texpos_slider'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='2' name='texpos_slider_hover'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='5' name='texpos_tab'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='5' name='texpos_tab_selected'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='5' name='texpos_short_tab'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='5' name='texpos_short_tab_selected'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='5' name='texpos_short_subtab'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='5' name='texpos_short_subtab_selected'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='5' name='texpos_short_subsubtab'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='5' name='texpos_short_subsubtab_selected'><static-array type-name='int32_t' count='2'/></static-array>
<int32_t name='texpos_interface_background'/>
<static-array count='531' name='texpos_button_main'><static-array count='4'><static-array type-name='int32_t' count='3'/></static-array></static-array>
<static-array count='13' name='texpos_button_small'><static-array count='2'><static-array type-name='int32_t' count='2'/></static-array></static-array>
<static-array count='4' name='texpos_button_horizontal_option_left_ornament'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_horizontal_option_active'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_horizontal_option_inactive'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='4' name='texpos_button_horizontal_option_right_ornament'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_horizontal_option_remove'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_horizontal_option_confirm'><static-array type-name='int32_t' count='3'/></static-array>
<int32_t name='texpos_interior_border_n_s_w_e'/>
<int32_t name='texpos_interior_border_n_w_e'/>
<int32_t name='texpos_interior_border_s_w_e'/>
<int32_t name='texpos_interior_border_w_e'/>
<int32_t name='texpos_interior_border_n_s'/>
<static-array type-name='int32_t' count='4' name='texpos_sort_ascending_active'/>
<static-array type-name='int32_t' count='4' name='texpos_sort_ascending_inactive'/>
<static-array type-name='int32_t' count='4' name='texpos_sort_descending_active'/>
<static-array type-name='int32_t' count='4' name='texpos_sort_descending_inactive'/>
<static-array type-name='int32_t' count='3' name='texpos_sort_text_active'/>
<static-array type-name='int32_t' count='3' name='texpos_sort_text_inactive'/>
<static-array count='3' name='texpos_siege_light'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_diplomacy_light'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_petitions_light'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_grid_cell_inactive'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_grid_cell_active'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_grid_cell_button'><static-array type-name='int32_t' count='3'/></static-array>
<static-array type-name='int32_t' count='3' name='texpos_type_filter_left'/>
<static-array type-name='int32_t' count='3' name='texpos_type_filter_right'/>
<static-array type-name='int32_t' count='3' name='texpos_type_filter_text'/>
<static-array count='3' name='texpos_button_announcement_open_all_announcements'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='9' name='texpos_button_announcement_not_pausing_on_new_report' type-name='int32_t'/>
<static-array count='9' name='texpos_button_announcement_pausing_on_new_report' type-name='int32_t'/>
<static-array count='3' name='texpos_button_announcement_open_from_main'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_stocks_recenter'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_stocks_view_item'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_stocks_forbid'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_stocks_forbid_active'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_stocks_dump'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_stocks_dump_active'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_stocks_melt'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_stocks_melt_active'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_stocks_hide'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_stocks_hide_active'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_button_short_forbid'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='3' name='texpos_button_short_forbid_active'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='3' name='texpos_button_short_dump'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='3' name='texpos_button_short_dump_active'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='3' name='texpos_button_short_melt'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='3' name='texpos_button_short_melt_active'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='3' name='texpos_button_short_hide'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='3' name='texpos_button_short_hide_active'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='3' name='texpos_building_short_item_task'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='3' name='texpos_building_item_task'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_building_item_incorporated'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_building_item_trade'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_building_item_animal'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_building_item_bait'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_building_item_loaded'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_building_item_dead'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_building_item_other'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_building_jobs_repeat'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_building_jobs_repeat_active'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_building_jobs_do_now'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_building_jobs_do_now_active'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_building_jobs_suspended'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_building_jobs_suspended_active'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_building_jobs_priority_up'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_building_jobs_remove'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_building_jobs_active'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_building_jobs_quota'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='3' name='texpos_building_jobs_remove_worker'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='5' name='texpos_button_assign_trade'><static-array count='3'><static-array type-name='int32_t' count='3'/></static-array></static-array>
<static-array count='20' name='texpos_button_building_info'><static-array count='3'><static-array type-name='int32_t' count='3'/></static-array></static-array>
<static-array count='3' name='texpos_button_building_sheet'><static-array count='4'><static-array type-name='int32_t' count='3'/></static-array></static-array>
<static-array count='4' name='texpos_button_unit_sheet'><static-array count='3'><static-array type-name='int32_t' count='3'/></static-array></static-array>
<static-array count='5' name='texpos_button_large_unit_sheet'><static-array count='4'><static-array type-name='int32_t' count='3'/></static-array></static-array>
<static-array count='12' name='texpos_button_pets_livestock'><static-array count='3'><static-array type-name='int32_t' count='3'/></static-array></static-array>
<static-array count='2' name='texpos_liquid_numbers_on'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='2' name='texpos_liquid_numbers_off'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='2' name='texpos_ramp_arrows_on'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='2' name='texpos_ramp_arrows_off'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='2' name='texpos_zoom_in_on'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='2' name='texpos_zoom_in_off'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='2' name='texpos_zoom_out_on'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='2' name='texpos_zoom_out_off'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='3' name='texpos_legends_tab_page_left'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='3' name='texpos_legends_tab_page_right'><static-array type-name='int32_t' count='2'/></static-array>
<static-array type-name='int32_t' count='2' name='texpos_legends_tab_close_inactive'/>
<static-array type-name='int32_t' count='2' name='texpos_legends_tab_close_active'/>
<static-array count='3' name='texpos_help_border'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='8' name='texpos_help_corner'><static-array type-name='int32_t' count='6'/></static-array>
<static-array count='3' name='texpos_help_close'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='3' name='texpos_help_hide'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='3' name='texpos_help_reveal'><static-array type-name='int32_t' count='2'/></static-array>
<static-array count='4' name='texpos_embark_selected'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='4' name='texpos_embark_not_selected'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='2' name='texpos_embark_expand_y_active'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='2' name='texpos_embark_expand_y_inactive'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='2' name='texpos_embark_contract_y_active'><static-array type-name='int32_t' count='3'/></static-array>
<static-array count='2' name='texpos_embark_contract_y_inactive'><static-array type-name='int32_t' count='3'/></static-array>
<static-array type-name='int32_t' count='4' name='texpos_embark_expand_x_active'/>
<static-array type-name='int32_t' count='4' name='texpos_embark_expand_x_inactive'/>
<static-array type-name='int32_t' count='4' name='texpos_embark_contract_x_active'/>
<static-array type-name='int32_t' count='4' name='texpos_embark_contract_x_inactive'/>
<int32_t name='texpos_bottom_button_border_nw'/>
<int32_t name='texpos_bottom_button_border_w'/>
<int32_t name='texpos_bottom_button_border_n'/>
<int32_t name='texpos_bottom_button_border_interior'/>
<int32_t name='texpos_bottom_button_border_ne'/>
<int32_t name='texpos_bottom_button_border_e'/>
</struct-type>
<class-type type-name='renderer'>
<pointer type-name='uint8_t' name='screen' is-array='true'/>
<pointer type-name='long' name='screentexpos' is-array='true'/>
<pointer type-name='long' name='screentexpos_lower' is-array='true'/>
<pointer type-name='long' name='screentexpos_anchored' is-array='true'/>
<pointer type-name='long' name='screentexpos_anchored_x' is-array='true'/>
<pointer type-name='long' name='screentexpos_anchored_y' is-array='true'/>
<pointer type-name='uint32_t' name='screentexpos_flag' is-array='true'/>
<pointer type-name='uint8_t' name='screen_top' is-array='true'/>
<pointer type-name='long' name='screentexpos_top' is-array='true'/>
<pointer type-name='long' name='screentexpos_top_lower' is-array='true'/>
<pointer type-name='long' name='screentexpos_top_anchored' is-array='true'/>
<pointer type-name='long' name='screentexpos_top_anchored_x' is-array='true'/>
<pointer type-name='long' name='screentexpos_top_anchored_y' is-array='true'/>
<pointer type-name='uint32_t' name='screentexpos_top_flag' is-array='true'/>
<pointer type-name='uint8_t' name='directtexcopy' is-array='true'/>
<pointer type-name='uint8_t' name='screen_old' is-array='true'/>
<pointer type-name='long' name='screentexpos_old' is-array='true'/>
<pointer type-name='long' name='screentexpos_lower_old' is-array='true'/>
<pointer type-name='long' name='screentexpos_anchored_old' is-array='true'/>
<pointer type-name='long' name='screentexpos_anchored_x_old' is-array='true'/>
<pointer type-name='long' name='screentexpos_anchored_y_old' is-array='true'/>
<pointer type-name='uint32_t' name='screentexpos_flag_old' is-array='true'/>
<pointer type-name='uint8_t' name='screen_top_old' is-array='true'/>
<pointer type-name='long' name='screentexpos_top_old' is-array='true'/>
<pointer type-name='long' name='screentexpos_top_lower_old' is-array='true'/>
<pointer type-name='long' name='screentexpos_top_anchored_old' is-array='true'/>
<pointer type-name='long' name='screentexpos_top_anchored_x_old' is-array='true'/>
<pointer type-name='long' name='screentexpos_top_anchored_y_old' is-array='true'/>
<pointer type-name='uint32_t' name='screentexpos_top_flag_old' is-array='true'/>
<pointer type-name='uint8_t' name='directtexcopy_old' is-array='true'/>
<pointer type-name='int32_t' name='screentexpos_refresh_buffer' is-array='true'/>
<virtual-methods>
<vmethod name='update_tile'> <int32_t name='x'/> <int32_t name='y'/> </vmethod>
<vmethod name='update_anchor_tile'> <int32_t name='x'/> <int32_t name='y'/> </vmethod>
<vmethod name='update_top_tile'> <int32_t name='x'/> <int32_t name='y'/> </vmethod>
<vmethod name='update_top_anchor_tile'> <int32_t name='x'/> <int32_t name='y'/> </vmethod>
<vmethod name='update_viewport_tile'> <pointer type-name='graphic_viewportst' name='vp'/> <int32_t name='x'/> <int32_t name='y'/> </vmethod>
<vmethod name='update_map_port_tile'> <pointer type-name='graphic_map_portst' name='vp'/> <int32_t name='x'/> <int32_t name='y'/> </vmethod>
<vmethod name='update_all'/>
<vmethod name='do_blank_screen_fill'/>
<vmethod name='update_full_viewport'> <pointer type-name='graphic_viewportst' name='vp'/> </vmethod>
<vmethod name='update_full_map_port'> <pointer type-name='graphic_map_portst' name='vp'/> </vmethod>
<vmethod name='clean_tile_cache'/>
<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 name='set_viewport_zoom_factor'> <int32_t name='nfactor'/> </vmethod>
<vmethod is-destructor='true'/>
<vmethod ret-type='bool' name='get_precise_mouse_coords'>
<pointer type-name='int32_t' name='px'/>
<pointer type-name='int32_t' name='py'/>
<pointer type-name='int32_t' name='x'/>
<pointer type-name='int32_t' name='y'/>
</vmethod>
<vmethod name='get_current_interface_tile_dims'>
<pointer type-name='int32_t' name='cur_tx'/>
<pointer type-name='int32_t' name='cur_ty'/>
</vmethod>
<vmethod ret-type='bool' name='uses_opengl'/>
</virtual-methods>
</class-type>
<class-type type-name='renderer_2d_base' inherits-from='renderer'>
<pointer name='window' comment='SDL_Window*'/>
<pointer name='sdl_renderer' comment='SDL_Renderer*'/>
<pointer name='screen_tex' comment='SDL_Texture*'/>
<stl-unordered-map name='tile_cache' comment='unordered_map<texture_fullid, SDL_Texture*\>'/>
<int32_t name='dispx'/>
<int32_t name='dispy'/>
<int32_t name='dimx'/>
<int32_t name='dimy'/>
<int32_t name='dispx_z'/>
<int32_t name='dispy_z'/>
<int32_t name='origin_x'/>
<int32_t name='origin_y'/>
<int32_t name='cur_w'/>
<int32_t name='cur_h'/>
<bool name='use_viewport_zoom'/>
<int32_t name='viewport_zoom_factor'/>
<stl-vector name='textures_to_destroy' comment='svector<texture_fullid>'/>
<padding size='24' name='ttfs_to_render'
comment='std::list<pair<SDL_Surface*, SDL_Rect>>'/>
<int32_t name='zoom_steps'/>
<int32_t name='forced_steps'/>
<int32_t name='natural_w'/>
<int32_t name='natural_h'/>
<virtual-methods>
<vmethod ret-type='bool' name='init_video'><int32_t name='w'/><int32_t name='h'/></vmethod>
</virtual-methods>
</class-type>
<class-type type-name='renderer_2d' inherits-from='renderer_2d_base'/>
<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>
<class-type type-name='enabler' original-name='enablerst' custom-methods='true'>
<extra-include filename='Hooks.h'/>
<bitfield name='fullscreen_state' base-type='uint8_t'>
<flag-bit name='fullscreen'/>
<flag-bit name='exclusive'/>
</bitfield>
<stl-deque name='overridden_grid_sizes'>
<int32_t name='x'/>
<int32_t name='y'/>
</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'>
<stl-mutex name='mtx'/>
<stl-condition-variable name='cv'/>
<stl-deque name='vals'>
<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>
</compound>
<compound name='async_frombox'>
<stl-mutex name='mtx'/>
<stl-condition-variable name='cv'/>
<stl-deque name='vals'>
<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>
</compound>
<compound name='async_zoom'>
<stl-mutex name='mtx'/>
<stl-condition-variable name='cv'/>
<stl-deque name='vals'>
<enum base-type='int32_t' type-name='zoom_commands'/>
</stl-deque>
</compound>
<pointer name='async_fromcomplete'/>
<ulong name='renderer_threadid'/>
<bool name='must_do_render_things_before_display'/>
<stl-string name='command_line'/>
<bitfield name='flag' base-type='long'>
<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='mouse_mbut'/>
<int8_t name='mouse_mbut_down'/>
<int8_t name='mouse_mbut_lift'/>
<int8_t name='tracking_on'/>
<compound name='textures'>
<stl-vector type-name='pointer' name='raws'/>
<stl-vector type-name='int32_t' name='free_spaces'/>
<int32_t name='init_texture_size'/>
<bool name='uploaded'/>
</compound>
<int32_t name='simticks'/> note: this is a std::atomic_int
<int32_t name='gputicks'/> note: this is a std::atomic_int
<uint32_t name='clock' comment='An *approximation* of the current time for use in garbage collection thingies, updated every frame or so.'/>
<bool name='mouse_focus'/>
<static-array type-name='uint8_t' count='32' name='last_text_input'/>
<virtual-methods>
<vmethod ret-type='stl-string' name='GetKeyDisplay'>
<enum type-name='interface_key' base-type='int32_t'/>
</vmethod>
</virtual-methods>
<custom-methods>
<cmethod name='zoom_display'/>
</custom-methods>
</class-type>
<enum-type type-name='justification' base-type='uint8_t' comment='from libgraphics'>
<enum-item name='justify_left'/>
<enum-item name='justify_center'/>
<enum-item name='justify_right'/>
<enum-item name='justify_cont'/>
<enum-item name='not_truetype'/>
</enum-type>
-- texture_handler.h
<struct-type type-name='tile_pagest' key-field='token'>
<stl-string name='token'/>
<stl-string name='graphics_dir'/>
<stl-string name='filename'/>
<int16_t name='tile_dim_x'/>
<int16_t name='tile_dim_y'/>
<int16_t name='page_dim_x'/>
<int16_t name='page_dim_y'/>
<stl-vector name='texpos' type-name='long'/>
<stl-vector name='datapos' type-name='long'/>
<stl-vector name='texpos_gs' type-name='long'/>
<stl-vector name='datapos_gs' type-name='long'/>
<bool name='loaded'/>
</struct-type>
<struct-type type-name='palette_rowst'>
<pointer type-name='uint8_t' name='row' is-array='true'/>
</struct-type>
<struct-type type-name='palette_pagest' key-field='token'>
<stl-string name='token'/>
<stl-string name='graphics_dir'/>
<stl-string name='filename'/>
<int32_t name='default_row'/>
<stl-vector name='color_token' pointer-type='stl-string'/>
<stl-vector name='color_row' type-name='int32_t'/>
<stl-vector pointer-type='palette_rowst' name='row'/>
<int32_t name='row_width'/>
</struct-type>
<struct-type type-name='texture_handlerst'>
<stl-vector name='page' pointer-type='tile_pagest'/>
<stl-vector name='palette' pointer-type='palette_pagest'/>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->