-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy pathdf.machine.xml
71 lines (59 loc) · 2.4 KB
/
df.machine.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
<data-definition>
<struct-type type-name='machine_nodest'>
<int32_t name="building_id" ref-target='building'/>
<stl-vector name="connections" type-name='int32_t'
comment='indices into the same component vector'/>
</struct-type>
<bitfield-type type-name="machine_flag" base-type='uint32_t'> bay12: MACHINE_FLAG_*
<flag-bit name='active'/>
<flag-bit name='frozen'/>
<flag-bit name='unfreeze_check'/>
</bitfield-type>
<enum-type type-name='machine_type'> bay12: MachineType
<enum-item name='NONE' value='-1'/>
<enum-item name='standard'/>
</enum-type>
<class-type type-name='machine' original-name='machinest'
instance-vector='$global.world.machines.all' key-field='id'>
<int32_t name="x"/>
<int32_t name="y"/>
<int32_t name="z"/>
<int32_t name="id"/>
<stl-vector name="components" pointer-type='machine_nodest'/>
<int32_t name="cur_power"/>
<int32_t name="min_power"/>
<int8_t name='visual_phase'/>
<int16_t name="phase_timer"/>
<bitfield name="flags" base-type='uint32_t' type-name='machine_flag'/>
<virtual-methods>
<vmethod ret-type='machine_type' name='getType'/>
<vmethod name='moveMachine'>
<int16_t name='x'/>
<int16_t name='y'/>
<int16_t name='z'/>
</vmethod>
<vmethod name='write_file'> <pointer name='file' type-name='file_compressorst'/> </vmethod>
<vmethod name='read_file'>
<pointer name='file' type-name='file_compressorst'/>
<enum name='loadversion' type-name='save_version'/>
</vmethod>
<vmethod is-destructor='true'/>
</virtual-methods>
</class-type>
<class-type type-name='machine_standardst' inherits-from='machine'/>
<class-type type-name='machine_handler' original-name='machine_handlerst' custom-methods='true'>
<stl-vector name='all' pointer-type='machine'/>
<stl-vector name='temp_save' has-bad-pointers='true' pointer-type='machine'/>
<virtual-methods>
<vmethod name='add_to_machine'>
<pointer type-name='building'/>
</vmethod>
</virtual-methods>
</class-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->