(svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"

This commit is contained in:
tron
2005-06-24 12:38:35 +00:00
parent 3448729ff3
commit 3154e7148d
63 changed files with 536 additions and 495 deletions

View File

@@ -248,7 +248,7 @@ void UpdatePlayerMoney32(Player *p)
p->player_money = (int32)p->money64;
}
void GetNameOfOwner(byte owner, uint tile)
void GetNameOfOwner(byte owner, TileIndex tile)
{
SetDParam(2, owner);
@@ -279,7 +279,7 @@ bool CheckOwnership(byte owner)
return false;
}
bool CheckTileOwnership(uint tile)
bool CheckTileOwnership(TileIndex tile)
{
byte owner = GetTileOwner(tile);
@@ -297,7 +297,7 @@ bool CheckTileOwnership(uint tile)
static void GenerateCompanyName(Player *p)
{
uint tile;
TileIndex tile;
Town *t;
StringID str;
Player *pp;