From ff888eaf9ef101681ca92382b786bcd83f96a871 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 21 Jun 2005 05:23:25 +0000 Subject: [PATCH] cleanup --- stepmania/src/Actor.cpp | 14 +++++++------- stepmania/src/Actor.h | 6 +++++- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index cd15de169e..1461d57052 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -79,13 +79,6 @@ void Actor::Reset() UnsubcribeAndClearCommands(); } -Actor::Actor() -{ - m_size = RageVector2( 1, 1 ); - Reset(); - m_bFirstUpdate = true; -} - static bool GetMessageNameFromCommandName( const CString &sCommandName, CString &sMessageNameOut ) { if( sCommandName.Right(7) == "Message" ) @@ -106,6 +99,13 @@ void Actor::UnsubcribeAndClearCommands() m_vsSubscribedTo.clear(); } +Actor::Actor() +{ + m_size = RageVector2( 1, 1 ); + Reset(); + m_bFirstUpdate = true; +} + Actor::~Actor() { UnsubcribeAndClearCommands(); diff --git a/stepmania/src/Actor.h b/stepmania/src/Actor.h index 80e7af2907..bde414e3be 100644 --- a/stepmania/src/Actor.h +++ b/stepmania/src/Actor.h @@ -330,9 +330,13 @@ public: void SetCullModeString( const CString &s ); // convenience // - // Commands + // Lua // virtual void PushSelf( lua_State *L ); + + // + // Commands + // void AddCommand( const CString &sCmdName, apActorCommands apac ); bool HasCommand( const CString &sCmdName ); const apActorCommands& GetCommand( const CString &sCommandName ) const;