summaryrefslogtreecommitdiff
path: root/include/common.h
blob: ca2e49902294ecbca6f015e2782818e988b5c307 (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 Right arrow
};