summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rwxr-xr-xdb/mapdb.zip (renamed from mapdb.zip)bin256414 -> 256414 bytes
-rwxr-xr-xdb/mapnames.txt (renamed from mapnames.txt)0
-rwxr-xr-xgui/tmxmap.py2
-rwxr-xr-xmapnames.py2
5 files changed, 3 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index ec06a8c..6610404 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
#configuration files
-manachat.ini
+config/manachat.ini
config/*.txt
#compiled python files
diff --git a/mapdb.zip b/db/mapdb.zip
index 0efdc80..0efdc80 100755
--- a/mapdb.zip
+++ b/db/mapdb.zip
Binary files differ
diff --git a/mapnames.txt b/db/mapnames.txt
index 03bc6a4..03bc6a4 100755
--- a/mapnames.txt
+++ b/db/mapnames.txt
diff --git a/gui/tmxmap.py b/gui/tmxmap.py
index 800868e..58ee490 100755
--- a/gui/tmxmap.py
+++ b/gui/tmxmap.py
@@ -82,7 +82,7 @@ class MapWidget(Image):
def load_map(self, name, *args):
if name not in self.maps:
Logger.info("Caching map %s", name)
- zf = zipfile.ZipFile('mapdb.zip', 'r')
+ zf = zipfile.ZipFile('db/mapdb.zip', 'r')
self.maps[name] = pickle.load(zf.open(name + '.pickle'))
zf.close()
# m = pytmx.TiledMap(filename=filename)
diff --git a/mapnames.py b/mapnames.py
index 5c01280..612908b 100755
--- a/mapnames.py
+++ b/mapnames.py
@@ -2,7 +2,7 @@
map_names = {}
-def read_map_names(file='mapnames.txt'):
+def read_map_names(file='db/mapnames.txt'):
with open(file) as f:
for l in f.readlines():
try: