summaryrefslogtreecommitdiff
path: root/share/hackvr
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2020-02-23 23:54:10 -0600
committerepoch <epoch@hacking.allowed.org>2020-02-23 23:54:10 -0600
commit7f77a0fe44171beb20cef8cae9081399262e985b (patch)
treeb860c6d450aa18fc8965067c66a2f53edfe16a4d /share/hackvr
parentc0e8d2bf6e5b0f3aff23ab26902bf2d4930e25a2 (diff)
downloadhackvr-7f77a0fe44171beb20cef8cae9081399262e985b.tar.gz
hackvr-7f77a0fe44171beb20cef8cae9081399262e985b.zip
noticed even more stuff to remove from dun2hackvr
Diffstat (limited to 'share/hackvr')
-rw-r--r--share/hackvr/examples/dungen/dun2hackvr.c7
1 files changed, 0 insertions, 7 deletions
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 <unistd.h>
//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