diff --git a/source/main.cpp b/source/main.cpp index bbf800bca54455a85215f7d52b70c69fa359d1bb..39d2f35d2b4f35fe60635aca745cf21ce08bb9b9 100755 --- a/source/main.cpp +++ b/source/main.cpp @@ -133,6 +133,36 @@ const uint8_t FLAT_L_NORTH_SPRITE[] __attribute__ ((aligned (4))) = { 0, 0, 0, }; +const uint8_t FLAT_L_EAST_SPRITE[] __attribute__ ((aligned (4))) = { + 0xff, 0xff, // magic number requesting data to be stored in FLASH + 3, 0, // image width followed by zero + 3, 0, // image height followed by zero + // image data follows: + 0, 1, 1, + 0, 1, 0, + 0, 1, 0, +}; + +const uint8_t FLAT_L_SOUTH_SPRITE[] __attribute__ ((aligned (4))) = { + 0xff, 0xff, // magic number requesting data to be stored in FLASH + 3, 0, // image width followed by zero + 3, 0, // image height followed by zero + // image data follows: + 0, 0, 0, + 1, 1, 1, + 0, 0, 1, +}; + +const uint8_t FLAT_L_WEST_SPRITE[] __attribute__ ((aligned (4))) = { + 0xff, 0xff, // magic number requesting data to be stored in FLASH + 3, 0, // image width followed by zero + 3, 0, // image height followed by zero + // image data follows: + 0, 1, 0, + 0, 1, 0, + 1, 1, 0, +}; + const uint8_t TALL_L_NORTH_SPRITE[] __attribute__ ((aligned (4))) = { 0xff, 0xff, // magic number requesting data to be stored in FLASH 3, 0, // image width followed by zero @@ -143,6 +173,36 @@ const uint8_t TALL_L_NORTH_SPRITE[] __attribute__ ((aligned (4))) = { 0, 1, 1, }; +const uint8_t TALL_L_EAST_SPRITE[] __attribute__ ((aligned (4))) = { + 0xff, 0xff, // magic number requesting data to be stored in FLASH + 3, 0, // image width followed by zero + 3, 0, // image height followed by zero + // image data follows: + 0, 0, 0, + 1, 1, 1, + 1, 0, 0, +}; + +const uint8_t TALL_L_SOUTH_SPRITE[] __attribute__ ((aligned (4))) = { + 0xff, 0xff, // magic number requesting data to be stored in FLASH + 3, 0, // image width followed by zero + 3, 0, // image height followed by zero + // image data follows: + 1, 1, 0, + 0, 1, 0, + 0, 1, 0, +}; + +const uint8_t TALL_L_WEST_SPRITE[] __attribute__ ((aligned (4))) = { + 0xff, 0xff, // magic number requesting data to be stored in FLASH + 3, 0, // image width followed by zero + 3, 0, // image height followed by zero + // image data follows: + 0, 0, 1, + 1, 1, 1, + 0, 0, 0, +}; + const uint8_t UPSIDE_DOWN_T_NORTH_SPRITE[] __attribute__ ((aligned (4))) = { 0xff, 0xff, // magic number requesting data to be stored in FLASH 3, 0, // image width followed by zero @@ -153,6 +213,36 @@ const uint8_t UPSIDE_DOWN_T_NORTH_SPRITE[] __attribute__ ((aligned (4))) = { 0, 0, 0, }; +const uint8_t UPSIDE_DOWN_T_EAST_SPRITE[] __attribute__ ((aligned (4))) = { + 0xff, 0xff, // magic number requesting data to be stored in FLASH + 3, 0, // image width followed by zero + 3, 0, // image height followed by zero + // image data follows: + 0, 1, 0, + 0, 1, 1, + 0, 1, 0, +}; + +const uint8_t UPSIDE_DOWN_T_SOUTH_SPRITE[] __attribute__ ((aligned (4))) = { + 0xff, 0xff, // magic number requesting data to be stored in FLASH + 3, 0, // image width followed by zero + 3, 0, // image height followed by zero + // image data follows: + 0, 0, 0, + 1, 1, 1, + 0, 1, 0, +}; + +const uint8_t UPSIDE_DOWN_T_WEST_SPRITE[] __attribute__ ((aligned (4))) = { + 0xff, 0xff, // magic number requesting data to be stored in FLASH + 3, 0, // image width followed by zero + 3, 0, // image height followed by zero + // image data follows: + 0, 1, 0, + 1, 1, 0, + 0, 1, 0, +}; + const uint8_t SQUARE_SPRITE[] __attribute__ ((aligned (4))) = { 0xff, 0xff, // magic number requesting data to be stored in FLASH 2, 0, // image width followed by zero @@ -162,7 +252,7 @@ const uint8_t SQUARE_SPRITE[] __attribute__ ((aligned (4))) = { 1, 1, }; -const uint8_t PIPE_NORTH_SPRITE[] __attribute__ ((aligned (4))) = { +const uint8_t PIPE_HORIZONTAL_SPRITE[] __attribute__ ((aligned (4))) = { 0xff, 0xff, // magic number requesting data to be stored in FLASH 3, 0, // image width followed by zero 3, 0, // image height followed by zero @@ -172,6 +262,16 @@ const uint8_t PIPE_NORTH_SPRITE[] __attribute__ ((aligned (4))) = { 0, 0, 0, }; +const uint8_t PIPE_VERTICAL_SPRITE[] __attribute__ ((aligned (4))) = { + 0xff, 0xff, // magic number requesting data to be stored in FLASH + 3, 0, // image width followed by zero + 3, 0, // image height followed by zero + // image data follows: + 0, 1, 0, + 0, 1, 0, + 0, 1, 0, +}; + /** * @brief Stores the shape and colour information for a Block in the game. */