Register MusicWheel as a Lua class.
Now Lua functions on MusicWheel actually exist.
This commit is contained in:
@@ -1657,6 +1657,9 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
LUA_REGISTER_DERIVED_CLASS( MusicWheel, WheelBase )
|
||||
// lua end
|
||||
|
||||
/*
|
||||
* (c) 2001-2004 Chris Danford, Chris Gomez, Glenn Maynard
|
||||
* All rights reserved.
|
||||
|
||||
@@ -50,6 +50,9 @@ public:
|
||||
RString JumpToPrevGroup();
|
||||
const MusicWheelItemData *GetCurWheelItemData( int i ) { return (const MusicWheelItemData *) m_CurWheelItemData[i]; }
|
||||
|
||||
// Lua
|
||||
void PushSelf( lua_State *L );
|
||||
|
||||
protected:
|
||||
MusicWheelItem *MakeItem();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user