summaryrefslogtreecommitdiff
path: root/src/newgrf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf.h')
-rw-r--r--src/newgrf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/newgrf.h b/src/newgrf.h
index 697ef9fc0..964f533ae 100644
--- a/src/newgrf.h
+++ b/src/newgrf.h
@@ -6,6 +6,7 @@
#include "station.h"
#include "newgrf_config.h"
#include "helpers.hpp"
+#include "cargotype.h"
typedef enum GrfLoadingStage {
GLS_FILESCAN,
@@ -60,6 +61,9 @@ typedef struct GRFFile {
uint param_end; /// one more than the highest set parameter
GRFLabel *label; ///< Pointer to the first label. This is a linked list, not an array.
+
+ uint8 cargo_max;
+ CargoLabel *cargo_list;
} GRFFile;
extern GRFFile *_first_grffile;