defines
This commit is contained in:
parent
411b2e4bb3
commit
31562af99d
6 changed files with 193 additions and 111 deletions
|
|
@ -8,6 +8,21 @@
|
|||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
|
||||
// Константы времени
|
||||
#define ATTACH_DELAY_MS 350
|
||||
#define INSTANT_DROP_DELAY_MS 30
|
||||
#define BASE_FALL_DELAY_MS 1100
|
||||
#define SPEED_MULTIPLIER_MS 100
|
||||
#define MAX_LEVEL 10
|
||||
|
||||
// Константы очков
|
||||
#define SCORE_PER_LEVEL 600
|
||||
#define POINTS_ONE_LINE 100
|
||||
#define POINTS_TWO_LINES 300
|
||||
#define POINTS_THREE_LINES 700
|
||||
#define POINTS_FOUR_LINES 1500
|
||||
|
||||
|
||||
typedef enum {
|
||||
Init,
|
||||
Spawn,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue