src/station.h
branchcpp_gui
changeset 6308 646711c5feaa
parent 6307 f40e88cff863
equal deleted inserted replaced
6307:f40e88cff863 6308:646711c5feaa
     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 "newgrf_station.h"
    13 #include "newgrf_station.h"
       
    14 #include <list>
    14 
    15 
    15 static const StationID INVALID_STATION = 0xFFFF;
    16 static const StationID INVALID_STATION = 0xFFFF;
    16 static const byte INITIAL_STATION_RATING = 175;
    17 static const byte INITIAL_STATION_RATING = 175;
    17 
    18 
    18 struct GoodsEntry {
    19 struct GoodsEntry {
   155 
   156 
   156 	uint64 airport_flags;   ///< stores which blocks on the airport are taken. was 16 bit earlier on, then 32
   157 	uint64 airport_flags;   ///< stores which blocks on the airport are taken. was 16 bit earlier on, then 32
   157 	StationID index;
   158 	StationID index;
   158 
   159 
   159 	byte last_vehicle_type;
   160 	byte last_vehicle_type;
       
   161 	std::list<Vehicle *> loading_vehicles;
   160 	GoodsEntry goods[NUM_CARGO];
   162 	GoodsEntry goods[NUM_CARGO];
   161 
   163 
   162 	uint16 random_bits;
   164 	uint16 random_bits;
   163 	byte waiting_triggers;
   165 	byte waiting_triggers;
   164 
   166