kill off productivity helpers, move its remaining functions into 02 Utilities

This commit is contained in:
AJ Kelly
2011-12-27 20:40:48 -06:00
parent c8aec52eac
commit b1219d0cbc
2 changed files with 8 additions and 21 deletions
@@ -311,6 +311,14 @@ function GetPlayerOrMachineProfile(pn)
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
-- 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.