about summary refs log tree commit diff
path: root/storage.cfg
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2010-10-06 23:07:35 +0200
committeroy <Tom_Adams@web.de>2010-10-06 23:07:35 +0200
commit3a98f7a048c044ce0d870320fc0b1def0db4f7fb (patch)
tree7dfa1826e537355b37d00e77558ca623a915bac2 /storage.cfg
parenta62a7413d1ff25c8e07657b96a485f001004619a (diff)
downloadzcatch-3a98f7a048c044ce0d870320fc0b1def0db4f7fb.tar.gz
zcatch-3a98f7a048c044ce0d870320fc0b1def0db4f7fb.zip
added mod system. Closes #34
Diffstat (limited to 'storage.cfg')
-rw-r--r--storage.cfg31
1 files changed, 31 insertions, 0 deletions
diff --git a/storage.cfg b/storage.cfg
new file mode 100644
index 00000000..15f4ab18
--- /dev/null
+++ b/storage.cfg
@@ -0,0 +1,31 @@
+####
+# This specifies where and in which order Teeworlds looks
+# for its data (sounds, skins, ...). The search goes top
+# down which means the first path has the highest priority.
+# Furthermore the top entry also defines the save path where
+# all data (settings.cfg, screenshots, ...) are stored.
+# There are 3 special paths available:
+#	$USERDIR
+#	- ~/.appname on UNIX based systems
+#	- ~/Library/Applications Support/appname on Mac OS X
+#	- %APPDATA%/Appname on Windows based systems
+#	$DATADIR
+#	- the 'data' directory which is part of an official
+#	release
+#	$CURRENTDIR
+#	- current working directory
+#
+#
+# The default file has the following entries:
+#	add_path $USERDIR
+#	add_path $DATADIR
+#	add_path $CURRENTDIR
+#
+# A customised one could look like this:
+#	add_path user
+#	add_path mods/mymod
+####
+
+add_path $USERDIR
+add_path $DATADIR
+add_path $CURRENTDIR