add Lua method

This commit is contained in:
Chris Danford
2005-05-18 04:44:15 +00:00
parent d43a380d81
commit 198dbbd6c9
+3
View File
@@ -654,11 +654,14 @@ public:
lua_pushnil( L );
return 1;
}
static int SystemMessage( T* p, lua_State *L ) { p->SystemMessage( SArg(1) ); return 0; }
static void Register(lua_State *L)
{
ADD_METHOD( SetNewScreen )
ADD_METHOD( GetTopScreen )
ADD_METHOD( SystemMessage )
Luna<T>::Register( L );
// Add global singleton if constructed already. If it's not constructed yet,