From 4e09b4c2e92806dc3230e6b9f1c2a1ff023c6080 Mon Sep 17 00:00:00 2001 From: Oxore Date: Sat, 2 Dec 2017 18:07:04 +0300 Subject: Rearrange includes; replace uint8_t by char --- src/shape_maps.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/shape_maps.c') diff --git a/src/shape_maps.c b/src/shape_maps.c index 9de04d2..50061e3 100644 --- a/src/shape_maps.c +++ b/src/shape_maps.c @@ -1,4 +1,3 @@ -#include "common.h" /* * Shapes maps * @@ -13,7 +12,7 @@ * .... .##. #... .#.. * .... .... .... .... */ -uint8_t arrShapeL[4][4] = { +char arrShapeL[4][4] = { {0, 0, 0, 0}, {0, 0, 0, 0}, {1, 1, 1, 0}, @@ -27,7 +26,7 @@ uint8_t arrShapeL[4][4] = { * .... .... .... .... */ -uint8_t arrShapeRL[4][4] = { +char arrShapeRL[4][4] = { {0, 0, 0, 0}, {0, 0, 0, 0}, {1, 1, 1, 0}, @@ -40,7 +39,7 @@ uint8_t arrShapeRL[4][4] = { * .... .#.. .##. #... * .... .... .... .... */ -uint8_t arrShapeZ[4][4] = { +char arrShapeZ[4][4] = { {0, 0, 0, 0}, {0, 0, 0, 0}, {0, 1, 1, 0}, @@ -53,7 +52,7 @@ uint8_t arrShapeZ[4][4] = { * .... ..#. ##.. .#.. * .... .... .... .... */ -uint8_t arrShapeS[4][4] = { +char arrShapeS[4][4] = { {0, 0, 0, 0}, {0, 0, 0, 0}, {1, 1, 0, 0}, @@ -67,7 +66,7 @@ uint8_t arrShapeS[4][4] = { * .... .... .... .... * .... .... .... .... */ -uint8_t arrShapeB[4][4] = { +char arrShapeB[4][4] = { {0, 0, 0, 0}, {0, 0, 0, 0}, {0, 1, 1, 0}, @@ -81,7 +80,7 @@ uint8_t arrShapeB[4][4] = { * .#.. .... .#.. .... * .#.. .... .#.. .... */ -uint8_t arrShapeI[4][4] = { +char arrShapeI[4][4] = { {0, 0, 0, 0}, {0, 0, 0, 0}, {1, 1, 1, 1}, @@ -95,7 +94,7 @@ uint8_t arrShapeI[4][4] = { * .... .#.. .#.. .#.. * .... .... .... .... */ -uint8_t arrShapeT[4][4] = { +char arrShapeT[4][4] = { {0, 0, 0, 0}, {0, 0, 0, 0}, {1, 1, 1, 0}, -- cgit v1.2.3