summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2013-11-16 10:37:52 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2013-11-16 10:37:52 +0100
commitf5c7bd0a4568c8af0aa02c87b303fb44af8aa708 (patch)
tree3af3a1f77a10a432f3a638951875a63bf3dbdf5c
parent5d4a70f81d1896ede119e0dfe42392c4506a2a34 (diff)
downloadfx-maze-f5c7bd0a4568c8af0aa02c87b303fb44af8aa708.tar.gz
fx-maze-f5c7bd0a4568c8af0aa02c87b303fb44af8aa708.zip
cleaned code
-rw-r--r--Wolf3D.c4
-rw-r--r--global.c6
2 files changed, 4 insertions, 6 deletions
diff --git a/Wolf3D.c b/Wolf3D.c
index cf2b00f..02b2900 100644
--- a/Wolf3D.c
+++ b/Wolf3D.c
@@ -1,7 +1,3 @@
-/* wird zum Waffenwechsel werden.
-"Türen kann man nur öffnen" - was willst du sonst damit machen? Aufessen?
-*/
-
#include "key.h"
#include "global.h"
#include "syscalls.h"
diff --git a/global.c b/global.c
index ae06c9e..ffe63b1 100644
--- a/global.c
+++ b/global.c
@@ -24,7 +24,8 @@ uint spritecnt = 0;
const char *status = NULL;
unsigned int statustimer = 0;
-uint map[MAPSIZE][MAPSIZE] = {0}; // this is now generated automatically/*
+uint map[MAPSIZE][MAPSIZE] = {0}; // this is now generated automatically
+/*
{
{ 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 },
{ 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 0 , 2 , 0 , 0 , 0 , 0 , 1 },
@@ -48,7 +49,8 @@ uint map[MAPSIZE][MAPSIZE] = {0}; // this is now generated automatically/*
{ 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 },
};*/
-int heights[MAPSIZE][MAPSIZE] = {0}; // this, too. 0 means normal height, 32 is about half of the normal/*
+int heights[MAPSIZE][MAPSIZE] = {0}; // this, too. 0 means normal height, 32 is about half of the normal
+/*
{
{ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 },
{ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 32 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 },