summaryrefslogtreecommitdiff
path: root/sprites.c
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2013-11-15 19:59:19 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2013-11-15 19:59:19 +0100
commit5d4a70f81d1896ede119e0dfe42392c4506a2a34 (patch)
tree3107dfb277c97421d91b5b94f397c93f1a2f359e /sprites.c
parent677385ffdd1e330cfba4dd712ca58595feeea41d (diff)
downloadfx-maze-5d4a70f81d1896ede119e0dfe42392c4506a2a34.tar.gz
fx-maze-5d4a70f81d1896ede119e0dfe42392c4506a2a34.zip
added comments
Diffstat (limited to 'sprites.c')
-rw-r--r--sprites.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sprites.c b/sprites.c
index 7baca5b..4b283b2 100644
--- a/sprites.c
+++ b/sprites.c
@@ -1,6 +1,10 @@
#include "global.h"
#include "sprites.h"
+// these are sprite constants
+// 0 = white, 1 = black
+// and for sprites, 0 is transparent and 2 white
+
const int wall[2][16][16] = {
{
{ 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 },