equal
deleted
inserted
replaced
3 #ifndef NEWGRF_H |
3 #ifndef NEWGRF_H |
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 |
9 |
9 typedef enum GrfLoadingStage { |
10 typedef enum GrfLoadingStage { |
10 GLS_FILESCAN, |
11 GLS_FILESCAN, |
11 GLS_SAFETYSCAN, |
12 GLS_SAFETYSCAN, |
12 GLS_LABELSCAN, |
13 GLS_LABELSCAN, |
13 GLS_INIT, |
14 GLS_INIT, |
14 GLS_ACTIVATION, |
15 GLS_ACTIVATION, |
15 GLS_END, |
16 GLS_END, |
16 } GrfLoadingStage; |
17 } GrfLoadingStage; |
|
18 |
|
19 DECLARE_POSTFIX_INCREMENT(GrfLoadingStage); |
|
20 |
17 |
21 |
18 typedef struct GRFLabel { |
22 typedef struct GRFLabel { |
19 byte label; |
23 byte label; |
20 uint32 nfo_line; |
24 uint32 nfo_line; |
21 uint32 pos; |
25 uint32 pos; |