From 80ff7b315a6b5a9f9c62de5c6b03f52ddf099837 Mon Sep 17 00:00:00 2001 From: Oxore Date: Thu, 6 Dec 2018 05:24:30 +0300 Subject: Add simple documentation in comments, refactor. Change all `unsigned int` and `unsigned long` types to `size_t`. Fix names alignment in headers. Add documentation and simple description: Painter - painter.h Main - tetris.c Unicode - unicode.h IDList - idlist.h Engine - engine.c Minor changes: tetris.c - fix indentation and code blocks separation with newlines, remove unused includes. idlist.h - fix structure field name alignment. field.h, engine.c - define aliases for ghost and active shapes indexes in the field. engine.c - rename menuTick to snake case, fix curly braces style of functions. Makefile - switch SFML deprecated warnings off. --- include/tet_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/tet_conf.h') diff --git a/include/tet_conf.h b/include/tet_conf.h index c5a6153..33a637f 100644 --- a/include/tet_conf.h +++ b/include/tet_conf.h @@ -52,7 +52,7 @@ #define RM_2LINES_SCORE 100 #define RM_3LINES_SCORE 300 #define RM_4LINES_SCORE 1200 -#define LEVELUP_LINES 10 +#define LEVELUP_LINES 10 #define FLD_SIZE_Y 22 #define FLD_SIZE_X 10 -- cgit v1.2.3