summaryrefslogtreecommitdiff
path: root/include/common.h
blob: 76293c5ced826266dcb2b57c955490e367f5a74d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
struct game {
    size_t      level;
    int         started;
    int         paused;
    int         scoreCurrent;
    int         moveLatency;
    int         lines;
    sfClock    *gameTick;
    sfClock    *putTick;
    sfClock    *mTick;
    sfClock    *repPushDown;  // repeat latency when hold Down arrow
    sfClock    *repKeyLeft;   // repeat latency when hold Left arrow
    sfClock    *repKeyRight;  // repeat latency when hold Right arrow
};