(svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type strictness.

This commit is contained in:
rubidium
2007-05-18 17:31:41 +00:00
parent 2a7442fda4
commit c8d05162c2
13 changed files with 39 additions and 28 deletions

View File

@@ -42,7 +42,7 @@ static inline void DeleteDepot(Depot *depot)
depot->xy = 0;
}
void ShowDepotWindow(TileIndex tile, byte type);
void ShowDepotWindow(TileIndex tile, VehicleType type);
#define FOR_ALL_DEPOTS_FROM(d, start) for (d = GetDepot(start); d != NULL; d = (d->index + 1U < GetDepotPoolSize()) ? GetDepot(d->index + 1U) : NULL) if (IsValidDepot(d))
#define FOR_ALL_DEPOTS(d) FOR_ALL_DEPOTS_FROM(d, 0)