-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy pathdf.hauling.xml
93 lines (78 loc) · 3.47 KB
/
df.hauling.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
<data-definition>
<bitfield-type type-name='stop_stockpile_link_flag' base-type='uint32_t'> bay12: STOP_STOCKPILE_LINK_FLAG_*
<flag-bit name='take'/>
<flag-bit name='give'/>
</bitfield-type>
<struct-type type-name='route_stockpile_link' original-name='stop_stockpile_linkst'>
<int32_t name='building_id' ref-target='building'/>
<bitfield name='mode' base-type='uint32_t' type-name='stop_stockpile_link_flag'/>
</struct-type>
<bitfield-type type-name='stop_leave_condition_flag' base-type='uint32_t'> bay12: STOP_LEAVE_CONDITION_FLAG_*
<flag-bit name='at_most' comment='use_less'/>
<flag-bit name='desired'/>
</bitfield-type>
<struct-type type-name='stop_depart_condition' original-name='stop_leave_conditionst'>
<int32_t name='timeout'/>
<enum base-type='int32_t' name='direction'>
<enum-item name='North'/>
<enum-item name='South'/>
<enum-item name='East'/>
<enum-item name='West'/>
</enum>
<enum base-type='int32_t' name='mode'>
<enum-item name='Push'/>
<enum-item name='Ride'/>
<enum-item name='Guide'/>
</enum>
<int32_t name='load_percent'
comment='broken display unless 0, 50 or 100'/>
<bitfield name='flags' base-type='uint32_t' type-name='stop_leave_condition_flag'/>
<compound name='guide_path' type-name='coord_path'
comment='initialized on first run, and saved'/>
</struct-type>
<struct-type type-name='hauling_stop' original-name='hauling_stopst' key-field='id'>
<int32_t name='id'/>
<stl-string name='name'/>
<compound name='pos' type-name='coord'/>
<compound name='settings' type-name='stockpile_settings'/>
<stl-vector name='conditions' pointer-type='stop_depart_condition'/>
<stl-vector name='stockpiles' pointer-type='route_stockpile_link'/>
<int32_t name='time_waiting'/>
<int32_t name='cart_id' ref-target='item'/>
</struct-type>
<struct-type type-name='hauling_route' original-name='hauling_routest'
instance-vector='$global.plotinfo.hauling.routes' key-field='id'>
<int32_t name='id'/>
<stl-string name="name"/>
<stl-vector name="stops" pointer-type='hauling_stop'/>
<stl-vector name="vehicle_ids">
<int32_t ref-target='vehicle'/>
</stl-vector>
<stl-vector name="vehicle_stops">
<int32_t refers-to='$$._global.stops[$]'/>
</stl-vector>
</struct-type>
<bitfield-type type-name='mode_hauling_stop_flag' base-type='uint32_t'> bay12: MODE_HAULING_STOP_FLAG_*
<flag-bit name='DISCONNECTED_TRACK'/>
</bitfield-type>
<struct-type type-name='hauling_infost'>
<stl-vector name='routes' pointer-type='hauling_route'/>
<int32_t name='next_id'/>
<int32_t name='scroll_position'/>
<bool name='scrolling'/>
<stl-vector name='view_routes' pointer-type='hauling_route'/>
<stl-vector name='view_stops' pointer-type='hauling_stop'/>
<stl-vector name='view_bad' type-name='mode_hauling_stop_flag'/>
<bool name='in_stop'/>
<int32_t name='adding_stop_route_id'/>
<bool name='entering_nickname'/>
<int32_t name='nickname_route_id'/>
<int32_t name='nickname_stop_id'/>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->