From 7f77a0fe44171beb20cef8cae9081399262e985b Mon Sep 17 00:00:00 2001 From: epoch Date: Sun, 23 Feb 2020 23:54:10 -0600 Subject: noticed even more stuff to remove from dun2hackvr --- share/hackvr/examples/dungen/dun2hackvr.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'share/hackvr/examples/dungen/dun2hackvr.c') diff --git a/share/hackvr/examples/dungen/dun2hackvr.c b/share/hackvr/examples/dungen/dun2hackvr.c index a7cd517..8324a24 100644 --- a/share/hackvr/examples/dungen/dun2hackvr.c +++ b/share/hackvr/examples/dungen/dun2hackvr.c @@ -3,8 +3,6 @@ #include //nsew -char *a[16]; - char field[256]; #define NORTH_EXIT 8 @@ -16,12 +14,7 @@ int deg[]={0,180,270,90}; void print_field() { int i,d; - int row; for(i=0;i<256;i++) { - if(i%16 == 0) {//next row of data. - //start position is... 7+16, which is second row, 7th column - row++; - } //we need to draw the room here. //each room will be... 16x16? sure.... //we can use bitmasks to find which sides of the room need to be whole walls -- cgit v1.2.3