Delphi Guide |
<< Main Page |
About game [Eng] Cards version [Rus] Photoshop PSD Image [Rus] portal.opera.com www.excite.co.uk gamesites.bluechillies.com Automatic change |
function Color_Chars : integer; begin for i := 0 to 7 do for j := 0 to 5 do if field[i, j] = 0 then Form1.StaticText56.Caption := '+1';   if field[i, j] = 0 then Form1.StaticText56.Color := $00BBECF4; if field[i, j] = 0 then Form1.StaticText56.Font.Color := $00ffffff; if field[i, j] = 1 then Form1.StaticText56.Caption := '-1'; if field[i, j] = 1 then Form1.StaticText56.Color := $00BBECF4; if field[i, j] = 1 then Form1.StaticText56.Font.Color := $00ffffff; if field[i, j] = 2 then Form1.StaticText56.Caption := '+5';   if field[i, j] = 2 then Form1.StaticText56.Color := $00BBECF4; if field[i, j] = 2 then Form1.StaticText56.Font.Color := $00ffffff; if field[i, j] = 3 then Form1.StaticText56.Caption := '-5'; if field[i, j] = 3 then Form1.StaticText56.Color := $00BBECF4; if field[i, j] = 3 then Form1.StaticText56.Font.Color := $00ffffff; if field[i, j] = 4 then Form1.StaticText56.Caption := '+10'; if field[i, j] = 4 then Form1.StaticText56.Color := $00BBECF4; if field[i, j] = 4 then Form1.StaticText56.Font.Color := $00ffffff; if field[i, j] = 5 then Form1.StaticText56.Caption := '-10'; if field[i, j] = 5 then Form1.StaticText56.Color := $00BBECF4; if field[i, j] = 5 then Form1.StaticText56.Font.Color := $00ffffff; if field[i, j] = 6 then Form1.StaticText56.Caption := '+15'; if field[i, j] = 6 then Form1.StaticText56.Color := $00BBECF4; if field[i, j] = 6 then Form1.StaticText56.Font.Color := $00ffffff; if field[i, j] = 7 then Form1.StaticText56.Caption := '-15'; if field[i, j] = 7 then Form1.StaticText56.Color := $00BBECF4; if field[i, j] = 7 then Form1.StaticText56.Font.Color := $00ffffff; if field[i, j] = 8 then Form1.StaticText56.Caption := '+25'; if field[i, j] = 8 then Form1.StaticText56.Color := $00BBECF4; if field[i, j] = 8 then Form1.StaticText56.Font.Color := $00ffffff; if field[i, j] = 9 then Form1.StaticText56.Caption := 'T';   if field[i, j] = 9 then Form1.StaticText56.Color := $00ABCFBB; if field[i, j] = 9 then Form1.StaticText56.Font.Color := $80000008; if field[i, j] = 10 then Form1.StaticText56.Caption := 'P';   if field[i, j] = 10 then Form1.StaticText56.Color := $00FFC0C0; if field[i, j] = 10 then Form1.StaticText56.Font.Color := $80000008; if field[i, j] = 11 then Form1.StaticText56.Caption := 'B';   if field[i, j] = 11 then Form1.StaticText56.Color := $0080FFFF; if field[i, j] = 11 then Form1.StaticText56.Font.Color := $80000008; if field[i, j] = 12 then Form1.StaticText56.Caption := 'Z';   if field[i, j] = 12 then Form1.StaticText56.Color := $00000000; if field[i, j] = 12 then Form1.StaticText56.Font.Color := $00FFFFFF; if field[i, j] = 13 then Form1.StaticText56.Caption := 'Z';   if field[i, j] = 13 then Form1.StaticText56.Color := $00000000; if field[i, j] = 13 then Form1.StaticText56.Font.Color := $00FFFFFF; if field[i, j] = 14 then Form1.StaticText56.Caption := 'End';   if field[i, j] = 14 then Form1.StaticText56.Color := $000F0FFF; if field[i, j] = 14 then Form1.StaticText56.Font.Color := $00FFFFFF; if field[i, j] = 15 then Form1.StaticText56.Caption := '-10'; if field[i, j] = 15 then Form1.StaticText56.Color := $00BBECF4; if field[i, j] = 15 then Form1.StaticText56.Font.Color := $80000008; if field[i, j] = 16 then Form1.StaticText56.Caption := '-5'; if field[i, j] = 16 then Form1.StaticText56.Color := $00BBECF4; if field[i, j] = 16 then Form1.StaticText56.Font.Color := $80000008; if field[i, j] = 17 then Form1.StaticText56.Caption := '-1'; if field[i, j] = 17 then Form1.StaticText56.Color := $00BBECF4; if field[i, j] = 17 then Form1.StaticText56.Font.Color := $80000008; if field[i, j] = 18 then Form1.StaticText56.Caption := '+1'; if field[i, j] = 18 then Form1.StaticText56.Color := $00BBECF4; if field[i, j] = 18 then Form1.StaticText56.Font.Color := $80000008; if field[i, j] = 19 then Form1.StaticText56.Caption := '+5'; if field[i, j] = 19 then Form1.StaticText56.Color := $00BBECF4; if field[i, j] = 19 then Form1.StaticText56.Font.Color := $80000008; if field[i, j] = 20 then Form1.StaticText56.Caption := '-25'; if field[i, j] = 20 then Form1.StaticText56.Color := $00BBECF4; if field[i, j] = 20 then Form1.StaticText56.Font.Color := $80000008; end; |