- Timestamp:
- Sep 22, 2018, 1:07:53 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormClient.lfm
r241 r245 7 7 ClientHeight = 621 8 8 ClientWidth = 775 9 DesignTimePPI = 1 209 DesignTimePPI = 144 10 10 OnClose = FormClose 11 11 OnCreate = FormCreate … … 17 17 object StatusBar1: TStatusBar 18 18 Left = 0 19 Height = 2820 Top = 59 319 Height = 30 20 Top = 591 21 21 Width = 775 22 22 Panels = < … … 34 34 object ToolBar1: TToolBar 35 35 Left = 0 36 Height = 59 336 Height = 591 37 37 Top = 0 38 38 Width = 32 … … 80 80 object PaintBox1: TPaintBox 81 81 Left = 32 82 Height = 59 382 Height = 591 83 83 Top = 0 84 84 Width = 743 -
trunk/Forms/UFormClient.pas
r243 r245 12 12 const 13 13 ZoomFactor = 1.5; 14 MinZoom = 0.05; 15 MaxZoom = 10; 14 16 MouseMinDiff = 0.1; 15 17 … … 447 449 begin 448 450 with Client do begin 449 View.Zoom := View.Zoom * ZoomFactor; 451 if View.Zoom * ZoomFactor < MaxZoom then 452 View.Zoom := View.Zoom * ZoomFactor; 450 453 end; 451 454 Redraw; … … 453 456 454 457 procedure TFormClient.AZoomOutExecute(Sender: TObject); 455 //var456 // D: TPoint;457 458 begin 458 459 with Client do begin 459 //D := Point(Trunc(MousePos.X - View.Left / ViewZoom), 460 // Trunc(MousePos.Y - View.Top / ViewZoom)); 461 View.Zoom := View.Zoom / ZoomFactor; 462 //View := Bounds(Trunc((D.X - MousePos.X) * ViewZoom), 463 // Trunc((D.Y - MousePos.Y) * ViewZoom), 464 // View.Right - View.Left, 465 // View.Bottom - View.Top); 460 if View.Zoom / ZoomFactor > MinZoom then 461 View.Zoom := View.Zoom / ZoomFactor; 466 462 end; 467 463 Redraw; -
trunk/Forms/UFormHelp.pas
r243 r245 52 52 'In case of tie, defender wins. Loser lose its unit and another pair of dices is evaluated. ' + 53 53 'This process is calculated automatically and for each planned attack win ' + 54 'probability is displayed.'; 54 'probability is displayed.' + 55 LineEnding + LineEnding + 56 'Units can be moved by clicking on owned cell and then by clicking on target neutral ' + 57 'or enemy cell. Moves can be set to be repeated every turn with defined number of units. ' + 58 'Repeated unit moves can be set in Unit move dialog or simply by holding Control key while selecting target cell. ' + 59 'If there are multiple unit moves from one cell to more other cells and ' + 60 'you want to move all available cells to target cell, then you can do so by holding Shift key while selecting target cell.'; 55 61 56 62 {$R *.lfm} -
trunk/Languages/xtactics.cs.po
r244 r245 9 9 "MIME-Version: 1.0\n" 10 10 "Content-Transfer-Encoding: 8bit\n" 11 "X-Generator: Poedit 1.8.8\n"11 "X-Generator: Poedit 2.0.6\n" 12 12 "Language: cs\n" 13 13 … … 350 350 351 351 #: tformnew.aplayermodify.caption 352 #, fuzzy353 #| msgid "Modify player"354 352 msgctxt "tformnew.aplayermodify.caption" 355 353 msgid "Modify" 356 msgstr "Upravit hráče"354 msgstr "Upravit" 357 355 358 356 #: tformnew.aplayerremove.caption … … 860 858 "\n" 861 859 "Resolution of attack of units is determined by rule similar to one which is used in Risk game. Battle consist of several fights. Each fight attacker can use up to 3 units and defender up to 2 units. Number of units for each side determine number of dices. Both sides roll their dices and order them in descending order. Each side takes one dice with highest value. One who has dice with higher value wins. In case of tie, defender wins. Loser lose its unit and another pair of dices is evaluated. This process is calculated automatically and for each planned attack win probability is displayed.\n" 860 "\n" 861 "Units can be moved by clicking on owned cell and then by clicking on target neutral or enemy cell. Moves can be set to be repeated every turn with defined number of units. Repeated unit moves can be set in Unit move dialog or simply by holding Control key while selecting target cell. If there are multiple unit moves from one cell to more other cells and you want to move all available cells to target cell, then you can do so by holding Shift key while selecting target cell.\n" 862 862 msgstr "" 863 863 "xTactics je strategická hra založena na hře Risk. Hlavní zaměření hry je nabídnout hráči různé možnosti k nastavení podmínek hry. Mapa hry je generována náhodně pro každou hru. Hra je pro více hráčů takže jeden hráč může hrát s dalšími lidskými protivníky nebo s mnoha počítačovými protivníky.\n" … … 867 867 "\n" 868 868 "Vyhodnocení útoku jednotek je určen pravidlem podobným tomu, které je použito u hry Risk. Bitva se skládá z několika bojů. Každá boj útočník může použít do 3 jednotek a obránce do 2 jednotek. Počet jednotek pro každou stranu určuje počet kostek. Obě strany házejí jejich kostkami a seřadí je v sestupném pořadí. Každá strana bere jednu kostku s nejvyšší hodnotou. Ten, který má kostku s vyšší hodnotou vyhrává. V případě remízy, vyhrává obránce. Prohrávající ztrácí své jednotky a další pár kostek je vyhodnocen. Tento proces je vypočítáván automaticky a pro každý plánovaný útok je zobrazena odhadovaná pravděpodobnost.\n" 869 "\n" 870 "Jednotky lze přesouvat kliknutím na vlastněnou buňku a pak kliknutím na cílovou neutrální nebo nepřátelskou buňku. Přesuny lze nastavit jako opakující se každá tak s určeným počtem jednotek. Opakující se přesuny jednotek lze nastavit v okně Přesun jednotek nebo jednoduše pomocí držení klávesy Control při výběru cílové buňky. Pokud je více přesunů z jedené buňky do více jiných a chcete přesunout všechny dostupné do cílové buňky, tak to můžete provést pomocí držení klávesy Shift a výběru cílové buňky.\n" 869 871 870 872 #: uformkeyshortcuts.sglobal … … 1054 1056 msgid "64-bit UInt read overflow." 1055 1057 msgstr "Přetečení při čtení 64-bit UInt" 1056 -
trunk/Languages/xtactics.po
r244 r245 843 843 "\n" 844 844 "Resolution of attack of units is determined by rule similar to one which is used in Risk game. Battle consist of several fights. Each fight attacker can use up to 3 units and defender up to 2 units. Number of units for each side determine number of dices. Both sides roll their dices and order them in descending order. Each side takes one dice with highest value. One who has dice with higher value wins. In case of tie, defender wins. Loser lose its unit and another pair of dices is evaluated. This process is calculated automatically and for each planned attack win probability is displayed.\n" 845 "\n" 846 "Units can be moved by clicking on owned cell and then by clicking on target neutral or enemy cell. Moves can be set to be repeated every turn with defined number of units. Repeated unit moves can be set in Unit move dialog or simply by holding Control key while selecting target cell. If there are multiple unit moves from one cell to more other cells and you want to move all available cells to target cell, then you can do so by holding Shift key while selecting target cell.\n" 845 847 msgstr "" 846 848
Note:
See TracChangeset
for help on using the changeset viewer.