summaryrefslogtreecommitdiff
path: root/newgrf.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-12-03 23:46:54 +0000
committerpeter1138 <peter1138@openttd.org>2006-12-03 23:46:54 +0000
commit0a88e202e5e20b0e5acc58f31de14a020beb88e0 (patch)
tree80e78716833b9739ca28da70f2647491dcd618e1 /newgrf.h
parent5f2b62f49f155b1aea324051812683cd9ed66467 (diff)
downloadopenttd-0a88e202e5e20b0e5acc58f31de14a020beb88e0.tar.xz
(svn r7345) -Codechange: enumification of NewGRF loading stage, and move enum definition to header for future use.
Diffstat (limited to 'newgrf.h')
-rw-r--r--newgrf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/newgrf.h b/newgrf.h
index 385e5c7b6..a4dcecccf 100644
--- a/newgrf.h
+++ b/newgrf.h
@@ -5,6 +5,13 @@
#include "station.h"
+typedef enum GrfLoadingStage {
+ GLS_LABELSCAN,
+ GLS_INIT,
+ GLS_ACTIVATION,
+ GLS_END,
+} GrfLoadingStage;
+
typedef struct GRFLabel {
byte label;
uint32 nfo_line;