(svn r14085) -Cleanup (r14083): Remove no longer used functions.

This commit is contained in:
frosch
2008-08-16 14:15:32 +00:00
parent f3e7b77dcb
commit 9751fbe4dc
5 changed files with 0 additions and 593 deletions

View File

@@ -92,18 +92,6 @@ static inline bool IsValidPlayerID(PlayerID index)
#define FOR_ALL_PLAYERS_FROM(d, start) for (d = GetPlayer(start); d != NULL; d = (d->index + 1U < GetPlayerPoolSize()) ? GetPlayer(d->index + 1U) : NULL) if (d->IsValid())
#define FOR_ALL_PLAYERS(d) FOR_ALL_PLAYERS_FROM(d, 0)
struct PlayerMoneyBackup {
private:
Money backup_yearly_expenses[EXPENSES_END];
PlayerEconomyEntry backup_cur_economy;
Player *p;
public:
PlayerMoneyBackup(Player *player);
void Restore();
};
static inline byte ActivePlayerCount()
{
const Player *p;