Changeset 21 for trunk/Forms/UMainForm.pas
- Timestamp:
- Sep 27, 2011, 11:01:18 PM (13 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UMainForm.pas
r19 r21 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, 9 9 ComCtrls, Menus, ActnList, UCore, UPlatform, Math, DateUtils, GraphType, 10 UPersistentForm, UApplicationInfo ;10 UPersistentForm, UApplicationInfo, UCoolTranslator; 11 11 12 12 type … … 22 22 AFullScreen: TAction; 23 23 ActionList1: TActionList; 24 CoolTranslator1: TCoolTranslator; 24 25 Image1: TImage; 25 26 MainMenu1: TMainMenu; … … 69 70 70 71 uses 71 UMapForm ;72 UMapForm, UNewGameForm; 72 73 73 74 { TMainForm } … … 186 187 procedure TMainForm.ANewGameExecute(Sender: TObject); 187 188 begin 188 Engine.NewGame;189 if NewGameForm.ShowModal = mrOk then Engine.NewGame; 189 190 end; 190 191 … … 225 226 begin 226 227 PersistentForm.Load(Self); 228 CoolTranslator1.Language := CoolTranslator1.Languages.SearchByCode('cs'); 227 229 end; 228 230
Note:
See TracChangeset
for help on using the changeset viewer.