Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2007-10-21 15:18:50 +0000
committerStijn Buys <ingar@osirion.org>2007-10-21 15:18:50 +0000
commit97cbb7514135ec81803e746f0b549e9f95abbecc (patch)
tree6d61b17ed1485a5488522dd41011a4225cde18b0 /src/game/game.h
parent783545505aa51e4f908932fffb1f8362ad898d44 (diff)
added basic file loader
Diffstat (limited to 'src/game/game.h')
-rw-r--r--src/game/game.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/game.h b/src/game/game.h
index 7c1cc0c..9f3b19a 100644
--- a/src/game/game.h
+++ b/src/game/game.h
@@ -28,6 +28,15 @@ namespace game
/// true while the game is running
extern bool initialized;
+
+ /// location of the main data files, includes trailing /
+ extern std::string datadir;
+ /// location of the personal data files, includes trailing /
+ extern std::string homedir;
+ /// subdirectory with the base data files, includes trailing /
+ extern std::string basedir;
+ /// subdirectory for the current mod, includes trailing /
+ extern std::string moddir;
};
#endif // __INCLUDED_GAME_H__