summaryrefslogtreecommitdiff
path: root/include/common.h
blob: 7a85dbcb10cf09ce939e90784267dc27922a923a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
struct game {
    int      isStarted;
    int      scoreCurrent;
    int      level;
    int      moveLatency;
    int      lines;
    sfClock *gameTick;
    sfClock *putTick;
    sfClock *mTick;
    sfClock *repPushDown;    // Clock for repeat latency when Down arrow long push
    sfClock *repKeyLeft;    // Clock for repeat latency when Left arrow long push
    sfClock *repKeyRight;    // Clock for repeat latency when Left arrow long push
};