changeset 24:2cee3dc5fe4d

Beefed up the cursor a bit. Cleaned up my unused build order array.
author William Morgan <bill@mrgn.org>
date Tue, 14 Jan 2014 00:01:13 -0800
parents 330e58fb01aa
children 2f56bc29a3d6
files src/main.c
diffstat 1 files changed, 24 insertions(+), 32 deletions(-) [+]
line wrap: on
line diff
--- a/src/main.c	Mon Jan 13 23:05:30 2014 -0800
+++ b/src/main.c	Tue Jan 14 00:01:13 2014 -0800
@@ -2,43 +2,42 @@
 #include "creep.h"
 #include "map.h"
 
-// I now realize this should be one tile that uses the flipping flags.  oops.
 const u32 cursor_tiles[4*8] = {
-	0x21100000, // top left
-	0x10000000,
-	0x10000000,
-	0x00000000,
-	0x00000000,
-	0x00000000,
+	0x11111000, // top left
+	0x13322100,
+	0x13111000,
+	0x12100000,
+	0x12100000,
+	0x01000000,
 	0x00000000,
 	0x00000000,
 
 	0x00000000, // bottom left
 	0x00000000,
-	0x00000000,
-	0x00000000,
-	0x00000000,
-	0x10000000,
-	0x10000000,
-	0x21100000,
+	0x01000000,
+	0x12100000,
+	0x12100000,
+	0x13111000,
+	0x13322100,
+	0x11111000,
 
-	0x00000112, // top right
-	0x00000001,
-	0x00000001,
-	0x00000000,
-	0x00000000,
-	0x00000000,
+	0x00011111, // top right
+	0x00122331,
+	0x00011131,
+	0x00000121,
+	0x00000121,
+	0x00000010,
 	0x00000000,
 	0x00000000,
 
 	0x00000000, // bottom right
 	0x00000000,
-	0x00000000,
-	0x00000000,
-	0x00000000,
-	0x00000001,
-	0x00000001,
-	0x00000112,
+	0x00000010,
+	0x00000121,
+	0x00000121,
+	0x00011131,
+	0x00122331,
+	0x00011111,
 
 };
 
@@ -52,13 +51,6 @@
 
 #define PIXELS_PER_TILE 8
 
-
-u16 build_order[3] = {
-	EMPTY,
-	WALL,
-	TOWER,
-};
-u8 build_order_size = 3;
 u8 running = 0;
 
 void clear_cursor() {