Darktide-Mod-Framework/scripts/mods/dmf/modules/gui/custom_textures.lua
Lucas Schwiderski b0b7395f02
feat: Make buildable with dtmt
Move files in the correct file structure, add package definition and
dtmt configuration.
2023-05-06 22:54:41 +02:00

49 lines
2.4 KiB
Lua

local dmf = get_mod("DMF")
local _show_debug_info = false
-- ####################################################################################################################
-- ##### Local functions ##############################################################################################
-- ####################################################################################################################
local function check_texture_availability(mod, texture_name)
-- @TODO: Method for checking texture availability
end
-- ####################################################################################################################
-- ##### DMFMod #######################################################################################################
-- ####################################################################################################################
dmf.custom_textures = function (mod, ...)
-- @TODO: Not implemented
end
dmf.custom_atlas = function (mod, ...)
-- @TODO: Not implemented
end
dmf.inject_materials = function (mod, ...)
-- @TODO: Not implemented
end
-- ####################################################################################################################
-- ##### Hooks ########################################################################################################
-- ####################################################################################################################
-- ####################################################################################################################
-- ##### DMF internal functions and variables #########################################################################
-- ####################################################################################################################
dmf.load_custom_textures_settings = function()
_show_debug_info = dmf:get("developer_mode") and dmf:get("log_ui_renderers_info")
end
dmf.reset_guis = function()
-- @TODO: Method to reset DMF-spawned guis
end
-- ####################################################################################################################
-- ##### Script #######################################################################################################
-- ####################################################################################################################
dmf.load_custom_textures_settings()