src/newgrf_cargo.h
author peter1138
Thu, 22 Feb 2007 22:09:51 +0000
changeset 6113 a10ede03ac58
parent 5547 eba5703374cd
child 6148 5247b66aad19
permissions -rw-r--r--
(svn r8849) -Codechange: Replace hardcoded global/climate cargo mapping tables with dynamically generated data. Change associated code to use new functions.
3866
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
     1
/* $Id$ */
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
     2
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
     3
#ifndef NEWGRF_CARGO_H
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
     4
#define NEWGRF_CARGO_H
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
     5
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
     6
enum {
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
     7
	CC_NOAVAILABLE  = 0,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
     8
	CC_PASSENGERS   = 1 << 0,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
     9
	CC_MAIL         = 1 << 1,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    10
	CC_EXPRESS      = 1 << 2,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    11
	CC_ARMOURED     = 1 << 3,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    12
	CC_BULK         = 1 << 4,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    13
	CC_PIECE_GOODS  = 1 << 5,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    14
	CC_LIQUID       = 1 << 6,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    15
	CC_REFRIGERATED = 1 << 7,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    16
};
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    17
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    18
enum GlobalCargo {
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    19
	GC_PASSENGERS   =   0,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    20
	GC_COAL         =   1,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    21
	GC_MAIL         =   2,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    22
	GC_OIL          =   3,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    23
	GC_LIVESTOCK    =   4,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    24
	GC_GOODS        =   5,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    25
	GC_GRAIN        =   6, // GC_WHEAT / GC_MAIZE
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    26
	GC_WOOD         =   7,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    27
	GC_IRON_ORE     =   8,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    28
	GC_STEEL        =   9,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    29
	GC_VALUABLES    =  10, // GC_GOLD / GC_DIAMONDS
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    30
	GC_PAPER        =  11,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    31
	GC_FOOD         =  12,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    32
	GC_FRUIT        =  13,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    33
	GC_COPPER_ORE   =  14,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    34
	GC_WATER        =  15,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    35
	GC_RUBBER       =  16,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    36
	GC_SUGAR        =  17,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    37
	GC_TOYS         =  18,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    38
	GC_BATTERIES    =  19,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    39
	GC_CANDY        =  20,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    40
	GC_TOFFEE       =  21,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    41
	GC_COLA         =  22,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    42
	GC_COTTON_CANDY =  23,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    43
	GC_BUBBLES      =  24,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    44
	GC_PLASTIC      =  25,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    45
	GC_FIZZY_DRINKS =  26,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    46
	GC_PAPER_TEMP   =  27,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    47
	GC_UNDEFINED    =  28, // undefined; unused slot in arctic climate
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    48
	GC_DEFAULT      =  29,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    49
	GC_PURCHASE     =  30,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    50
	GC_DEFAULT_NA   =  31, // New stations only
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    51
	GC_INVALID      = 255,
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    52
	NUM_GLOBAL_CID  =  32
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    53
};
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    54
b13553406a0a (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
belugas
parents:
diff changeset
    55
#endif /* NEWGRF_CARGO_H */