update registration for BitmapText types

This commit is contained in:
Glenn Maynard
2005-06-20 04:06:26 +00:00
parent aff28653da
commit 0b80f541ac
9 changed files with 83 additions and 80 deletions
+3 -3
View File
@@ -75,7 +75,7 @@ void HelpDisplay::Update( float fDeltaTime )
template<class T>
class LunaHelpDisplay : public LunaBitmapText<T>
class LunaHelpDisplay : public Luna<T>
{
public:
LunaHelpDisplay() { LUA->Register( Register ); }
@@ -119,11 +119,11 @@ public:
{
ADD_METHOD( settips )
ADD_METHOD( gettips )
LunaActor<T>::Register( L );
Luna<T>::Register( L );
}
};
LUA_REGISTER_CLASS( HelpDisplay )
LUA_REGISTER_DERIVED_CLASS( HelpDisplay, BitmapText )
#include "song.h"