Changeset 68 for trunk/Forms
- Timestamp:
- Jan 26, 2020, 10:57:41 PM (5 years ago)
- Location:
- trunk/Forms
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormComputer.pas
r50 r68 161 161 J: Integer; 162 162 GameTries: TGameTries; 163 Delay: Integer; 163 164 begin 164 165 ButtonStart.Enabled := False; … … 201 202 else Break; 202 203 } 203 Application.ProcessMessages; 204 Sleep(TrackBar1.Position); 204 Delay := TrackBar1.Position; 205 while Delay > 0 do begin 206 Application.ProcessMessages; 207 Sleep(10); 208 Delay := Delay - 10; 209 end; 205 210 end; 206 211 end; -
trunk/Forms/UFormMain.pas
r67 r68 223 223 while Length(MoveBuffer) > 0 do begin 224 224 MoveBufferLock.Release; 225 Core.Game.MoveAllAndUpdate(MoveBuffer[0], True);225 Core.Game.MoveAllAndUpdate(MoveBuffer[0], Core.Game.AnimationDuration > 0); 226 226 MoveBufferLock.Acquire; 227 227 if Length(MoveBuffer) > 1 then
Note:
See TracChangeset
for help on using the changeset viewer.