(svn r13821) -Codechange: replace some uint8/bytes with more specificly named typedefs and replace a few magic numbers.

This commit is contained in:
rubidium
2008-07-25 10:00:03 +00:00
parent 00d87b537f
commit 1a4ac3ee5c
4 changed files with 8 additions and 6 deletions

View File

@@ -124,7 +124,7 @@ struct Town : PoolItem<Town, TownID, &_Town_pool> {
byte statues;
/* Player ratings as well as a mask that determines which players have a rating. */
byte have_ratings;
PlayerMask have_ratings;
uint8 unwanted[MAX_PLAYERS]; ///< how many months companies aren't wanted by towns (bribe)
PlayerByte exclusivity; ///< which player has exslusivity
uint8 exclusive_counter; ///< months till the exclusivity expires