summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2017-11-29 02:14:29 +0300
committerOxore <oxore@protonmail.com>2017-11-29 02:14:29 +0300
commit66783797c33d457e9d4d7ca669a6ad1fa3cf554c (patch)
tree8f63ff37fb65d6053a35fc271245a2628d609a34 /src/include
parentcbe7e7f3803ecb7d4c8b3a0ebf06e086fdf0bd9f (diff)
Change coding style
Diffstat (limited to 'src/include')
-rw-r--r--src/include/common.h14
-rw-r--r--src/include/tet_conf.h4
2 files changed, 9 insertions, 9 deletions
diff --git a/src/include/common.h b/src/include/common.h
index b080898..bc3911a 100644
--- a/src/include/common.h
+++ b/src/include/common.h
@@ -13,8 +13,8 @@
#include "tet_conf.h"
struct tCell {
- uint8_t a; // active/empty state of cell
- sfColor fColor; // fill color
+ uint8_t a; // active/empty state of cell
+ sfColor fColor; // fill color
};
struct tCell fldCAtt[25][10];// fld cells attributes
@@ -31,11 +31,11 @@ struct tCell fldCAtt[25][10];// fld cells attributes
*/
struct shapeSt {
- int x; // x coord of shape's left side
- int y; // y coord of shape's bottom
- int t; // shape type
- sfColor fColor; // shape color
- uint8_t c[4][4]; // array of shape cells
+ int x; // x coord of shape's left side
+ int y; // y coord of shape's bottom
+ int t; // shape type
+ sfColor fColor; // shape color
+ uint8_t c[4][4]; // array of shape cells
};
struct shapeSt actiSh;
diff --git a/src/include/tet_conf.h b/src/include/tet_conf.h
index eba92e5..4896a56 100644
--- a/src/include/tet_conf.h
+++ b/src/include/tet_conf.h
@@ -10,9 +10,9 @@
#define tCyan sfColor_fromRGB(0, 255, 255)
#define tMagneta sfColor_fromRGB(192, 0, 255)
#define moveRepeatLatency1 150000 // microseconds, only for left-right arrows,
- // first repeat move when long push
+ // first repeat move when long push
#define moveRepeatLatency2 30000 // microseconds, for Left, Right and Down
- // arrows, the rest repeat move when long push
+ // arrows, the rest repeat move when long push
/*