Changeset 135 for trunk/Forms


Ignore:
Timestamp:
Jul 5, 2017, 9:56:03 PM (7 years ago)
Author:
chronos
Message:
  • Modified: More detailed help.
Location:
trunk/Forms
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormHelp.lfm

    r107 r135  
    11object FormHelp: TFormHelp
    2   Left = 560
    3   Height = 223
    4   Top = 144
    5   Width = 424
     2  Left = 566
     3  Height = 663
     4  Top = 237
     5  Width = 1012
    66  Caption = 'Help'
    7   ClientHeight = 223
    8   ClientWidth = 424
     7  ClientHeight = 663
     8  ClientWidth = 1012
    99  Constraints.MinHeight = 223
    1010  Constraints.MinWidth = 424
    1111  OnCreate = FormCreate
    1212  Position = poMainFormCenter
    13   LCLVersion = '1.4.4.0'
     13  LCLVersion = '1.6.4.0'
    1414  object Memo1: TMemo
    1515    Left = 6
    16     Height = 211
     16    Height = 651
    1717    Top = 6
    18     Width = 412
     18    Width = 1000
    1919    Align = alClient
    2020    BorderSpacing.Around = 6
    21     Lines.Strings = (
    22       'xTactics is a risk based strategic game. Main '
    23       'focus of the game is to offer player various '
    24       'possibilities to configure game conditions. '
    25       'Map for game is generated randomly for each '
    26       'play. Game is multiplayer so single player can '
    27       'play with other human opponents or with '
    28       'many computer opponents.'
    29     )
    3021    ReadOnly = True
    3122    ScrollBars = ssAutoBoth
  • trunk/Forms/UFormHelp.pas

    r97 r135  
    2424  FormHelp: TFormHelp;
    2525
     26
    2627implementation
     28
     29uses
     30  UCore;
     31
     32resourcestring
     33  SContent = 'xTactics is a risk based strategic game. Main focus of the game ' +
     34    'is to offer player various possibilities to configure game conditions. ' +
     35    'Map for game is generated randomly for each play. Game is multiplayer so ' +
     36    'single player can play with other human opponents or with many computer ' +
     37    'opponents.' + LineEnding + LineEnding +
     38    'Each cell has defined number of units which can be instructed to attack ' +
     39    'enemy or neutral adjecent cells. Units can also defend against enemy attach from adjecent cells. ' +
     40    'You can move units inside your territory. ' + LineEnding +
     41    'Number of units in cells grows by square root of number of units. More units cell contains, more ' +
     42    'units is added each turn. Maximum number to which units grow is 99. Cell can ' +
     43    'have more units but excessive cells will die gradually every turn to balance to number 99.' +
     44    LineEnding + LineEnding +
     45    'Resolution of attach of units is determined by rule similar to one which is ' +
     46    'used in Risk game. Battle consist of several fights. Each fight attacker can use ' +
     47    'up to 3 units and defender up to 2 units. Number of units for each side determine ' +
     48    'number of dices. Both sides roll their dices and order them in descending order.' +
     49    'Each side takes one dice with highest value. One who has dice with higher value wins. ' +
     50    'In case of tie, defender wins. Loser lose its unit and another pair of dices is evaluated. ' +
     51    'This process is calculated automatically and for each planned attack win ' +
     52    'probability is displayed.';
    2753
    2854{$R *.lfm}
     
    3258procedure TFormHelp.FormCreate(Sender: TObject);
    3359begin
     60  Core.CoolTranslator1.TranslateComponentRecursive(Self);
     61  Memo1.Lines.Text := SContent;
    3462end;
    3563
Note: See TracChangeset for help on using the changeset viewer.