00001 /* $Id: depot_func.h 12754 2008-04-17 19:10:30Z rubidium $ */ 00002 00005 #ifndef DEPOT_FUNC_H 00006 #define DEPOT_FUNC_H 00007 00008 #include "depot_type.h" 00009 #include "tile_type.h" 00010 #include "vehicle_type.h" 00011 #include "direction_type.h" 00012 #include "slope_type.h" 00013 00014 void ShowDepotWindow(TileIndex tile, VehicleType type); 00015 void InitializeDepots(); 00016 00017 void DeleteDepotHighlightOfVehicle(const Vehicle *v); 00018 00034 static inline bool CanBuildDepotByTileh(DiagDirection direction, Slope tileh) 00035 { 00036 return ((0x4C >> direction) & tileh) != 0; 00037 } 00038 00039 #endif /* DEPOT_FUNC_H */