diff options
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:
|