close Warning: Can't synchronize with repository "(default)" (No changeset 184 in the repository). Look in the Trac log for more information.

source: trunk/Forms/UFormHelp.pas

Last change on this file was 136, checked in by chronos, 7 years ago
  • Modified: Windows installer script moved to win subdirectory.
  • Fixed: Typos in Help text.
File size: 2.1 KB
Line 
1unit UFormHelp;
2
3{$mode delphi}
4
5interface
6
7uses
8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls;
9
10type
11
12 { TFormHelp }
13
14 TFormHelp = class(TForm)
15 Memo1: TMemo;
16 procedure FormCreate(Sender: TObject);
17 private
18 { private declarations }
19 public
20 { public declarations }
21 end;
22
23var
24 FormHelp: TFormHelp;
25
26
27implementation
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 adjacent cells. Units can also defend against enemy attach from adjacent 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 attack 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.';
53
54{$R *.lfm}
55
56{ TFormHelp }
57
58procedure TFormHelp.FormCreate(Sender: TObject);
59begin
60 Core.CoolTranslator1.TranslateComponentRecursive(Self);
61 Memo1.Lines.Text := SContent;
62end;
63
64end.
65
Note: See TracBrowser for help on using the repository browser.