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-02-04 01:17:44 +0000
committerStijn Buys <ingar@osirion.org>2008-02-04 01:17:44 +0000
commit09fb43f3d36847977ac202c10c5a11f34af03a43 (patch)
tree45f4537347e9f8b3195cea00356963e9879a08fa /src/filesystem/filesystem.cc
parent840f9b8678f607aecc15d47bc77248c4ac8b8574 (diff)
astyle
Diffstat (limited to 'src/filesystem/filesystem.cc')
-rw-r--r--src/filesystem/filesystem.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/filesystem/filesystem.cc b/src/filesystem/filesystem.cc
index 5d3ed40..da80ea5 100644
--- a/src/filesystem/filesystem.cc
+++ b/src/filesystem/filesystem.cc
@@ -13,13 +13,14 @@ std::string filesystem::homedir = "";
std::string filesystem::basedir = "";
std::string filesystem::moddir = "";
-void filesystem::init() {
+void filesystem::init()
+{
con_print << "Initializing filesystem..." << std::endl;
// FIXME datadir should by set by ./configure and read from config.h
// initialize game data locations
- datadir = "./data/";
+ datadir = "./data/";
basedir = "base/";
moddir = "";
@@ -28,11 +29,12 @@ void filesystem::init() {
homedir = homedir + "/.osirion/";
Path::create(homedir);
Path::create(homedir+basedir);
- if (moddir.size() && !Path::exists(homedir+moddir))
+ if (moddir.size() && !Path::exists(homedir+moddir))
Path::create(homedir+moddir);
}
-void filesystem::shutdown() {
+void filesystem::shutdown()
+{
con_print << "Shutting down filesystem..." << std::endl;
}