(svn r23407) -Codechange: Keep a bitmap of all cargos accepted by towns.
This commit is contained in:
@@ -185,6 +185,7 @@ void UpdateTownMaxPass(Town *t);
|
||||
void UpdateTownRadius(Town *t);
|
||||
void UpdateTownCargos(Town *t);
|
||||
void UpdateTownCargoTotal(Town *t);
|
||||
void UpdateTownCargoBitmap();
|
||||
CommandCost CheckIfAuthorityAllowsNewStation(TileIndex tile, DoCommandFlag flags);
|
||||
Town *ClosestTownFromTile(TileIndex tile, uint threshold);
|
||||
void ChangeTownRating(Town *t, int add, int max, DoCommandFlag flags);
|
||||
@@ -284,4 +285,6 @@ void MakeDefaultName(T *obj)
|
||||
obj->town_cn = (uint16)next; // set index...
|
||||
}
|
||||
|
||||
extern uint32 _town_cargos_accepted;
|
||||
|
||||
#endif /* TOWN_H */
|
||||
|
Reference in New Issue
Block a user