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