From 0f601b5ef81de764b26312b21c8a101c217bce2f Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sun, 29 May 2005 01:06:38 +0000 Subject: [PATCH] add SetGlobal( CString) --- stepmania/src/LuaManager.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stepmania/src/LuaManager.h b/stepmania/src/LuaManager.h index f9e034cd1e..a475e59b23 100644 --- a/stepmania/src/LuaManager.h +++ b/stepmania/src/LuaManager.h @@ -79,8 +79,9 @@ public: void Fail( const CString &err ); - void SetGlobal( const CString &sName, int val ) { LuaHelpers::PushStack(val); SetGlobal( sName ); } - void SetGlobal( const CString &sName, bool val ) { LuaHelpers::PushStack(val); SetGlobal( sName ); } + void SetGlobal( const CString &sName, int val ) { LuaHelpers::PushStack(val); SetGlobal( sName ); } + void SetGlobal( const CString &sName, bool val ) { LuaHelpers::PushStack(val); SetGlobal( sName ); } + void SetGlobal( const CString &sName, const CString &val ) { LuaHelpers::PushStack(val); SetGlobal( sName ); } void UnsetGlobal( const CString &sName ) { PushStackNil(); SetGlobal( sName ); } void PushStackNil();