# HG changeset patch # User William Morgan # Date 1389686473 28800 # Node ID 2cee3dc5fe4d4c2952f664dce4023b0039a767ab # Parent 330e58fb01aa3ba98b8686f1feb8b6d93bc22736 Beefed up the cursor a bit. Cleaned up my unused build order array. diff -r 330e58fb01aa -r 2cee3dc5fe4d src/main.c --- 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() {