diff options
| author | 2019-04-13 10:29:15 -0400 | |
|---|---|---|
| committer | 2019-04-13 10:29:15 -0400 | |
| commit | 761462861fc1228e65546c4e0f877d5212320082 (patch) | |
| tree | fb067d12572db585ece48dd61a5df71b0aa0f81c /core | |
| parent | 64bd072a1ef349fedc1364a221a19ce71c368e72 (diff) | |
| download | cetris-761462861fc1228e65546c4e0f877d5212320082.tar.gz cetris-761462861fc1228e65546c4e0f877d5212320082.tar.bz2 cetris-761462861fc1228e65546c4e0f877d5212320082.zip | |
fix/improve windows support
Diffstat (limited to 'core')
| -rw-r--r-- | core/include/cetris.h | 2 | ||||
| -rw-r--r-- | core/meson.build | 2 | ||||
| -rw-r--r-- | core/src/cetris.c | 2 |
3 files changed, 3 insertions, 3 deletions
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:
|