From 2af11c35bb687c89fdb35e8d6f45327fc8a842b9 Mon Sep 17 00:00:00 2001 From: Oxore Date: Sun, 18 Jun 2017 00:51:17 +0700 Subject: Refactoring 1 --- src/include/common.h | 4 ++-- src/include/tet_conf.h | 10 ++-------- 2 files changed, 4 insertions(+), 10 deletions(-) (limited to 'src/include') diff --git a/src/include/common.h b/src/include/common.h index bef85f2..e7624c7 100644 --- a/src/include/common.h +++ b/src/include/common.h @@ -19,7 +19,7 @@ struct tCell { sfColor fColor, oColor; // fill and outline color of cell }; -struct tCell activeShape[4][4], // 4x4 block of active crawling shape - field_rAttr[20][10];// field cells attributess +struct tCell activeShape[4][4]; // 4x4 block of active crawling shape +struct tCell fld_rAttr[20][10];// fld cells attributes #endif diff --git a/src/include/tet_conf.h b/src/include/tet_conf.h index 0b37d65..f2f1871 100644 --- a/src/include/tet_conf.h +++ b/src/include/tet_conf.h @@ -1,6 +1,6 @@ #define windowName_conf "SFML" // Window name -#define hudColor1_conf sfColor_fromRGB(0, 0, 0) // Field background -#define hudColor2_conf sfColor_fromRGB(80, 80, 80) // Field cell outline +#define uiColor1 sfColor_fromRGB(0, 0, 0) // Field background +#define uiColor2 sfColor_fromRGB(80, 80, 80) // Field cell outline #define tOrange sfColor_fromRGB(255, 130, 0) // Orange color of L shape #define tBlue sfColor_fromRGB(0, 0, 255) #define tGreen sfColor_fromRGB(0, 255, 0) @@ -78,9 +78,3 @@ * .... .... .... .... */ - - - -char *aaa; -char* aaa; - -- cgit v1.2.3