summaryrefslogtreecommitdiff
path: root/include/engine.h
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2018-07-02 23:11:26 +0300
committerOxore <oxore@protonmail.com>2018-07-02 23:11:26 +0300
commit21a0a44853451f3d791bafc80c01deab0ff4c79e (patch)
tree7636e99380c570d903db114ad2834f8bbd93fd7b /include/engine.h
parentbb9d1873ad414b09efdd7c8bf6798b431adb3cb2 (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.h2
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);