summaryrefslogtreecommitdiff
path: root/include/common.h
blob: 098ea9e7d2c423cd44fd3973a198c9ceccb18749 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
struct game {
    unsigned int level;
    int          isStarted;
    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 Left arrow
};