(svn r23605) -Add: GAME_DIR and CONTENT_TYPE_GAME, and read gamescript from that directory

This commit is contained in:
truebrain
2011-12-19 20:54:37 +00:00
parent 12aa5b6a58
commit b4f832f29f
7 changed files with 19 additions and 4 deletions

View File

@@ -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);