Changeset 17 for trunk/UCore.pas
- Timestamp:
- Oct 5, 2019, 12:17:17 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r13 r17 53 53 Randomize; 54 54 Game := TGame.Create; 55 Game. Size := Point(4, 4);55 Game.Board.Size := Point(4, 4); 56 56 Game.OnChange := GameChange; 57 57 LoadConfig; … … 116 116 117 117 Game.TopScore := ReadIntegerWithDefault('TopScore', 0); 118 Game. Size := Point(ReadIntegerWithDefault('SizeX', 4), ReadIntegerWithDefault('SizeY', 4));118 Game.Board.Size := Point(ReadIntegerWithDefault('SizeX', 4), ReadIntegerWithDefault('SizeY', 4)); 119 119 Game.AnimationDuration := ReadIntegerWithDefault('AnimationDuration', 30); 120 120 if ValueExists('LanguageCode') then … … 133 133 134 134 WriteInteger('TopScore', Game.TopScore); 135 WriteInteger('SizeX', Game. Size.X);136 WriteInteger('SizeY', Game. Size.Y);135 WriteInteger('SizeX', Game.Board.Size.X); 136 WriteInteger('SizeY', Game.Board.Size.Y); 137 137 WriteInteger('AnimationDuration', Game.AnimationDuration); 138 138 if Assigned(Translator1.Language) and (Translator1.Language.Code <> '') then
Note:
See TracChangeset
for help on using the changeset viewer.