From 761462861fc1228e65546c4e0f877d5212320082 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Sat, 13 Apr 2019 10:29:15 -0400 Subject: fix/improve windows support --- core/include/cetris.h | 2 +- core/meson.build | 2 +- core/src/cetris.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'core') diff --git a/core/include/cetris.h b/core/include/cetris.h index e51b8c4..e41abdf 100644 --- a/core/include/cetris.h +++ b/core/include/cetris.h @@ -96,5 +96,5 @@ void wipe_board(struct cetris_game* g); void init_game(struct cetris_game* g); void update_game_tick(struct cetris_game* g); -void move_peice(struct cetris_game* g, input_t move); +void move_piece(struct cetris_game* g, input_t move); void stop_holding(struct cetris_game* g, input_t move); diff --git a/core/meson.build b/core/meson.build index 17dd86d..1832f26 100644 --- a/core/meson.build +++ b/core/meson.build @@ -4,7 +4,7 @@ if get_option('debug') == true src += 'src/test.c' endif -cetris_lib = shared_library('cetris', src, +cetris_lib = static_library('cetris', src, include_directories: cetris_inc, install: false) diff --git a/core/src/cetris.c b/core/src/cetris.c index 8e8244b..cd7086b 100644 --- a/core/src/cetris.c +++ b/core/src/cetris.c @@ -232,7 +232,7 @@ void wipe_board(struct cetris_game* g) { /* MOVEMENT FUNCTIONS */ -void move_peice(struct cetris_game* g, input_t move) { +void move_piece(struct cetris_game* g, input_t move) { if (!g->held_moves[move]) { switch (move) { case LEFT: -- cgit v1.2.3-101-g0448