diff options
author | Oxore <oxore@protonmail.com> | 2018-07-09 03:53:22 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2018-07-09 03:53:22 +0300 |
commit | a3eaa5d7cd4bdb5cf1977c4cd4e8b4dd28e737ea (patch) | |
tree | 16b61f03e1dab98aa9aebcf8a0a37f43c673654d /include | |
parent | a673d86621054f18b25add5878efab6fa035e352 (diff) |
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).
Diffstat (limited to 'include')
-rw-r--r-- | include/field.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |