apply common setting (especially "sound") only once

This commit is contained in:
Chris Danford
2005-01-08 09:49:02 +00:00
parent cc352d7f07
commit 58e31666da
2 changed files with 32 additions and 11 deletions
+5
View File
@@ -22,8 +22,13 @@ struct GameCommand // used in SelectMode
void Init();
void Load( int iIndex, const Commands& acs );
void ApplyToAllPlayers() const;
void Apply( PlayerNumber pn ) const;
private:
void Apply( const vector<PlayerNumber> &vpns ) const;
public:
bool DescribesCurrentMode( PlayerNumber pn ) const;
bool DescribesCurrentModeForAllPlayers() const;
bool IsPlayable( CString *why = NULL ) const;