Subversion Repositories Kolibri OS

Rev

Rev 2821 | Rev 3273 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2821 Rev 2842
Line 4... Line 4...
4
#include "lib\random.h"
4
#include "lib\random.h"
5
#include "lib\boxes.txt"
5
#include "lib\boxes.txt"
6
system_colors sc;
6
system_colors sc;
Line 7... Line 7...
7
 
7
 
8
//óðîâíè ñëîæíîñòè
8
//óðîâíè ñëîæíîñòè
9
int DIFFICULTY_LEVEL;
9
int DIFFICULTY_LEVEL=1; //ïî-óìîë÷àíèþ ñðåäíåå ïîëå
10
char *BOARD_SIZES[]={ "S", "M", "L", 0 };
10
char *BOARD_SIZES[]={ "S", "M", "L", 0 };
Line 11... Line 11...
11
int DIFFICULTY_LEV_PARAMS[]={ 9, 12, 16 };
11
int DIFFICULTY_LEV_PARAMS[]={ 9, 12, 16 };
12
 
12
 
Line 35... Line 35...
35
 
35
 
36
void main()
36
void main()
37
{   
37
{   
Line 38... Line 38...
38
	int key, id;
38
	int key, id;
Line 39... Line 39...
39
	
39
	
Line 40... Line 40...
40
	BLOCKS_NUM=DIFFICULTY_LEV_PARAMS[0]; //ïî-óìîë÷àíèþ ñàìîå ìàëåíüêîå ïîëå
40
	BLOCKS_NUM=DIFFICULTY_LEV_PARAMS[DIFFICULTY_LEVEL];
41
	
41