summaryrefslogtreecommitdiff
path: root/src/cargo_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cargo_type.h')
-rw-r--r--src/cargo_type.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cargo_type.h b/src/cargo_type.h
index afdacdac0..57365857d 100644
--- a/src/cargo_type.h
+++ b/src/cargo_type.h
@@ -7,7 +7,8 @@
typedef byte CargoID;
-enum {
+/** Available types of cargo */
+enum CargoTypes {
/* Temperate */
CT_PASSENGERS = 0,
CT_COAL = 1,
@@ -54,6 +55,7 @@ enum {
CT_INVALID = 0xFF
};
+/** Array for storing amounts of accepted cargo */
typedef uint AcceptedCargo[NUM_CARGO];
-#endif /* OPENTTD_H */
+#endif /* CARGO_TYPE_H */