Skip to content

Commit

Permalink
Add struct def for world.agreements.all[]
Browse files Browse the repository at this point in the history
  • Loading branch information
quietust committed Feb 8, 2015
1 parent e1151e8 commit f5b09ca
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 2 deletions.
52 changes: 52 additions & 0 deletions df.entities.xml
Expand Up @@ -1043,6 +1043,58 @@
<int32_t/>
<enum name='type' type-name='entity_event_type'/>
</struct-type>

<struct-type type-name='agreement'>
<int32_t/>
<stl-vector>
<pointer>
<int32_t/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector>
<pointer>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
</pointer>
</stl-vector>
</pointer>
</stl-vector>
<int32_t/>
<stl-vector>
<pointer>
<int32_t/>
<int32_t/>
<int32_t/>
<compound name='data' is-union='true'>
<pointer name='data0'>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
</pointer>
<pointer name='data1'>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
</pointer>
</compound>
<int32_t name='type'/>
</pointer>
</stl-vector>
<int32_t/>
<int32_t/>
<int32_t/>
</struct-type>

</data-definition>

<!--
Expand Down
4 changes: 2 additions & 2 deletions df.world.xml
Expand Up @@ -744,8 +744,8 @@
</compound>

<compound name='agreements' comment='v0.40.01'>
<stl-vector name='all'/>
<stl-vector name='bad' has-bad-pointers='true'/>
<stl-vector name='all' pointer-type='agreement'/>
<stl-vector name='bad' pointer-type='agreement' has-bad-pointers='true'/>
</compound>

<pointer name='selected_building' type-name='building'/>
Expand Down

0 comments on commit f5b09ca

Please sign in to comment.