remove unused (way too many little custom ways of loading Lua scripts)

This commit is contained in:
Glenn Maynard
2006-10-23 20:25:20 +00:00
parent 0ebc4a9900
commit e5c216c8f0
2 changed files with 0 additions and 28 deletions
-26
View File
@@ -536,32 +536,6 @@ bool LuaHelpers::RunExpression( Lua *L, const RString &sExpression, const RStrin
return true;
}
bool LuaHelpers::RunExpressionB( const RString &str )
{
Lua *L = LUA->Get();
RunExpression( L, str );
bool result;
LuaHelpers::Pop( L, result );
LUA->Release( L );
return result;
}
float LuaHelpers::RunExpressionF( const RString &str )
{
Lua *L = LUA->Get();
RunExpression( L, str );
float result;
LuaHelpers::Pop( L, result );
LUA->Release( L );
return result;
}
void LuaHelpers::RunExpressionS( const RString &str, RString &sOut )
{
Lua *L = LUA->Get();
-2
View File
@@ -76,8 +76,6 @@ namespace LuaHelpers
void ReadArrayFromTableB( Lua *L, vector<bool> &aOut );
/* Run an expression in the global environment, returning the given type. */
bool RunExpressionB( const RString &str );
float RunExpressionF( const RString &str );
void RunExpressionS( const RString &str, RString &sOut );
/* If sStr begins with @, evaluate the rest as an expression and store the result over sStr. */