omit semicolon, so REGISTER_ACTOR_CLASS(x) can't be parsed as

a prototype
This commit is contained in:
Glenn Maynard
2005-02-23 19:09:13 +00:00
parent bb032d6a2b
commit fc1c863f8a
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
// lua start // lua start
LUA_REGISTER_CLASS( ActorFrame ) LUA_REGISTER_CLASS( ActorFrame )
// lua end // lua end
REGISTER_ACTOR_CLASS( ActorFrame ); REGISTER_ACTOR_CLASS( ActorFrame )
ActorFrame::ActorFrame() ActorFrame::ActorFrame()
{ {
+1 -1
View File
@@ -9,7 +9,7 @@
#include "LuaManager.h" #include "LuaManager.h"
REGISTER_ACTOR_CLASS( BGAnimation ); REGISTER_ACTOR_CLASS( BGAnimation )
BGAnimation::BGAnimation() BGAnimation::BGAnimation()
{ {
+1 -1
View File
@@ -15,7 +15,7 @@
// lua start // lua start
LUA_REGISTER_CLASS( BitmapText ) LUA_REGISTER_CLASS( BitmapText )
// lua end // lua end
REGISTER_ACTOR_CLASS( BitmapText ); REGISTER_ACTOR_CLASS( BitmapText )
/* /*
* XXX: Changing a whole array of diffuse colors every frame (several times) is a waste, * XXX: Changing a whole array of diffuse colors every frame (several times) is a waste,
+1 -1
View File
@@ -14,7 +14,7 @@
// lua start // lua start
LUA_REGISTER_CLASS( FadingBanner ) LUA_REGISTER_CLASS( FadingBanner )
// lua end // lua end
REGISTER_ACTOR_CLASS( FadingBanner ); REGISTER_ACTOR_CLASS( FadingBanner )
static ThemeMetric<float> FADE_SECONDS ("FadingBanner","FadeSeconds"); static ThemeMetric<float> FADE_SECONDS ("FadingBanner","FadeSeconds");
+1 -1
View File
@@ -77,7 +77,7 @@ void HelpDisplay::Update( float fDeltaTime )
#include "Style.h" #include "Style.h"
#include "Foreach.h" #include "Foreach.h"
REGISTER_ACTOR_CLASS( GenreDisplay ); REGISTER_ACTOR_CLASS( GenreDisplay )
GenreDisplay::GenreDisplay() GenreDisplay::GenreDisplay()
{ {
+1 -1
View File
@@ -7,7 +7,7 @@
// lua start // lua start
LUA_REGISTER_CLASS( RollingNumbers ) LUA_REGISTER_CLASS( RollingNumbers )
// lua end // lua end
REGISTER_ACTOR_CLASS( RollingNumbers ); REGISTER_ACTOR_CLASS( RollingNumbers )
RollingNumbers::RollingNumbers() RollingNumbers::RollingNumbers()
{ {
+1 -1
View File
@@ -12,7 +12,7 @@
// lua start // lua start
LUA_REGISTER_CLASS( ScoreDisplayCalories ) LUA_REGISTER_CLASS( ScoreDisplayCalories )
// lua end // lua end
REGISTER_ACTOR_CLASS( ScoreDisplayCalories ); REGISTER_ACTOR_CLASS( ScoreDisplayCalories )
ScoreDisplayCalories::ScoreDisplayCalories() ScoreDisplayCalories::ScoreDisplayCalories()
{ {