Files
@ r10116:be292ddefbc7
Branch filter:
Location: cpp/openttd-patchpack/source/src/station_type.h - annotation
r10116:be292ddefbc7
1.5 KiB
text/x-c
(svn r14300) -Update: WebTranslator2 update to 2008-09-12 17:41:59
brazilian_portuguese - 13 fixed by tucalipe (13)
catalan - 12 fixed by arnaullv (12)
danish - 9 fixed, 7 changed by ThomasA (16)
dutch - 1 changed by habell (1)
estonian - 5 fixed by kristjans (5)
galician - 98 fixed, 6 changed by Condex (104)
german - 7 fixed, 83 changed by sulai (69), dih (21)
korean - 12 fixed by leejaeuk5 (12)
romanian - 20 fixed by kneekoo (20)
slovenian - 5 fixed by Necrolyte (5)
brazilian_portuguese - 13 fixed by tucalipe (13)
catalan - 12 fixed by arnaullv (12)
danish - 9 fixed, 7 changed by ThomasA (16)
dutch - 1 changed by habell (1)
estonian - 5 fixed by kristjans (5)
galician - 98 fixed, 6 changed by Condex (104)
german - 7 fixed, 83 changed by sulai (69), dih (21)
korean - 12 fixed by leejaeuk5 (12)
romanian - 20 fixed by kneekoo (20)
slovenian - 5 fixed by Necrolyte (5)
r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8787:4e60a460f8ef r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8785:8312063c5ee4 r8785:8312063c5ee4 r8785:8312063c5ee4 r8785:8312063c5ee4 r8785:8312063c5ee4 r8785:8312063c5ee4 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r9413:fcf267325763 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r8769:6c1f27d01bf5 r9913:5ef437117969 r9913:5ef437117969 r9913:5ef437117969 r9913:5ef437117969 r9913:5ef437117969 r8769:6c1f27d01bf5 | /* $Id$ */
/** @file station_type.h Types related to stations. */
#ifndef STATION_TYPE_H
#define STATION_TYPE_H
typedef uint16 StationID;
typedef uint16 RoadStopID;
struct Station;
struct RoadStop;
struct StationSpec;
static const StationID INVALID_STATION = 0xFFFF;
enum StationType {
STATION_RAIL,
STATION_AIRPORT,
STATION_TRUCK,
STATION_BUS,
STATION_OILRIG,
STATION_DOCK,
STATION_BUOY
};
/** Types of RoadStops */
enum RoadStopType {
ROADSTOP_BUS, ///< A standard stop for buses
ROADSTOP_TRUCK ///< A standard stop for trucks
};
enum {
FACIL_TRAIN = 0x01,
FACIL_TRUCK_STOP = 0x02,
FACIL_BUS_STOP = 0x04,
FACIL_AIRPORT = 0x08,
FACIL_DOCK = 0x10,
};
enum {
// HVOT_PENDING_DELETE = 1 << 0, // not needed anymore
HVOT_TRAIN = 1 << 1,
HVOT_BUS = 1 << 2,
HVOT_TRUCK = 1 << 3,
HVOT_AIRCRAFT = 1 << 4,
HVOT_SHIP = 1 << 5,
/* This bit is used to mark stations. No, it does not belong here, but what
* can we do? ;-) */
HVOT_BUOY = 1 << 6
};
enum CatchmentArea {
CA_NONE = 0,
CA_BUS = 3,
CA_TRUCK = 3,
CA_TRAIN = 4,
CA_DOCK = 5,
CA_UNMODIFIED = 4, ///< Used when _settings_game.station.modified_catchment is false
MAX_CATCHMENT = 10, ///< Airports have a catchment up to this number.
};
enum {
MAX_LENGTH_STATION_NAME_BYTES = 31, ///< The maximum length of a station name in bytes including '\0'
MAX_LENGTH_STATION_NAME_PIXELS = 180, ///< The maximum length of a station name in pixels
};
#endif /* STATION_TYPE_H */
|