Skip to content

Commit 7119b03

Browse files
Auto-update definitions
1 parent 4b7b55f commit 7119b03

29 files changed

+3146
-1933
lines changed

dist/library/lua/dfhack.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,13 @@ dfhack.HIDE_CONSOLE_ON_STARTUP = true
7171
---@nodiscard
7272
---@return boolean
7373
function dfhack.getHideConsoleOnStartup() end
74+
function dfhack.setHideConsoleOnStartup(value) end
7475

7576
dfhack.HIDE_ARMOK_TOOLS = false
7677
---@nodiscard
7778
---@return boolean
78-
function dfhack.getHideArmokTools() end
79+
function dfhack.getMortalMode() end
80+
function dfhack.setMortalMode(value) end
7981

8082
safecall = dfhack.safecall
8183
curry = dfhack.curry

dist/library/lua/gui/dialogs.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ local dialogs
1313

1414
local DialogWindow
1515

16-
function DialogWindow:init(info) end
16+
function DialogWindow:init() end
1717

1818
function DialogWindow:accept() end
1919

@@ -25,15 +25,15 @@ function DialogWindow:onInput(keys) end
2525

2626
local DialogScreen
2727

28-
function DialogScreen:init() end
28+
function DialogScreen:init(args) end
2929

3030
function DialogScreen:onDismiss() end
3131

3232
------------------------
3333

3434
function dialogs.showMessage(title, text, tcolor, on_close) end
3535

36-
function dialogs.showYesNoPrompt(title, text, tcolor, on_accept, on_cancel) end
36+
function dialogs.showYesNoPrompt(title, text, tcolor, on_accept, on_cancel, on_pause, on_settings) end
3737

3838
------------------------
3939

dist/library/lua/helpdb.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ function helpdb.get_entry_long_help(entry, width) end
4242
-- returns the set of tags associated with the entry
4343
function helpdb.get_entry_tags(entry) end
4444

45+
-- returns whether the given entry exists and has the specified tag
46+
function helpdb.has_tag(entry, tag) end
47+
4548
-- returns whether the given string (or list of strings) matches a tag name
4649
function helpdb.is_tag(str) end
4750

dist/library/modules/internal.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
---@field md5File function
3232
---@field getSuppressDuplicateKeyboardEvents function
3333
---@field setSuppressDuplicateKeyboardEvents function
34+
---@field setMortalMode function
35+
---@field setArmokTools function
3436
---@field getPerfCounters function
3537
dfhack.internal = {}
3638

0 commit comments

Comments
 (0)