add functions api + documentation (#23)

This commit is contained in:
wsor4035
2024-05-26 12:31:52 -04:00
committed by GitHub
parent 5b4b19a184
commit 788217bb8e
5 changed files with 36 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ xcompat.utilities = dofile(modpath .. "/src/utilities.lua")
xcompat.sounds = dofile(modpath .. "/src/sounds.lua")
xcompat.materials = dofile(modpath .. "/src/materials.lua")
xcompat.textures = dofile(modpath .. "/src/textures.lua")
xcompat.functions = dofile(modpath .. "/src/functions.lua")
local function validate_sound(key)
if key and xcompat.sounds[key] then