summaryrefslogtreecommitdiff
path: root/src/fileio_func.h
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-19 20:54:37 +0000
committertruebrain <truebrain@openttd.org>2011-12-19 20:54:37 +0000
commitb4f832f29f44dcd48e8f0806d47ce78b1963d639 (patch)
treec637dffb7be81c82611b7345785899768b7917ac /src/fileio_func.h
parent12aa5b6a583aa7ca9092ec6c77e7b12677cdd6a4 (diff)
downloadopenttd-b4f832f29f44dcd48e8f0806d47ce78b1963d639.tar.xz
(svn r23605) -Add: GAME_DIR and CONTENT_TYPE_GAME, and read gamescript from that directory
Diffstat (limited to 'src/fileio_func.h')
-rw-r--r--src/fileio_func.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fileio_func.h b/src/fileio_func.h
index 4c12bafee..6dea50e9c 100644
--- a/src/fileio_func.h
+++ b/src/fileio_func.h
@@ -100,7 +100,8 @@ public:
NEWGRF = 1 << 1, ///< Scan for non-base sets.
AI = 1 << 2, ///< Scan for AIs and its libraries.
SCENARIO = 1 << 3, ///< Scan for scenarios and heightmaps.
- ALL = BASESET | NEWGRF | AI | SCENARIO, ///< Scan for everything.
+ GAME = 1 << 4, ///< Scan for game scripts.
+ ALL = BASESET | NEWGRF | AI | SCENARIO | GAME, ///< Scan for everything.
};
/* virtual */ bool AddFile(const char *filename, size_t basepath_length, const char *tar_filename = NULL);