From f5c7bd0a4568c8af0aa02c87b303fb44af8aa708 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 16 Nov 2013 10:37:52 +0100 Subject: cleaned code --- Wolf3D.c | 4 ---- global.c | 6 ++++-- 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 }, -- cgit v1.3.1