procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
var
j,k:integer;
CanMoveDown,CanMoveLeft,CanMoveRight,CanRotate:Boolean;
TempFigureHorizonMaxSize:Integer;
begin
CanMoveDown:=True;
CanMoveLeft:=True;
CanMoveRight:=True;
CanRotate:=True;
case Key of
80: //P
begin
tmrDropFigure.Enabled:=not tmrDropFigure.Enabled;
end;
83: //S
if tmrDropFigure.Enabled then
begin
for k:=1 to 4 do
for j:=1 to 4 do
if FigureWorkSheet[k][j]=1 then
if GlassWorkSheet[FigureWorkSheetPos div 20+k+1][FigureWorkSheetPos div 20+j]=1 then
&nbs