src/cargo_type.h
author peter1138
Tue, 22 Jan 2008 07:27:06 +0000
changeset 8374 7a1b6c89cb89
parent 8142 837f47089a7c
child 10259 0c47efd6a0c3
permissions -rw-r--r--
(svn r11940) -Codechange: Store short filename once per open file instead of once per sprite cache entry. Not all file types need this, but most of the time no sprite cache entry needed it either.
8119
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
     1
/* $Id$ */
8142
837f47089a7c (svn r11704) -Codechange: remove another bunch of useless includes.
rubidium
parents: 8119
diff changeset
     2
837f47089a7c (svn r11704) -Codechange: remove another bunch of useless includes.
rubidium
parents: 8119
diff changeset
     3
/** @file cargo_type.h Types related to cargos... */
8119
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
     4
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
     5
#ifndef CARGO_TYPE_H
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
     6
#define CARGO_TYPE_H
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
     7
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
     8
typedef byte CargoID;
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
     9
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    10
enum {
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    11
	// Temperate
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    12
	CT_PASSENGERS   =  0,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    13
	CT_COAL         =  1,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    14
	CT_MAIL         =  2,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    15
	CT_OIL          =  3,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    16
	CT_LIVESTOCK    =  4,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    17
	CT_GOODS        =  5,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    18
	CT_GRAIN        =  6,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    19
	CT_WOOD         =  7,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    20
	CT_IRON_ORE     =  8,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    21
	CT_STEEL        =  9,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    22
	CT_VALUABLES    = 10,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    23
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    24
	// Arctic
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    25
	CT_WHEAT        =  6,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    26
	CT_HILLY_UNUSED =  8,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    27
	CT_PAPER        =  9,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    28
	CT_GOLD         = 10,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    29
	CT_FOOD         = 11,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    30
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    31
	// Tropic
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    32
	CT_RUBBER       =  1,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    33
	CT_FRUIT        =  4,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    34
	CT_MAIZE        =  6,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    35
	CT_COPPER_ORE   =  8,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    36
	CT_WATER        =  9,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    37
	CT_DIAMONDS     = 10,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    38
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    39
	// Toyland
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    40
	CT_SUGAR        =  1,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    41
	CT_TOYS         =  3,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    42
	CT_BATTERIES    =  4,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    43
	CT_CANDY        =  5,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    44
	CT_TOFFEE       =  6,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    45
	CT_COLA         =  7,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    46
	CT_COTTON_CANDY =  8,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    47
	CT_BUBBLES      =  9,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    48
	CT_PLASTIC      = 10,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    49
	CT_FIZZY_DRINKS = 11,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    50
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    51
	NUM_CARGO       = 32,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    52
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    53
	CT_NO_REFIT     = 0xFE,
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    54
	CT_INVALID      = 0xFF
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    55
};
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    56
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    57
typedef uint AcceptedCargo[NUM_CARGO];
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    58
52b48108425a (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
rubidium
parents:
diff changeset
    59
#endif /* OPENTTD_H */