(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.

This commit is contained in:
rubidium
2008-09-30 20:39:50 +00:00
parent dba193d4a5
commit f56e630e5c
158 changed files with 4661 additions and 4675 deletions

View File

@@ -17,17 +17,17 @@ struct Sign : PoolItem<Sign, SignID, &_Sign_pool> {
int32 x;
int32 y;
byte z;
PlayerByte owner; // placed by this player. Anyone can delete them though. OWNER_NONE for gray signs from old games.
OwnerByte owner; // placed by this company. Anyone can delete them though. OWNER_NONE for gray signs from old games.
/**
* Creates a new sign
*/
Sign(PlayerID owner = INVALID_PLAYER);
Sign(Owner owner = INVALID_OWNER);
/** Destroy the sign */
~Sign();
inline bool IsValid() const { return this->owner != INVALID_PLAYER; }
inline bool IsValid() const { return this->owner != INVALID_OWNER; }
};
static inline SignID GetMaxSignIndex()