src/station.h
branchnoai
changeset 9624 b71483f2330f
parent 9601 b499fdd106d5
child 9626 79f2b5a0cdd7
equal deleted inserted replaced
9623:ee0173281563 9624:b71483f2330f
     8 #include "airport.h"
     8 #include "airport.h"
     9 #include "player.h"
     9 #include "player.h"
    10 #include "oldpool.h"
    10 #include "oldpool.h"
    11 #include "sprite.h"
    11 #include "sprite.h"
    12 #include "tile.h"
    12 #include "tile.h"
       
    13 #include "road.h"
    13 #include "newgrf_station.h"
    14 #include "newgrf_station.h"
    14 #include <list>
    15 #include <list>
    15 
    16 
    16 static const StationID INVALID_STATION = 0xFFFF;
    17 static const StationID INVALID_STATION = 0xFFFF;
    17 static const byte INITIAL_STATION_RATING = 175;
    18 static const byte INITIAL_STATION_RATING = 175;
   269 void GetProductionAroundTiles(AcceptedCargo produced, TileIndex tile, int w, int h, int rad);
   270 void GetProductionAroundTiles(AcceptedCargo produced, TileIndex tile, int w, int h, int rad);
   270 void GetAcceptanceAroundTiles(AcceptedCargo accepts, TileIndex tile, int w, int h, int rad);
   271 void GetAcceptanceAroundTiles(AcceptedCargo accepts, TileIndex tile, int w, int h, int rad);
   271 
   272 
   272 
   273 
   273 const DrawTileSprites *GetStationTileLayout(byte gfx);
   274 const DrawTileSprites *GetStationTileLayout(byte gfx);
   274 void StationPickerDrawSprite(int x, int y, RailType railtype, int image);
   275 void StationPickerDrawSprite(int x, int y, RailType railtype, RoadType roadtype, int image);
   275 
   276 
   276 RoadStop * GetRoadStopByTile(TileIndex tile, RoadStop::Type type);
   277 RoadStop * GetRoadStopByTile(TileIndex tile, RoadStop::Type type);
   277 uint GetNumRoadStops(const Station* st, RoadStop::Type type);
   278 uint GetNumRoadStops(const Station* st, RoadStop::Type type);
   278 RoadStop * AllocateRoadStop();
   279 RoadStop * AllocateRoadStop();
   279 void ClearSlot(Vehicle *v);
   280 void ClearSlot(Vehicle *v);