summaryrefslogtreecommitdiff
path: root/src/cargotype.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cargotype.h')
-rw-r--r--src/cargotype.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cargotype.h b/src/cargotype.h
index 29c7b54ec..c0d552a5d 100644
--- a/src/cargotype.h
+++ b/src/cargotype.h
@@ -131,6 +131,10 @@ void SetupCargoForClimate(LandscapeID l);
CargoID GetCargoIDByLabel(CargoLabel cl);
CargoID GetCargoIDByBitnum(uint8 bitnum);
+void InitializeSortedCargoSpecs();
+extern const CargoSpec *_sorted_cargo_specs[NUM_CARGO];
+extern uint8 _sorted_cargo_specs_size;
+
/** Does cargo \a c have cargo class \a cc?
* @param c Cargo type.
* @param cc Cargo class.