From 54a76b78c86c13893fd46f926b23dc898e387f60 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Sat, 16 Jun 2012 16:33:04 +0000 Subject: [PATCH] clicks try to fix autobuild #2 git-svn-id: svn://kolibrios.org@2797 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/games/clicks/trunk/clicks.c | 6 ++++-- programs/games/clicks/trunk/lib/kolibri.h | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/programs/games/clicks/trunk/clicks.c b/programs/games/clicks/trunk/clicks.c index 730ec74f45..85f2651ca6 100644 --- a/programs/games/clicks/trunk/clicks.c +++ b/programs/games/clicks/trunk/clicks.c @@ -3,8 +3,6 @@ #include "lib\kolibri.h" #include "lib\random.h" #include "lib\boxes.txt" -#include "lang.h--" - system_colors sc; //уровни сложности @@ -22,6 +20,10 @@ int blocks_matrix[28*28]; // #define DELETED_BLOCK 6 #define HEADER "Just Clicks v2.0" +#ifndef AUTOBUILD +#include "lang.h--" +#endif + #ifdef LANG_RUS char NEW_GAME_TEXT[]=" ‡ ­®ў® [F2]"; char REZULT_TEXT[]="ђҐ§г«мв в: "; diff --git a/programs/games/clicks/trunk/lib/kolibri.h b/programs/games/clicks/trunk/lib/kolibri.h index 16ada80600..daa2c8ae7a 100644 --- a/programs/games/clicks/trunk/lib/kolibri.h +++ b/programs/games/clicks/trunk/lib/kolibri.h @@ -52,11 +52,13 @@ struct system_colors{ void system_colors::get() { + $push ecx EAX = 48; EBX = 3; ECX = #frame; EDX = 40; $int 0x40 + $pop ecx } //------------------------------------------------------------------------------