update registration for various types
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user