kill off productivity helpers, move its remaining functions into 02 Utilities
This commit is contained in:
@@ -311,6 +311,14 @@ function GetPlayerOrMachineProfile(pn)
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function pname(pn) return ToEnumShortString(pn) end
|
||||||
|
|
||||||
|
function ThemeManager:GetAbsolutePath(sPath)
|
||||||
|
sFinPath = "/Themes/"..self:GetCurThemeName().."/"..sPath
|
||||||
|
assert(RageFileManager.DoesFileExist(sFinPath), "the theme element "..sPath.." is missing")
|
||||||
|
return sFinPath
|
||||||
|
end
|
||||||
|
|
||||||
-- (c) 2005-2011 Glenn Maynard, Chris Danford, SSC
|
-- (c) 2005-2011 Glenn Maynard, Chris Danford, SSC
|
||||||
-- All rights reserved.
|
-- All rights reserved.
|
||||||
--
|
--
|
||||||
|
|||||||
@@ -1,21 +0,0 @@
|
|||||||
-- ProductivityHelpers: A set of useful aliases for theming.
|
|
||||||
--[[ 3.9 Functions ]]
|
|
||||||
Game = {
|
|
||||||
GetStage = function()
|
|
||||||
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
|
|
||||||
--[[ ----------------------------------------------------------------------- ]]
|
|
||||||
|
|
||||||
--[[ helper functions ]]
|
|
||||||
function pname(pn) return ToEnumShortString(pn) end
|
|
||||||
|
|
||||||
function ThemeManager:GetAbsolutePath(sPath)
|
|
||||||
sFinPath = "/Themes/"..self:GetCurThemeName().."/"..sPath
|
|
||||||
assert(RageFileManager.DoesFileExist(sFinPath), "the theme element "..sPath.." is missing")
|
|
||||||
return sFinPath
|
|
||||||
end
|
|
||||||
|
|
||||||
--[[ end helper functions ]]
|
|
||||||
-- this code is in the public domain.
|
|
||||||
Reference in New Issue
Block a user