remove unused

This commit is contained in:
Glenn Maynard
2006-01-15 08:12:27 +00:00
parent 49bdcb8936
commit e341ce46bb
3 changed files with 0 additions and 24 deletions
-22
View File
@@ -561,28 +561,6 @@ void GameCommand::Apply( PlayerNumber pn ) const
Apply( vpns );
}
/* Hack: if this GameCommand would set the screen, clear the setting and return
* the screen that would have been set. */
CString GameCommand::GetAndClearScreen()
{
CString sRet;
FOREACH( Command, m_Commands.v, cmd )
{
CString sName = cmd->GetName();
if( sName == "screen" )
{
sRet = CString( cmd->GetArg(1) );
m_Commands.v.erase( cmd );
break;
}
}
m_sScreen = "";
return sRet;
}
void GameCommand::Apply( const vector<PlayerNumber> &vpns ) const
{
if( m_Commands.v.size() )
-1
View File
@@ -39,7 +39,6 @@ public:
bool DescribesCurrentModeForAllPlayers() const;
bool IsPlayable( CString *why = NULL ) const;
bool IsZero() const;
CString GetAndClearScreen();
/* If true, Apply() will apply m_sScreen. If false, it won't, and you need
* to do it yourself. */
-1
View File
@@ -14,7 +14,6 @@ public:
protected:
int m_iChangeMask;
bool m_bExportWillSetANewScreen; // from an OptionRowHandler
vector<OptionRowHandler*> m_OptionRowHandlers;