From fd09071c29452bdfea2c519f0defbffebee42f4c Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Sat, 22 Sep 2012 14:40:13 +0200 Subject: Data dir paths - changed access to paths in data directory in CApplication - models now load from data directory --- src/common/global.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/common') diff --git a/src/common/global.h b/src/common/global.h index 3433aeb..2f2104a 100644 --- a/src/common/global.h +++ b/src/common/global.h @@ -35,6 +35,26 @@ enum Language LANG_POLISH = 3 }; +/** + * \enum DataDir + * \brief Directories in data directory + */ +enum DataDir +{ + DIR_AI, //! < ai scripts + DIR_FONT, //! < fonts + DIR_HELP, //! < help files + DIR_I18N, //! < translations + DIR_ICON, //! < icons & images + DIR_LEVEL, //! < levels + DIR_MODEL, //! < models + DIR_MUSIC, //! < music + DIR_SOUND, //! < sounds + DIR_TEXTURE, //! < textures + + DIR_MAX //! < number of dirs +}; + /** * \enum BuildType * \brief Construction actions (buildings, etc.) available to user -- cgit v1.2.3-1-g7c22