home · contact · privacy
confserver/defs -> confserver/map_objects; fixed debug values in there.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 25 Mar 2014 15:28:43 +0000 (16:28 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 25 Mar 2014 15:28:43 +0000 (16:28 +0100)
TODO
confserver/defs [deleted file]
confserver/map_objects [new file with mode: 0644]
src/server/main.c

diff --git a/TODO b/TODO
index bc87d095f830bac174b90b2aa901821fa86e8ace..971c47ad93295ba0682e5adbf4a48c4faa8dba58 100644 (file)
--- a/TODO
+++ b/TODO
@@ -13,8 +13,6 @@ SERVER:
 
 - implement field of view / line of sight and obstacles for those on the map
 
-- get rid of the hard-coding of the MAGIC MEAT item type and its use mode
-
 - is it actually useful to define map object action ids in the config file?
 
 - make shape of map (and diagonal movement penalty) configurable in config file
@@ -22,8 +20,6 @@ SERVER:
 - for game continuation, replace re-playing of whole record files with loading
   game state snapshots / save files
 
-- rename confserver/defs to confserver/map_objects
-
 CLIENT:
 
 - enable toggling of window borders
diff --git a/confserver/defs b/confserver/defs
deleted file mode 100644 (file)
index 2ca0d5c..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-0
-5
-@
-105
-HUMAN
-0
-%%
-1
-4
-a
-1
-ANT
-0
-%%
-2
-5
-z
-3
-ZOMBIE
-0
-%%
-3
-6
-S
-9
-SHOGGOTH
-0
-%%
-4
-4
-#
-0
-DIRT
-0
-%%
-5
-4
-%
-0
-SKELETON
-0
-%%
-6
-4
-m
-0
-MAGIC MEAT
-5
-%%
diff --git a/confserver/map_objects b/confserver/map_objects
new file mode 100644 (file)
index 0000000..c258e79
--- /dev/null
@@ -0,0 +1,49 @@
+0
+5
+@
+5
+HUMAN
+0
+%%
+1
+4
+a
+1
+ANT
+0
+%%
+2
+5
+z
+3
+ZOMBIE
+0
+%%
+3
+6
+S
+9
+SHOGGOTH
+0
+%%
+4
+4
+#
+0
+DIRT
+0
+%%
+5
+4
+%
+0
+SKELETON
+0
+%%
+6
+4
+m
+0
+MAGIC MEAT
+2
+%%
index 0c1e6394d1ba963efd4d30c658b727dc5397b691..9bfddaecb4bb6d6a21ed5dc6435f55ddacaa4172 100644 (file)
@@ -35,7 +35,7 @@ int main(int argc, char ** argv)
             exit_err(-1 == test, printf_err);
         }
     }
-    world.path_map_obj_defs = "confserver/defs";
+    world.path_map_obj_defs = "confserver/map_objects";
     world.path_map_obj_acts = "confserver/map_object_actions";
     world.path_worldstate   = "server/worldstate";
     world.path_out          = "server/out";