equal
deleted
inserted
replaced
4 #define NEWGRF_H |
4 #define NEWGRF_H |
5 |
5 |
6 #include "station.h" |
6 #include "station.h" |
7 #include "newgrf_config.h" |
7 #include "newgrf_config.h" |
8 #include "helpers.hpp" |
8 #include "helpers.hpp" |
|
9 #include "cargotype.h" |
9 |
10 |
10 typedef enum GrfLoadingStage { |
11 typedef enum GrfLoadingStage { |
11 GLS_FILESCAN, |
12 GLS_FILESCAN, |
12 GLS_SAFETYSCAN, |
13 GLS_SAFETYSCAN, |
13 GLS_LABELSCAN, |
14 GLS_LABELSCAN, |
58 |
59 |
59 uint32 param[0x80]; |
60 uint32 param[0x80]; |
60 uint param_end; /// one more than the highest set parameter |
61 uint param_end; /// one more than the highest set parameter |
61 |
62 |
62 GRFLabel *label; ///< Pointer to the first label. This is a linked list, not an array. |
63 GRFLabel *label; ///< Pointer to the first label. This is a linked list, not an array. |
|
64 |
|
65 uint8 cargo_max; |
|
66 CargoLabel *cargo_list; |
63 } GRFFile; |
67 } GRFFile; |
64 |
68 |
65 extern GRFFile *_first_grffile; |
69 extern GRFFile *_first_grffile; |
66 |
70 |
67 extern SpriteID _signal_base; |
71 extern SpriteID _signal_base; |