#include "cargo_type.h"
#include "gfx_type.h"
#include "strings_type.h"
#include "landscape_type.h"
Go to the source code of this file.
Data Structures | |
| struct | CargoSpec |
Typedefs | |
| typedef uint32 | CargoLabel |
Enumerations | |
| enum | TownEffect { TE_NONE, TE_PASSENGERS, TE_MAIL, TE_GOODS, TE_WATER, TE_FOOD } |
Functions | |
| void | SetupCargoForClimate (LandscapeID l) |
| const CargoSpec * | GetCargo (CargoID c) |
| SpriteID | GetCargoSprite (CargoID i) |
| CargoID | GetCargoIDByLabel (CargoLabel cl) |
| CargoID | GetCargoIDByBitnum (uint8 bitnum) |
| Find the CargoID of a 'bitnum' value. | |
| static bool | IsCargoInClass (CargoID c, uint16 cc) |
Variables | |
| uint32 | _cargo_mask |
| CargoSpec | _cargo [NUM_CARGO] |
Definition in file cargotype.h.
| CargoID GetCargoIDByBitnum | ( | uint8 | bitnum | ) |
Find the CargoID of a 'bitnum' value.
| bitnum | 'bitnum' to find. |
Definition at line 87 of file cargotype.cpp.
References lengthof.
1.5.6