Skip to content

Commit 9f41626

Browse files
Auto-update definitions
1 parent 9f8935b commit 9f41626

8 files changed

Lines changed: 42 additions & 3 deletions

dist/library/structures/df.art_image.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function art_image_property:read_file(filecomp, loadversion) end
146146
---@return df.art_image_property_type
147147
function art_image_property:getType() end
148148

149-
---@return df.art_image_element
149+
---@return df.art_image_property
150150
function art_image_property:clone() end
151151

152152
---@param str string

dist/library/structures/df.creature.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1477,6 +1477,8 @@ df.creature_graphics_layer_flag = {}
14771477
---@field use_standard_nex_body_palette_row number
14781478
---@field use_standard_beast_palette_row number
14791479
---@field use_color_palette_token string
1480+
---@field offset_x number
1481+
---@field offset_y number
14801482

14811483
---@class identity.creature_graphics_layerst: DFCompoundType
14821484
---@field _kind 'struct-type'
@@ -1572,6 +1574,8 @@ df.creature_graphics_layer_set_flag = {}
15721574
---@field next_layer_group number
15731575
---@field flags df.creature_graphics_layer_set_flag
15741576
---@field lg_bp_condition _creature_graphics_layer_setst_lg_bp_condition
1577+
---@field layer_set_template_token string
1578+
---@field template_arg DFStringVector
15751579

15761580
---@class identity.creature_graphics_layer_setst: DFCompoundType
15771581
---@field _kind 'struct-type'
@@ -2978,6 +2982,7 @@ function _caste_raw_material_force_adjust:erase(index) end
29782982
---| 116 # HAS_ANY_SLOW_LEARNER
29792983
---| 117 # HAS_ANY_NIGHT_CREATURE_NIGHTMARE
29802984
---| 118 # HAS_ANY_NIGHT_CREATURE_EXPERIMENTER
2985+
---| 119 # HAS_REAL_WORLD_EXTINCT
29812986

29822987
-- The comments indicate the creature raw tags whose presence/absence are
29832988
-- correlated with the flags. Tags with parameters, like those indicating
@@ -3221,6 +3226,8 @@ function _caste_raw_material_force_adjust:erase(index) end
32213226
---@field [117] "HAS_ANY_NIGHT_CREATURE_NIGHTMARE"
32223227
---@field HAS_ANY_NIGHT_CREATURE_EXPERIMENTER 118
32233228
---@field [118] "HAS_ANY_NIGHT_CREATURE_EXPERIMENTER"
3229+
---@field HAS_REAL_WORLD_EXTINCT 119
3230+
---@field [119] "HAS_REAL_WORLD_EXTINCT"
32243231
df.creature_raw_flags = {}
32253232

32263233
-- Unused: CreatureDefStrings

dist/library/structures/df.d_interface.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12996,6 +12996,7 @@ df.new_region_raw_load_stage_type = {}
1299612996
---@field simple_site_cap number
1299712997
---@field simple_beast number
1299812998
---@field simple_savagery number
12999+
---@field simple_real_world_extinct number
1299913000
---@field simple_minerals number
1300013001
---@field abort_world_gen_dialogue number
1300113002
---@field reject_dialogue number

dist/library/structures/df.g_src.music_and_sound_g.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ function df.music_datast:new() end
176176
---@field ambience_last_sound number
177177
---@field next_song_id number
178178
---@field next_sound_id number
179-
---@field loaded_music DFStringVector unordered_map<std::string, music_datast>
179+
---@field loaded_music DFStringVector
180180
---@field music_by_id DFNumberVector
181181
---@field loaded_sounds DFStringVector
182182
---@field loading_files _musicsoundst_loading_files std::future<loading_music_filest>

dist/library/structures/df.g_src.texture_handler.lua

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,23 @@ df.tile_pagest = {}
6868
---@return df.tile_pagest
6969
function df.tile_pagest:new() end
7070

71+
---@class (exact) df.layer_set_templatest: DFStruct
72+
---@field _type identity.layer_set_templatest
73+
---@field token string
74+
---@field lines DFStringVector
75+
76+
---@class identity.layer_set_templatest: DFCompoundType
77+
---@field _kind 'struct-type'
78+
df.layer_set_templatest = {}
79+
80+
---@return df.layer_set_templatest
81+
function df.layer_set_templatest:new() end
82+
7183
---@class (exact) df.texture_handlerst: DFStruct
7284
---@field _type identity.texture_handlerst
7385
---@field page _texture_handlerst_page
7486
---@field palette _texture_handlerst_palette
87+
---@field layer_set_template _texture_handlerst_layer_set_template
7588

7689
---@class identity.texture_handlerst: DFCompoundType
7790
---@field _kind 'struct-type'
@@ -112,3 +125,19 @@ function _texture_handlerst_palette:insert(index, item) end
112125
---@param index integer
113126
function _texture_handlerst_palette:erase(index) end
114127

128+
---@class _texture_handlerst_layer_set_template: DFContainer
129+
---@field [integer] df.layer_set_templatest
130+
local _texture_handlerst_layer_set_template
131+
132+
---@nodiscard
133+
---@param index integer
134+
---@return DFPointer<df.layer_set_templatest>
135+
function _texture_handlerst_layer_set_template:_field(index) end
136+
137+
---@param index '#'|integer
138+
---@param item df.layer_set_templatest
139+
function _texture_handlerst_layer_set_template:insert(index, item) end
140+
141+
---@param index integer
142+
function _texture_handlerst_layer_set_template:erase(index) end
143+

dist/library/structures/df.region.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ function df.worldgen_parms_ps:new() end
209209
---@field all_caves_visible number
210210
---@field show_embark_tunnel number
211211
---@field pole number
212+
---@field real_world_extinct number
212213
---@field immune_to_resize boolean
213214

214215
---@class identity.worldgen_parms: DFCompoundType

dist/library/structures/df.widgets.unit_list.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ function df.item_or_unit:new() end
164164
---@field close_callback _widget_unit_list_close_callback
165165
---@field options _widget_unit_list_options
166166
---@field entry_list _widget_unit_list_entry_list
167-
---@field selected _widget_unit_list_selected std::unordered_set<void *>
167+
---@field selected _widget_unit_list_selected
168168
---@field job_sort_str _widget_unit_list_job_sort_str
169169
---@field cursor_idx number
170170
---@field is_selected _widget_unit_list_is_selected std::function<bool(item_or_unit)>

dist/library/structures/df.world.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ function _fake_world_infost_language:erase(index) end
241241
---@field mod_folder_paths _region_object_datast_mod_folder_paths
242242
---@field mod_names DFStringVector
243243
---@field mod_display_versions DFStringVector
244+
---@field param_real_world_extinct number
244245

245246
---@class identity.region_object_datast: DFCompoundType
246247
---@field _kind 'struct-type'

0 commit comments

Comments
 (0)