Changeset 87 for trunk/Forms
- Timestamp:
- Jun 7, 2024, 12:59:18 PM (5 months ago)
- Location:
- trunk/Forms
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormMain.lfm
r86 r87 1 1 object FormMain: TFormMain 2 Left = 6843 Height = 5214 Top = 3075 Width = 5802 Left = 534 3 Height = 993 4 Top = 223 5 Width = 1491 6 6 Caption = '2048' 7 7 DesignTimePPI = 144 … … 28 28 Action = Core.AUndo 29 29 end 30 object MenuItem1: TMenuItem31 Action = Core.ASettings32 end33 30 object MenuItemExit: TMenuItem 34 31 Action = Core.AExit … … 45 42 object MenuItemTools: TMenuItem 46 43 Caption = 'Tools' 44 object MenuItem1: TMenuItem 45 Action = Core.ASettings 46 end 47 47 object MenuItem4: TMenuItem 48 48 Action = Core.AComputer -
trunk/Forms/FormMain.pas
r86 r87 96 96 KeyRight = 39; 97 97 KeyDown = 40; 98 KeyNumPadLeft = 100; 99 KeyNumPadUp = 104; 100 KeyNumPadRight = 102; 101 KeyNumPadDown = 98; 98 102 begin 99 103 if Core.Core.Game.Running then begin 100 104 case Key of 101 KeyLeft : AddToMoveBuffer(drLeft);102 KeyUp : AddToMoveBuffer(drUp);103 KeyRight : AddToMoveBuffer(drRight);104 KeyDown : AddToMoveBuffer(drDown);105 KeyLeft, KeyNumPadLeft: AddToMoveBuffer(drLeft); 106 KeyUp, KeyNumPadUp: AddToMoveBuffer(drUp); 107 KeyRight, KeyNumPadRight: AddToMoveBuffer(drRight); 108 KeyDown, KeyNumPadDown: AddToMoveBuffer(drDown); 105 109 end; 106 110 //ProcessMoveBuffer;
Note:
See TracChangeset
for help on using the changeset viewer.