diff options
author | Oxore <oxore@protonmail.com> | 2018-07-02 23:11:26 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2018-07-02 23:11:26 +0300 |
commit | 21a0a44853451f3d791bafc80c01deab0ff4c79e (patch) | |
tree | 7636e99380c570d903db114ad2834f8bbd93fd7b /include/engine.h | |
parent | bb9d1873ad414b09efdd7c8bf6798b431adb3cb2 (diff) |
Introduce draw manager, refactor main
Move timers to struct game. Partially move field painting to draw
manager.
Diffstat (limited to 'include/engine.h')
-rw-r--r-- | include/engine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/engine.h b/include/engine.h index 7a4ce32..2dd7e9f 100644 --- a/include/engine.h +++ b/include/engine.h @@ -10,6 +10,6 @@ void tTick(); void checkLevelUp(struct game *game); int getMoveLatencyOfLevel(int level); void valueAfterTextDisplay(int value, List *texts, char *type); -void drawFld(sfRenderWindow *window); +void drawFld(sfRenderWindow *window, struct field *fld); void gameover(struct game *game); void drawNextShape(sfRenderWindow *window); |