Changeset 87 for trunk


Ignore:
Timestamp:
Jun 7, 2024, 12:59:18 PM (5 months ago)
Author:
chronos
Message:
  • Added: Use also numeric keyboard for movement.
  • Modified: Moved Settings menu under Tools menu.
Location:
trunk
Files:
1 added
1 deleted
5 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormMain.lfm

    r86 r87  
    11object FormMain: TFormMain
    2   Left = 684
    3   Height = 521
    4   Top = 307
    5   Width = 580
     2  Left = 534
     3  Height = 993
     4  Top = 223
     5  Width = 1491
    66  Caption = '2048'
    77  DesignTimePPI = 144
     
    2828        Action = Core.AUndo
    2929      end
    30       object MenuItem1: TMenuItem
    31         Action = Core.ASettings
    32       end
    3330      object MenuItemExit: TMenuItem
    3431        Action = Core.AExit
     
    4542    object MenuItemTools: TMenuItem
    4643      Caption = 'Tools'
     44      object MenuItem1: TMenuItem
     45        Action = Core.ASettings
     46      end
    4747      object MenuItem4: TMenuItem
    4848        Action = Core.AComputer
  • trunk/Forms/FormMain.pas

    r86 r87  
    9696  KeyRight = 39;
    9797  KeyDown = 40;
     98  KeyNumPadLeft = 100;
     99  KeyNumPadUp = 104;
     100  KeyNumPadRight = 102;
     101  KeyNumPadDown = 98;
    98102begin
    99103  if Core.Core.Game.Running then begin
    100104    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);
    105109    end;
    106110    //ProcessMoveBuffer;
  • trunk/Game2048.lpi

    r86 r87  
    5757            <Debugging>
    5858              <GenerateDebugInfo Value="False"/>
     59              <DebugInfoType Value="dsDwarf3"/>
    5960            </Debugging>
    6061            <LinkSmart Value="True"/>
  • trunk/Game2048.lpr

    r86 r87  
    2626  RequireDerivedFormResource:=True;
    2727  Application.Title:='2048';
    28   Application.Scaled := True;
     28  Application.Scaled:=True;
    2929  Application.Initialize;
    3030  Application.CreateForm(TCore, Core.Core);
  • trunk/Languages/FormAbout.cs.po

    r86 r87  
    11msgid ""
    22msgstr ""
    3 "Content-Type: text/plain; charset=UTF-8\n"
    43"Project-Id-Version: \n"
    54"POT-Creation-Date: \n"
     
    76"Last-Translator: Chronos <robie@centrum.cz>\n"
    87"Language-Team: \n"
     8"Language: cs\n"
    99"MIME-Version: 1.0\n"
     10"Content-Type: text/plain; charset=UTF-8\n"
    1011"Content-Transfer-Encoding: 8bit\n"
    11 "Language: cs\n"
    12 "X-Generator: Poedit 2.4.1\n"
     12"X-Generator: Poedit 3.0.1\n"
    1313
    14 #: uformabout.slicense
     14#: formabout.slicense
     15msgctxt "formabout.slicense"
    1516msgid "License"
    1617msgstr "Licence"
    1718
    18 #: uformabout.sreleasedate
     19#: formabout.sreleasedate
     20msgctxt "formabout.sreleasedate"
    1921msgid "Release date"
    2022msgstr "Datum uvolnění"
    2123
    22 #: uformabout.sversion
     24#: formabout.sversion
     25msgctxt "formabout.sversion"
    2326msgid "Version"
    2427msgstr "Verze"
    2528
    26 #: tformabout.buttonhomepage.caption
    27 msgid "Home page"
    28 msgstr "Domovská stránka"
    29 
    30 #: tformabout.buttonclose.caption
    31 msgid "Close"
    32 msgstr "Zavřít"
     29#: tformabout.caption
     30msgid "About"
     31msgstr "O aplikaci"
  • trunk/Languages/Game2048.cs.po

    r86 r87  
    11msgid ""
    22msgstr ""
    3 "Content-Type: text/plain; charset=UTF-8\n"
    43"Project-Id-Version: \n"
    54"POT-Creation-Date: \n"
     
    76"Last-Translator: Chronos <robie@centrum.cz>\n"
    87"Language-Team: \n"
     8"Language: cs\n"
    99"MIME-Version: 1.0\n"
     10"Content-Type: text/plain; charset=UTF-8\n"
    1011"Content-Transfer-Encoding: 8bit\n"
    11 "Language: cs\n"
    12 "X-Generator: Poedit 2.4.1\n"
     12"X-Generator: Poedit 3.4.2\n"
    1313
    1414#: core.sgameovercaption
    15 #, fuzzy
    1615msgctxt "core.sgameovercaption"
    1716msgid "Lost"
     
    1918
    2019#: core.sgameovermessage
    21 #, fuzzy
    2220msgctxt "core.sgameovermessage"
    2321msgid "Game over!"
     
    2523
    2624#: core.swincaption
    27 #, fuzzy
    2825msgctxt "core.swincaption"
    2926msgid "Win"
     
    3128
    3229#: core.swinmessage
    33 #, object-pascal-format, fuzzy
     30#, object-pascal-format
    3431msgctxt "core.swinmessage"
    3532msgid "You reached %s and won! You can continue to play to get higher score."
     
    3734
    3835#: formhelp.scontrols
    39 #, fuzzy
    4036msgctxt "formhelp.scontrols"
    4137msgid "Use arrow keys to slide blocks to one of board side."
     
    4339
    4440#: formhelp.severyturn
    45 #, fuzzy
    4641msgctxt "formhelp.severyturn"
    4742msgid "Every turn, a new tile will randomly appear in an empty spot on the board with a value of either 2 or 4."
     
    4944
    5045#: formhelp.sparagraph1
    51 #, fuzzy
    5246msgctxt "formhelp.sparagraph1"
    5347msgid "2048 is a single-player block sliding puzzle game."
     
    5549
    5650#: formhelp.sparagraph2
    57 #, fuzzy
    5851msgctxt "formhelp.sparagraph2"
    5952msgid "The game's objective is to slide numbered tiles on a grid to combine them to create a tile with the number 2048."
     
    6154
    6255#: formhelp.sundo
    63 #, fuzzy
    6456msgctxt "formhelp.sundo"
    6557msgid "You can undo one move back, if undo action is enabled."
     
    6759
    6860#: formsettings.slanguagechangemessage
    69 #, fuzzy
    7061msgctxt "formsettings.slanguagechangemessage"
    7162msgid "Interface language was changed. It may require restart of application."
     
    7364
    7465#: formsettings.slanguagechangetitle
    75 #, fuzzy
    7666msgctxt "formsettings.slanguagechangetitle"
    7767msgid "Language change"
     
    7969
    8070#: game.sscore
    81 #, fuzzy
    8271msgctxt "game.sscore"
    8372msgid "Score"
     
    8574
    8675#: game.sskinalpha
    87 #, fuzzy
    8876msgctxt "game.sskinalpha"
    8977msgid "Alpha"
     
    9179
    9280#: game.sskinbinary
    93 #, fuzzy
    9481msgctxt "game.sskinbinary"
    9582msgid "Binary"
     
    9784
    9885#: game.sskinlinear
    99 #, fuzzy
    10086msgctxt "game.sskinlinear"
    10187msgid "Linear"
     
    10389
    10490#: game.sskinpoweroftwo
    105 #, fuzzy
    10691msgctxt "game.sskinpoweroftwo"
    10792msgid "Power of two"
     
    10994
    11095#: game.sskinroman
    111 #, fuzzy
    11296msgctxt "game.sskinroman"
    11397msgid "Roman"
     
    11599
    116100#: game.stileshouldbeempty
    117 #, fuzzy
    118101msgctxt "game.stileshouldbeempty"
    119102msgid "Tile should be empty"
     
    121104
    122105#: game.stopscore
    123 #, fuzzy
    124106msgctxt "game.stopscore"
    125107msgid "Top score"
     
    158140#: tcore.applicationinfo1.description
    159141msgid "A single-player sliding block puzzle game."
    160 msgstr ""
     142msgstr "Jednouživatelská logická hra s posouváním bloků."
    161143
    162144#: tcore.asettings.caption
     
    278260msgid "Theme:"
    279261msgstr "Téma:"
    280 
Note: See TracChangeset for help on using the changeset viewer.