Skip to content

Commit

Permalink
Auto-update definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 6, 2024
1 parent 4b7b55f commit 7119b03
Show file tree
Hide file tree
Showing 29 changed files with 3,146 additions and 1,933 deletions.
4 changes: 3 additions & 1 deletion dist/library/lua/dfhack.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,13 @@ dfhack.HIDE_CONSOLE_ON_STARTUP = true
---@nodiscard
---@return boolean
function dfhack.getHideConsoleOnStartup() end
function dfhack.setHideConsoleOnStartup(value) end

dfhack.HIDE_ARMOK_TOOLS = false
---@nodiscard
---@return boolean
function dfhack.getHideArmokTools() end
function dfhack.getMortalMode() end
function dfhack.setMortalMode(value) end

safecall = dfhack.safecall
curry = dfhack.curry
Expand Down
6 changes: 3 additions & 3 deletions dist/library/lua/gui/dialogs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ local dialogs

local DialogWindow

function DialogWindow:init(info) end
function DialogWindow:init() end

function DialogWindow:accept() end

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

local DialogScreen

function DialogScreen:init() end
function DialogScreen:init(args) end

function DialogScreen:onDismiss() end

------------------------

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

function dialogs.showYesNoPrompt(title, text, tcolor, on_accept, on_cancel) end
function dialogs.showYesNoPrompt(title, text, tcolor, on_accept, on_cancel, on_pause, on_settings) end

------------------------

Expand Down
3 changes: 3 additions & 0 deletions dist/library/lua/helpdb.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ function helpdb.get_entry_long_help(entry, width) end
-- returns the set of tags associated with the entry
function helpdb.get_entry_tags(entry) end

-- returns whether the given entry exists and has the specified tag
function helpdb.has_tag(entry, tag) end

-- returns whether the given string (or list of strings) matches a tag name
function helpdb.is_tag(str) end

Expand Down
2 changes: 2 additions & 0 deletions dist/library/modules/internal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
---@field md5File function
---@field getSuppressDuplicateKeyboardEvents function
---@field setSuppressDuplicateKeyboardEvents function
---@field setMortalMode function
---@field setArmokTools function
---@field getPerfCounters function
dfhack.internal = {}

Expand Down
Loading

0 comments on commit 7119b03

Please sign in to comment.