src/cargo_type.h
changeset 10260 c6ec6b3c1b18
parent 10259 0c47efd6a0c3
--- a/src/cargo_type.h	Sun Oct 19 09:51:19 2008 +0000
+++ b/src/cargo_type.h	Sun Oct 19 15:39:12 2008 +0000
@@ -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 @@
 	CT_INVALID      = 0xFF
 };
 
+/** Array for storing amounts of accepted cargo */
 typedef uint AcceptedCargo[NUM_CARGO];
 
-#endif /* OPENTTD_H */
+#endif /* CARGO_TYPE_H */