Skip to content

Commit ef393ae

Browse files
committed
Merge branch 'master' into testing
2 parents 40f33ac + e07a529 commit ef393ae

File tree

9 files changed

+535
-512
lines changed

9 files changed

+535
-512
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
changelog.txt merge=union

.github/workflows/comment-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Download artifact
15-
uses: dawidd6/action-download-artifact@v3
15+
uses: dawidd6/action-download-artifact@v6
1616
with:
1717
workflow: .github/workflows/check-type-sizes.yml
1818
run_id: ${{ github.event.workflow_run.id }}

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ci:
44
repos:
55
# shared across repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.6.0
7+
rev: v5.0.0
88
hooks:
99
- id: check-added-large-files
1010
- id: check-case-conflict
@@ -20,7 +20,7 @@ repos:
2020
args: ['--fix=lf']
2121
- id: trailing-whitespace
2222
- repo: https://github.com/python-jsonschema/check-jsonschema
23-
rev: 0.29.2
23+
rev: 0.30.0
2424
hooks:
2525
- id: check-github-workflows
2626
- repo: https://github.com/Lucas-C/pre-commit-hooks
@@ -34,6 +34,6 @@ repos:
3434
- json
3535
# specific to df-structures:
3636
- repo: https://github.com/pre-commit/pre-commit-hooks
37-
rev: v4.6.0
37+
rev: v5.0.0
3838
hooks:
3939
- id: forbid-new-submodules

changelog.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ Template for new versions:
2020

2121
## Structures
2222

23+
# 50.15-r1
24+
25+
# 50.14-r2
26+
27+
## Structures
28+
- added ``unitst_set_automatic_professions`` entry point export to list of known globals
29+
2330
# 50.14-r1
2431

2532
## Structures

df.d_init.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<enum-item name='SHOW_IMP_QUALITY'/>
2929
<enum-item name='SHOW_FLOW_AMOUNTS'/>
3030
<enum-item name='SHOW_RAMP_ARROWS'/>
31+
<enum-item name='FORT_SHOW_CLOTHING_DYES'/>
3132
</enum-type>
3233

3334
<enum-type type-name='d_init_flags2'> bay12: InitAdventureFlagType
@@ -53,7 +54,7 @@
5354
<enum-item name='LOG_MAP_REJECTS'/>
5455
<enum-item name='PAUSE_ON_LOAD'/>
5556
<enum-item name='EMBARK_WARNING_ALWAYS'/>
56-
<enum-item name='SHOW_ALL_HISTORY_IN_DWARF_MODE'/>
57+
<enum-item name='SHOW_ALL_HISTORY_IN_DWARF_MODE' comment='SHOW_ALL_HISTORY_IN_FORT_MODE'/>
5758

5859
<enum-item name='TESTING_ARENA'/>
5960
<enum-item name='WALKING_SPREADS_SPATTER_DWF'/>

df.globals.xml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
-- .data
6464

6565
<global-object name='global_table'>
66-
<static-array type-name='global_table_entry' count='366'/>
66+
<static-array type-name='global_table_entry' count='379'/>
6767
</global-object>
6868

6969
<!-- Cursor: to find, look in the non-bss .data segment -->
@@ -85,13 +85,13 @@
8585
</global-object>
8686

8787
<enum-type type-name='game_mode'>
88-
<enum-item name='NONE' value='-1'/>
8988
<enum-item name='DWARF'/>
9089
<enum-item name='ADVENTURE'/>
90+
<enum-item name='num'/>
91+
<enum-item name='NONE'/>
9192
</enum-type>
9293

9394
<enum-type type-name='game_type' base-type="int32_t" comment='bay12: GameType'>
94-
<enum-item name='NONE' value='-1'/>
9595
<enum-item name='DWARF_MAIN'/>
9696
<enum-item name='ADVENTURE_MAIN'/>
9797
<enum-item name='VIEW_LEGENDS'/>
@@ -102,6 +102,8 @@
102102
<enum-item name='DWARF_TUTORIAL'/>
103103
<enum-item name='DWARF_UNRETIRE'/>
104104
<enum-item name='ADVENTURE_WORLD_DEBUG'/>
105+
<enum-item name='num'/>
106+
<enum-item name='NONE'/>
105107
</enum-type>
106108

107109
<global-object name='gamemode'>
@@ -470,6 +472,10 @@
470472
<global-object name='unitst_make_own'>
471473
<stl-function/> <!-- void(df::unitst*) -->
472474
</global-object>
475+
476+
<global-object name='unitst_set_automatic_professions'>
477+
<stl-function/> <!-- void(df::unitst*) -->
478+
</global-object>
473479
</data-definition>
474480

475481
<!--

df.item-raws.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,15 @@
956956
<enum type-name="tool_flags" name="restriction"/>
957957
</pointer>
958958
</stl-vector>
959-
<static-array name='texpos' type-name="int32_t" count="68"/>
959+
<static-array name='texpos' type-name="int32_t" count="8"/>
960+
<stl-vector name='texpos_container_top_plant' type-name='int32_t'/>
961+
<stl-vector name='texpos_container_top_plant_subterranean' type-name='int32_t'/>
962+
<stl-vector name='texpos_container_top_meal' type-name='int32_t'/>
963+
<stl-vector name='texpos_container_top_cheese' type-name='int32_t'/>
964+
<stl-vector name='texpos_container_top_meat' type-name='int32_t'/>
965+
<stl-vector name='texpos_container_top_fish' type-name='int32_t'/>
966+
<stl-vector name='texpos_container_top_bag' type-name='int32_t'/>
967+
<static-array name='texpos2' type-name="int32_t" count="60"/>
960968
<stl-vector name='texpos_global_shape_index' type-name="int32_t"/>
961969
<stl-vector name='texpos_global_shape_texpos' type-name="int32_t"/>
962970
<stl-vector name='graphics_info' comment='item_tool_graphics_infost'/>

0 commit comments

Comments
 (0)