From a3eaa5d7cd4bdb5cf1977c4cd4e8b4dd28e737ea Mon Sep 17 00:00:00 2001 From: Oxore Date: Mon, 9 Jul 2018 03:53:22 +0300 Subject: Introduce wall kick, refactor Refactor controls a little: move key repeat clocks reset to the keys handler. Refactor field: rename rotation function (add "clockwise" postfix). --- include/field.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/field.h b/include/field.h index 52b4de8..c63a836 100644 --- a/include/field.h +++ b/include/field.h @@ -47,7 +47,7 @@ void field_init(struct field *fld); void field_deinit(struct field *fld); void field_fill_random(struct field *fld); void field_clear(struct field *fld); -void field_rotate_shape(struct field *fld, unsigned int index); +void field_rotate_shape_clockwise(struct field *fld, unsigned int index); int field_move_shape_down(struct field *fld, unsigned int index); int field_move_shape_left(struct field *fld, unsigned int index); int field_move_shape_right(struct field *fld, unsigned int index); -- cgit v1.2.3