Changeset 151
- Timestamp:
- Nov 14, 2017, 11:11:57 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormNew.lfm
r134 r151 13 13 OnShow = FormShow 14 14 Position = poMainFormCenter 15 LCLVersion = '1. 6.4.0'15 LCLVersion = '1.8.0.4' 16 16 object ButtonCancel: TButton 17 17 Left = 454 … … 39 39 Top = 4 40 40 Width = 669 41 ActivePage = TabSheet 141 ActivePage = TabSheet2 42 42 Align = alTop 43 43 Anchors = [akTop, akLeft, akRight, akBottom] 44 44 BorderSpacing.Around = 4 45 TabIndex = 045 TabIndex = 1 46 46 TabOrder = 2 47 47 object TabSheet1: TTabSheet 48 48 Caption = 'Players' 49 ClientHeight = 39 749 ClientHeight = 395 50 50 ClientWidth = 663 51 51 object ListView1: TListView 52 52 Left = 4 53 Height = 34 753 Height = 345 54 54 Top = 4 55 55 Width = 655 … … 90 90 Left = 224 91 91 Height = 25 92 Top = 35 992 Top = 357 93 93 Width = 83 94 94 Action = APlayerRemove … … 99 99 Left = 16 100 100 Height = 25 101 Top = 35 9101 Top = 357 102 102 Width = 83 103 103 Action = APlayerAdd … … 108 108 Left = 120 109 109 Height = 25 110 Top = 35 9110 Top = 357 111 111 Width = 83 112 112 Action = APlayerModify … … 118 118 object TabSheet2: TTabSheet 119 119 Caption = 'Map' 120 ClientHeight = 39 7120 ClientHeight = 395 121 121 ClientWidth = 663 122 122 object Label1: TLabel 123 123 Left = 8 124 Height = 2 4124 Height = 26 125 125 Top = 9 126 126 Width = 95 … … 130 130 object Label2: TLabel 131 131 Left = 8 132 Height = 2 4132 Height = 26 133 133 Top = 57 134 134 Width = 102 … … 138 138 object SpinEditMapSizeX: TSpinEdit 139 139 Left = 128 140 Height = 3 4140 Height = 36 141 141 Top = 4 142 142 Width = 98 … … 148 148 object SpinEditMapSizeY: TSpinEdit 149 149 Left = 128 150 Height = 3 4150 Height = 36 151 151 Top = 55 152 152 Width = 98 … … 158 158 object TrackBarSizeX: TTrackBar 159 159 Left = 240 160 Height = 4 6160 Height = 47 161 161 Top = 8 162 162 Width = 412 … … 171 171 object TrackBarSizeY: TTrackBar 172 172 Left = 240 173 Height = 4 6173 Height = 47 174 174 Top = 49 175 175 Width = 412 … … 184 184 object Label5: TLabel 185 185 Left = 8 186 Height = 2 4186 Height = 26 187 187 Top = 104 188 188 Width = 83 … … 192 192 object ComboBoxGridType: TComboBox 193 193 Left = 146 194 Height = 3 8194 Height = 36 195 195 Top = 104 196 196 Width = 208 … … 206 206 object ComboBoxMapShape: TComboBox 207 207 Left = 146 208 Height = 3 8208 Height = 36 209 209 Top = 144 210 210 Width = 208 … … 221 221 object Label8: TLabel 222 222 Left = 8 223 Height = 2 4223 Height = 26 224 224 Top = 144 225 225 Width = 98 … … 239 239 object SpinEditVoidPercent: TSpinEdit 240 240 Left = 216 241 Height = 3 4241 Height = 36 242 242 Top = 224 243 243 Width = 106 … … 248 248 object CheckBoxVoid: TCheckBox 249 249 Left = 8 250 Height = 28250 Height = 30 251 251 Top = 232 252 252 Width = 187 … … 257 257 object CheckBoxCity: TCheckBox 258 258 Left = 8 259 Height = 28259 Height = 30 260 260 Top = 272 261 261 Width = 71 … … 266 266 object SpinEditCityPercent: TSpinEdit 267 267 Left = 216 268 Height = 3 4268 Height = 36 269 269 Top = 272 270 270 Width = 106 … … 275 275 object Label4: TLabel 276 276 Left = 331 277 Height = 2 4277 Height = 26 278 278 Top = 272 279 279 Width = 15 … … 283 283 object Label3: TLabel 284 284 Left = 331 285 Height = 2 4285 Height = 26 286 286 Top = 232 287 287 Width = 15 … … 291 291 object SpinEditNeutralUnits: TSpinEdit 292 292 Left = 408 293 Height = 3 4293 Height = 36 294 294 Top = 352 295 295 Width = 98 … … 301 301 object Label7: TLabel 302 302 Left = 8 303 Height = 2 4303 Height = 26 304 304 Top = 352 305 305 Width = 227 … … 309 309 object EditImageFile: TEdit 310 310 Left = 144 311 Height = 3 4311 Height = 36 312 312 Top = 184 313 313 Width = 396 … … 327 327 object Label9: TLabel 328 328 Left = 8 329 Height = 2 4329 Height = 26 330 330 Top = 184 331 331 Width = 90 … … 335 335 object CheckBoxBridges: TCheckBox 336 336 Left = 8 337 Height = 28337 Height = 30 338 338 Top = 310 339 339 Width = 210 … … 344 344 object TabSheet3: TTabSheet 345 345 Caption = 'Rules' 346 ClientHeight = 39 7346 ClientHeight = 395 347 347 ClientWidth = 663 348 348 object RadioGroupGrowCells: TRadioGroup … … 360 360 ChildSizing.Layout = cclLeftToRightThenTopToBottom 361 361 ChildSizing.ControlsPerLine = 1 362 ClientHeight = 7 9362 ClientHeight = 77 363 363 ClientWidth = 308 364 364 Items.Strings = ( … … 406 406 ChildSizing.Layout = cclLeftToRightThenTopToBottom 407 407 ChildSizing.ControlsPerLine = 1 408 ClientHeight = 50408 ClientHeight = 48 409 409 ClientWidth = 301 410 410 Items.Strings = ( -
trunk/Forms/UFormNew.pas
r130 r151 120 120 SGrowAmountBySquareRoot = 'By square root'; 121 121 SRectangular = 'Rectangular'; 122 SRounded = 'Rounded'; 122 123 SFromImageFile = 'From image file'; 123 124 … … 207 208 Items.Add(SRectangular); 208 209 Items.Add(SFromImageFile); 210 Items.Add(SRounded); 209 211 ItemIndex := LastIndex; 210 212 end; -
trunk/Languages/xtactics.cs.po
r148 r151 9 9 "MIME-Version: 1.0\n" 10 10 "Content-Transfer-Encoding: 8bit\n" 11 "X-Generator: Poedit 2.0. 2\n"11 "X-Generator: Poedit 2.0.4\n" 12 12 "Language: cs\n" 13 13 … … 86 86 87 87 #: tcore.ashowcharts.caption 88 #, fuzzy89 #| msgid "Show charts"90 88 msgctxt "tcore.ashowcharts.caption" 91 89 msgid "Charts" 92 msgstr " Ukázat grafy"90 msgstr "Grafy vývoje" 93 91 94 92 #: tcore.ashowunitmoves.caption 95 93 msgctxt "tcore.ashowunitmoves.caption" 96 94 msgid "Unit moves" 97 msgstr " "95 msgstr "Pohyby jednotek" 98 96 99 97 #: tformabout.buttonclose.caption … … 334 332 #: tformnew.label8.caption 335 333 msgid "Map shape:" 336 msgstr "Tvar mapy "334 msgstr "Tvar mapy:" 337 335 338 336 #: tformnew.label9.caption … … 362 360 #: tformnew.radiogroupgrowcells.caption 363 361 msgid "Growing cells" 364 msgstr "Rostoucí buňky :"362 msgstr "Rostoucí buňky" 365 363 366 364 #: tformnew.tabsheet1.caption … … 440 438 441 439 #: tformsettings.checkboxautosaveturn.caption 442 #, fuzzy443 440 msgctxt "tformsettings.checkboxautosaveturn.caption" 444 441 msgid "Autosave game on each turn" … … 481 478 msgctxt "tformunitmoves.caption" 482 479 msgid "Unit moves" 483 msgstr " "480 msgstr "Pohyby jednotek" 484 481 485 482 #: tformunitmoves.listview1.columns[0].caption 486 483 msgid "From cell" 487 msgstr " "484 msgstr "Z buňky" 488 485 489 486 #: tformunitmoves.listview1.columns[1].caption 490 487 msgid "To cell" 491 msgstr " "488 msgstr "Do buňky" 492 489 493 490 #: tformunitmoves.listview1.columns[2].caption 494 491 msgid "Once count" 495 msgstr " "492 msgstr "Počet jednorázově" 496 493 497 494 #: tformunitmoves.listview1.columns[3].caption 498 495 msgid "Repeat count" 499 msgstr " "496 msgstr "Počet opakovaně" 500 497 501 498 #: ucore.sendgame … … 613 610 msgstr "Obdelníkový" 614 611 612 #: uformnew.srounded 613 msgid "Rounded" 614 msgstr "Zakulacený" 615 615 616 #: uformnew.swinobjectivecaptureposition 616 617 msgid "Capture position" … … 685 686 msgid "Zero zoom not allowed" 686 687 msgstr "Nulové přiblížení není povoleno" 687 -
trunk/Languages/xtactics.po
r148 r151 589 589 msgstr "" 590 590 591 #: uformnew.srounded 592 msgid "Rounded" 593 msgstr "" 594 591 595 #: uformnew.swinobjectivecaptureposition 592 596 msgid "Capture position" -
trunk/UGame.pas
r149 r151 150 150 end; 151 151 152 TMapShape = (msRectangle, msImage );152 TMapShape = (msRectangle, msImage, msRounded); 153 153 154 154 { TMapArea } … … 1269 1269 Color: TColor; 1270 1270 Pos: TPoint; 1271 Center: TPoint; 1271 1272 begin 1272 1273 case Shape of … … 1281 1282 Result := Color <> clWhite; 1282 1283 end; 1284 msRounded: begin 1285 Rect := GetPixelRect; 1286 Center := Point(Rect.Left + Rect.Width div 2, Rect.Top + Rect.Height div 2); 1287 Result := Sqr(Coord.X - Center.X) / Sqr(Rect.Width div 2) + 1288 Sqr(Coord.Y - Center.Y) / Sqr(Rect.Height div 2) > 1; 1289 end 1283 1290 else Result := False; 1284 1291 end; -
trunk/xtactics.lpi
r148 r151 253 253 <IsPartOfProject Value="True"/> 254 254 <ComponentName Value="FormUnitMoves"/> 255 <HasResources Value="True"/> 255 256 <ResourceBaseClass Value="Form"/> 256 257 </Unit12>
Note:
See TracChangeset
for help on using the changeset viewer.