omit semicolon, so REGISTER_ACTOR_CLASS(x) can't be parsed as
a prototype
This commit is contained in:
@@ -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()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#include "LuaManager.h"
|
#include "LuaManager.h"
|
||||||
|
|
||||||
|
|
||||||
REGISTER_ACTOR_CLASS( BGAnimation );
|
REGISTER_ACTOR_CLASS( BGAnimation )
|
||||||
|
|
||||||
BGAnimation::BGAnimation()
|
BGAnimation::BGAnimation()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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");
|
||||||
|
|
||||||
|
|||||||
@@ -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()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user