Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/filesystem/filesystem.cc')
-rw-r--r--src/filesystem/filesystem.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/filesystem/filesystem.cc b/src/filesystem/filesystem.cc
index 130aeb7..e0b45a9 100644
--- a/src/filesystem/filesystem.cc
+++ b/src/filesystem/filesystem.cc
@@ -24,18 +24,19 @@ void init()
{
con_print << "Initializing filesystem..." << std::endl;
- // FIXME datadir should by set by ./configure and read from config.h
-
// initialize game data locations
+ // FIXME datadir should by set by ./configure and read from config.h
datadir = "./data/";
+
+ // FIXME a local or remote game module must be able to set these
basedir = "base/";
moddir = "";
- // FIXME win32
#ifndef _WIN32
homedir = getenv("HOME");
homedir = homedir + "/.osirion/";
#else
+ // FIXME win32
homedir = "./home/";
#endif