From 54024824047f63b493329c60fdc21d5bf8ea1d6a Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 6 Sep 2005 03:48:39 +0000 Subject: [PATCH] remove unused --- stepmania/src/Command.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/stepmania/src/Command.h b/stepmania/src/Command.h index c8821b7cad..51d477bf19 100644 --- a/stepmania/src/Command.h +++ b/stepmania/src/Command.h @@ -50,7 +50,6 @@ Commands ParseCommands( const CString &sCmds ); #define fArg(i) GetArg(command,i,iMaxIndexAccessed) #define iArg(i) GetArg(command,i,iMaxIndexAccessed) #define bArg(i) GetArg(command,i,iMaxIndexAccessed) -#define cArg(i) GetColorArg(command,i,iMaxIndexAccessed) #define EndHandleArgs if( iMaxIndexAccessed != (int)command.m_vsArgs.size()-1 ) { IncorrectNumberArgsWarning( command, iMaxIndexAccessed ); } void IncorrectNumberArgsWarning( const Command& command, int iMaxIndexAccessed ); @@ -61,15 +60,6 @@ inline T GetArg( const Command& command, int iIndex, int& iMaxIndexAccessedOut ) return (T)command.GetArg(iIndex); } -inline RageColor GetColorArg( const Command& command, int iIndex, int& iMaxIndexAccessed ) -{ - RageColor c; - if( c.FromString( GetArg(command,iIndex,iMaxIndexAccessed) ) ) - return c; - else - return RageColor( fArg(iIndex+0),fArg(iIndex+1),fArg(iIndex+2),fArg(iIndex+3) ); -} - #endif /*