summaryrefslogtreecommitdiff
path: root/src/main/game/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/game/game.c')
-rw-r--r--src/main/game/game.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/main/game/game.c b/src/main/game/game.c
index 7579c50..19a93a0 100644
--- a/src/main/game/game.c
+++ b/src/main/game/game.c
@@ -25,6 +25,15 @@
#include "cell.h"
#include "../engine/ui/ui.h"
+static Log *log = NULL;
+
+static void
+init_log(void)
+{
+ if (log != NULL) return;
+ log = log_create("Game");
+}
+
float xmin, xmax, ymin, ymax;
float box_size;
int field_matrix[3][3];
@@ -43,15 +52,6 @@ int moves = 0;
static void game_draw_field(TrisGame *game, float box_size, float x, float y);
-static Log *log = NULL;
-
-static void
-init_log(void)
-{
- if (log != NULL) return;
- log = log_create("Game");
-}
-
static void
draw_sign(float x, float y)
{