Changeset 317 for trunk/Start.pas
- Timestamp:
- Mar 19, 2021, 9:59:02 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Start.pas
r316 r317 894 894 else if Page in [pgStartRandom, pgStartMap] then 895 895 begin 896 DLine(Canvas, 344, 514, y0Mini + 61 + 19, MainTexture.clBevelLight, 897 MainTexture.clBevelShade); 898 RisedTextOut(Canvas, 344, y0Mini + 61, Phrases.Lookup('STARTCONTROLS', 10)); 899 s := TurnToString(MaxTurn); 900 RisedTextOut(Canvas, 514 - BiColorTextWidth(Canvas, s), y0Mini + 61, s); 896 UnderlinedTitleValue(Canvas, Phrases.Lookup('STARTCONTROLS', 10), 897 TurnToString(MaxTurn), 344, y0Mini + 61, 170); 898 901 899 s := Phrases.Lookup('STARTCONTROLS', 7); 902 900 w := Canvas.TextWidth(s); … … 974 972 s := IntToStr(nMapStartPositions - 1); 975 973 RisedTextOut(Canvas, 198 - BiColorTextWidth(Canvas, s), yMain + 140, s); 974 976 975 DLine(Canvas, 24, xDefault - 6, yMain + 164 + 19, 977 976 MainTexture.clBevelLight, MainTexture.clBevelShade); … … 986 985 DLine(Canvas, 56, 272, y0Mini + 61 + 19, MainTexture.clBevelLight, 987 986 MainTexture.clBevelShade); 987 988 988 RisedTextOut(Canvas, 56, y0Mini + 61, 989 989 Phrases.Lookup('STARTCONTROLS', 14)); … … 1024 1024 else if Page = pgEditRandom then 1025 1025 begin 1026 DLine(Canvas, 344, 514, y0Mini - 77 + 19, MainTexture.clBevelLight, 1027 MainTexture.clBevelShade); 1028 RisedTextOut(Canvas, 344, y0Mini - 77, Phrases.Lookup('STARTCONTROLS', 5)); 1029 s := IntToStr((WorldSizes[WorldSize].X * WorldSizes[WorldSize].Y * 20 + 1030 DefaultWorldTiles div 2) div DefaultWorldTiles * 5) + '%'; 1031 RisedTextOut(Canvas, 514 - BiColorTextWidth(Canvas, s), y0Mini - 77, s); 1032 DLine(Canvas, 344, 514, y0Mini + 61 + 19, MainTexture.clBevelLight, 1033 MainTexture.clBevelShade); 1034 RisedTextOut(Canvas, 344, y0Mini + 61, Phrases.Lookup('STARTCONTROLS', 6)); 1035 s := IntToStr(StartLandMass) + '%'; 1036 RisedTextOut(Canvas, 514 - BiColorTextWidth(Canvas, s), y0Mini + 61, s); 1026 UnderlinedTitleValue(Canvas, Phrases.Lookup('STARTCONTROLS', 5), 1027 IntToStr((WorldSizes[WorldSize].X * WorldSizes[WorldSize].Y * 20 + 1028 DefaultWorldTiles div 2) div DefaultWorldTiles * 5) + '%', 1029 344, y0Mini - 77, 170); 1030 UnderlinedTitleValue(Canvas, Phrases.Lookup('STARTCONTROLS', 6), 1031 IntToStr(StartLandMass) + '%', 344, y0Mini + 61, 170); 1037 1032 end 1038 1033 else if Page = pgEditMap then
Note:
See TracChangeset
for help on using the changeset viewer.