update registration for various types

This commit is contained in:
Glenn Maynard
2005-06-20 04:23:36 +00:00
parent c998564adf
commit e2cfba413a
6 changed files with 340 additions and 335 deletions
-15
View File
@@ -10,21 +10,6 @@
#include <map>
#include "RageModelGeometry.h"
template<class T>
class LunaModel : public LunaActor<T>
{
public:
LunaModel() { LUA->Register( Register ); }
static int playanimation( T* p, lua_State *L ) { p->PlayAnimation(SArg(1),FArg(2)); return 0; }
static void Register(lua_State *L)
{
ADD_METHOD( playanimation )
LunaActor<T>::Register( L );
}
};
class Model : public Actor
{
public: