blob: 2273e4d9945947dda86a5275dc62d2bfbf6d3227 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
struct game {
size_t level;
int started;
int paused;
int over_wait;
int over;
int scoreCurrent;
int moveLatency;
int lines;
sfClock *gameTick;
sfClock *over_wait_tick;
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
};
|