Skip to content

Commit a1975b6

Browse files
committed
Update library files
1 parent 48a6241 commit a1975b6

File tree

7 files changed

+46
-11
lines changed

7 files changed

+46
-11
lines changed

dist/library/structures/df.graphics.lua

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,6 +1159,17 @@ df.tile_pagest = {}
11591159
---@return tile_pagest
11601160
function df.tile_pagest:new() end
11611161

1162+
---@class (exact) palette_rowst: DFStruct
1163+
---@field _type _palette_rowst
1164+
---@field row integer
1165+
1166+
---@class _palette_rowst: DFCompoundType
1167+
---@field _kind 'struct-type'
1168+
df.palette_rowst = {}
1169+
1170+
---@return palette_rowst
1171+
function df.palette_rowst:new() end
1172+
11621173
---@class (exact) palette_pagest: DFStruct
11631174
---@field _type _palette_pagest
11641175
---@field token string
@@ -1167,6 +1178,8 @@ function df.tile_pagest:new() end
11671178
---@field default_row number
11681179
---@field color_token DFStringVector
11691180
---@field color_row DFNumberVector
1181+
---@field row _palette_pagest_row
1182+
---@field row_width number
11701183

11711184
---@class _palette_pagest: DFCompoundType
11721185
---@field _kind 'struct-type'
@@ -1175,6 +1188,22 @@ df.palette_pagest = {}
11751188
---@return palette_pagest
11761189
function df.palette_pagest:new() end
11771190

1191+
---@class _palette_pagest_row: DFContainer
1192+
---@field [integer] palette_rowst
1193+
local _palette_pagest_row
1194+
1195+
---@nodiscard
1196+
---@param index integer
1197+
---@return DFPointer<palette_rowst>
1198+
function _palette_pagest_row:_field(index) end
1199+
1200+
---@param index '#'|integer
1201+
---@param item palette_rowst
1202+
function _palette_pagest_row:insert(index, item) end
1203+
1204+
---@param index integer
1205+
function _palette_pagest_row:erase(index) end
1206+
11781207
---@class (exact) texture_handlerst: DFStruct
11791208
---@field _type _texture_handlerst
11801209
---@field page _texture_handlerst_page

dist/library/structures/df.keybindings.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@
288288
---| 289 # KITCHEN_COOK
289289
---| 290 # KITCHEN_BREW
290290
---| 291 # JUSTICE_INTERROGATE
291-
---| 292 # JUSTICE_COUNTERINTELLIGENCE
291+
---| 292 # JUSTICE_CONVICT
292292
---| 293 # D_ONESTEP
293293
---| 294 # D_PAUSE
294294
---| 295 # D_HOT_KEYS
@@ -1223,8 +1223,8 @@
12231223
---@field [290] "KITCHEN_BREW"
12241224
---@field JUSTICE_INTERROGATE 291
12251225
---@field [291] "JUSTICE_INTERROGATE"
1226-
---@field JUSTICE_COUNTERINTELLIGENCE 292
1227-
---@field [292] "JUSTICE_COUNTERINTELLIGENCE"
1226+
---@field JUSTICE_CONVICT 292
1227+
---@field [292] "JUSTICE_CONVICT"
12281228
---@field D_ONESTEP 293
12291229
---@field [293] "D_ONESTEP"
12301230
---@field D_PAUSE 294

dist/library/structures/df.legends.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ function _entity_population_unk4:erase(index) end
198198
---| 7 # FLASHES
199199
---| 8 # DO_NOT_CULL
200200
---| 9 # HERO
201-
---| 10 # DEMIGOD
201+
---| 10 # CHOSEN
202202
---| 11 # POTENTIAL_CIVILIZED_ACTOR
203203
---| 12 # CHECK_FOR_POSITION_CLAIM
204204
---| 13 # POTENTIAL_PLOTTER_ACTOR
@@ -224,8 +224,8 @@ function _entity_population_unk4:erase(index) end
224224
---@field [8] "DO_NOT_CULL"
225225
---@field HERO 9 Set after assigning the Hero status during adventure mode character creation, produces the vanguard of destiny description in legends mode.
226226
---@field [9] "HERO" Set after assigning the Hero status during adventure mode character creation, produces the vanguard of destiny description in legends mode.
227-
---@field DEMIGOD 10 Set after assigning the Demigod status during adventure mode character creation, produces the divine parentage description in legends mode.
228-
---@field [10] "DEMIGOD" Set after assigning the Demigod status during adventure mode character creation, produces the divine parentage description in legends mode.
227+
---@field CHOSEN 10 Set after assigning the Demigod status during adventure mode character creation, produces the divine parentage description in legends mode.
228+
---@field [10] "CHOSEN" Set after assigning the Demigod status during adventure mode character creation, produces the divine parentage description in legends mode.
229229
---@field POTENTIAL_CIVILIZED_ACTOR 11
230230
---@field [11] "POTENTIAL_CIVILIZED_ACTOR"
231231
---@field CHECK_FOR_POSITION_CLAIM 12

dist/library/structures/df.units.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,10 @@ df.unit_flags3 = {}
431431
---@field [11] boolean
432432
---@field agitated_wilderness_creature boolean
433433
---@field [12] boolean
434+
---@field path_failed_recently boolean
435+
---@field [13] boolean
436+
---@field portrait_must_be_refreshed boolean
437+
---@field [14] boolean
434438

435439
---@class _unit_flags4: DFBitfieldType
436440
---@field lazy_goblet_check 0
@@ -459,6 +463,10 @@ df.unit_flags3 = {}
459463
---@field [11] "mood_succeeded"
460464
---@field agitated_wilderness_creature 12
461465
---@field [12] "agitated_wilderness_creature"
466+
---@field path_failed_recently 13
467+
---@field [13] "path_failed_recently"
468+
---@field portrait_must_be_refreshed 14
469+
---@field [14] "portrait_must_be_refreshed"
462470
df.unit_flags4 = {}
463471

464472
---@class work_detail_flags: DFBitfield
@@ -1712,6 +1720,7 @@ df.unit_active_animation_flags = {}
17121720
---@field texpos number[][]
17131721
---@field sheet_icon_texpos number
17141722
---@field texpos_currently_in_use boolean[][]
1723+
---@field portrait_texpos number
17151724
---@field cached_glowtile_type number
17161725
---@field pool_index integer
17171726
---@field mtx stl-mutex

dist/library/structures/df.viewscreen.lua

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,6 @@ function widget:remove_child() end
192192

193193
function widget:clear() end
194194

195-
---@return boolean
196-
function widget:is_container() end
197-
198195

199196
---@class _widget: DFCompoundType
200197
---@field _kind 'class-type'

0 commit comments

Comments
 (0)