Files
itgmania212121/Themes/_fallback/Scripts/03 ProductivityHelpers.lua
T

22 lines
575 B
Lua
Raw Normal View History

2011-03-17 01:47:30 -04:00
-- ProductivityHelpers: A set of useful aliases for theming.
--[[ 3.9 Functions ]]
Game = {
GetStage = function()
2011-03-17 01:47:30 -04:00
end,
}
--[[ ----------------------------------------------------------------------- ]]
2011-03-17 01:47:30 -04:00
--[[ helper functions ]]
function pname(pn) return ToEnumShortString(pn) end
2011-03-17 01:47:30 -04:00
2011-11-21 03:02:03 +00:00
function ThemeManager:GetAbsolutePath(sPath)
sFinPath = "/Themes/"..self:GetCurThemeName().."/"..sPath
assert(RageFileManager.DoesFileExist(sFinPath), "the theme element "..sPath.." is missing")
return sFinPath
end
2011-03-17 01:47:30 -04:00
--[[ end helper functions ]]
-- this code is in the public domain.