diff --git a/programs/games/clicks/trunk/clicks.c b/programs/games/clicks/trunk/clicks.c index 94f55d5548..0160d36c47 100644 --- a/programs/games/clicks/trunk/clicks.c +++ b/programs/games/clicks/trunk/clicks.c @@ -6,7 +6,7 @@ system_colors sc; //уровни сложности -int DIFFICULTY_LEVEL; +int DIFFICULTY_LEVEL=1; //по-умолчанию среднее поле char *BOARD_SIZES[]={ "S", "M", "L", 0 }; int DIFFICULTY_LEV_PARAMS[]={ 9, 12, 16 }; @@ -37,7 +37,7 @@ void main() { int key, id; - BLOCKS_NUM=DIFFICULTY_LEV_PARAMS[0]; //по-умолчанию самое маленькое поле + BLOCKS_NUM=DIFFICULTY_LEV_PARAMS[DIFFICULTY_LEVEL]; new_game(); diff --git a/programs/games/clicks/trunk/lib/kolibri.h b/programs/games/clicks/trunk/lib/kolibri.h index daa2c8ae7a..220cba1825 100644 --- a/programs/games/clicks/trunk/lib/kolibri.h +++ b/programs/games/clicks/trunk/lib/kolibri.h @@ -94,7 +94,7 @@ inline fastcall Pause(dword EBX) //------------------------------------------------------------------------------ -char buffer[11]=""; +char buffer[11]; inline fastcall dword IntToStr(dword ESI) { $mov edi, #buffer @@ -223,7 +223,7 @@ void PutImage(dword EBX,w,h,x,y) $int 0x40 } -inline fastcall dword WriteDebug(dword EDX) +inline fastcall dword debug(dword EDX) { $push ebx $push ecx