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>2008-04-26 16:55:57 +0000
committerStijn Buys <ingar@osirion.org>2008-04-26 16:55:57 +0000
commitfe95954f9d17c9dade1827fe5d4cf8cffffddbce (patch)
tree0c5a6826979f32fb26a0d9708bb461fe22df1426 /src/filesystem
parenta2c0647e07d178fd69b962205f4b1163682e2d80 (diff)
virtual console::flush()
Diffstat (limited to 'src/filesystem')
-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