Changeset 244
- Timestamp:
- Sep 22, 2018, 11:25:47 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormNew.lfm
r243 r244 9 9 Constraints.MinHeight = 501 10 10 Constraints.MinWidth = 667 11 DesignTimePPI = 1 2011 DesignTimePPI = 144 12 12 OnClose = FormClose 13 13 OnCreate = FormCreate … … 28 28 object TabSheetMode: TTabSheet 29 29 Caption = 'Mode' 30 ClientHeight = 6 6231 ClientWidth = 74 130 ClientHeight = 651 31 ClientWidth = 743 32 32 object Panel3: TPanel 33 33 Left = 0 34 Height = 6 6234 Height = 651 35 35 Top = 0 36 Width = 74 136 Width = 743 37 37 Align = alClient 38 38 BevelOuter = bvNone 39 ClientHeight = 6 6240 ClientWidth = 74 139 ClientHeight = 651 40 ClientWidth = 743 41 41 TabOrder = 0 42 42 object RadioButtonModeLocal: TRadioButton 43 43 Left = 10 44 Height = 2444 Height = 30 45 45 Top = 14 46 Width = 5946 Width = 68 47 47 Caption = 'Local' 48 48 Checked = True … … 53 53 object RadioButtonModeNetworkServer: TRadioButton 54 54 Left = 10 55 Height = 2455 Height = 30 56 56 Top = 48 57 Width = 1 2357 Width = 154 58 58 Caption = 'Network server' 59 59 OnChange = RadioButtonModeLocalChange … … 62 62 object RadioButtonModeNetworkClient: TRadioButton 63 63 Left = 10 64 Height = 2464 Height = 30 65 65 Top = 152 66 Width = 1 2066 Width = 149 67 67 Caption = 'Network client' 68 68 OnChange = RadioButtonModeLocalChange … … 71 71 object EditServerAddress: TEdit 72 72 Left = 24 73 Height = 2873 Height = 36 74 74 Top = 112 75 75 Width = 220 … … 78 78 object SpinEditServerPort: TSpinEdit 79 79 Left = 256 80 Height = 2880 Height = 36 81 81 Top = 112 82 82 Width = 79 … … 86 86 object Label11: TLabel 87 87 Left = 256 88 Height = 2 088 Height = 26 89 89 Top = 88 90 Width = 3090 Width = 41 91 91 Caption = 'Port:' 92 92 ParentColor = False … … 94 94 object Label12: TLabel 95 95 Left = 24 96 Height = 2 096 Height = 26 97 97 Top = 88 98 Width = 5698 Width = 74 99 99 Caption = 'Address:' 100 100 ParentColor = False … … 102 102 object ListViewServers: TListView 103 103 Left = 26 104 Height = 4 30104 Height = 419 105 105 Top = 181 106 106 Width = 334 … … 117 117 MultiSelect = True 118 118 OwnerData = True 119 PopupMenu = PopupMenuServers 119 120 ReadOnly = True 120 121 RowSelect = True … … 129 130 Left = 27 130 131 Height = 31 131 Top = 6 23132 Top = 612 132 133 Width = 94 134 Action = AServerAdd 133 135 Anchors = [akLeft, akBottom] 134 Caption = 'Add'135 136 TabOrder = 6 136 137 end … … 138 139 Left = 240 139 140 Height = 31 140 Top = 6 23141 Top = 612 141 142 Width = 94 143 Action = AServerRemove 142 144 Anchors = [akLeft, akBottom] 143 Caption = 'Remove'144 145 TabOrder = 7 145 146 end … … 147 148 Left = 136 148 149 Height = 30 149 Top = 6 23150 Top = 612 150 151 Width = 94 152 Action = AServerModify 151 153 Anchors = [akLeft, akBottom] 152 Caption = 'Modify'153 154 TabOrder = 8 154 155 end … … 157 158 object TabSheetPlayers: TTabSheet 158 159 Caption = 'Players' 159 ClientHeight = 6 62160 ClientWidth = 74 1160 ClientHeight = 651 161 ClientWidth = 743 161 162 object Panel2: TPanel 162 163 Left = 0 163 Height = 6 62164 Height = 651 164 165 Top = 0 165 Width = 74 1166 Width = 743 166 167 Align = alClient 167 168 BevelOuter = bvNone 168 ClientHeight = 6 62169 ClientWidth = 74 1169 ClientHeight = 651 170 ClientWidth = 743 170 171 TabOrder = 0 171 172 object ListViewPlayers: TListView 172 173 Left = 4 173 Height = 6 12174 Height = 601 174 175 Top = 4 175 Width = 73 3176 Width = 735 176 177 Align = alTop 177 178 Anchors = [akTop, akLeft, akRight, akBottom] … … 196 197 MultiSelect = True 197 198 OwnerData = True 199 PopupMenu = PopupMenuPlayers 198 200 ReadOnly = True 199 201 RowSelect = True … … 210 212 Left = 16 211 213 Height = 25 212 Top = 6 24214 Top = 613 213 215 Width = 83 216 Action = APlayerAdd 214 217 Anchors = [akLeft, akBottom] 215 Caption = 'Add'216 218 TabOrder = 1 217 219 end … … 219 221 Left = 120 220 222 Height = 25 221 Top = 6 24223 Top = 613 222 224 Width = 83 225 Action = APlayerModify 223 226 Anchors = [akLeft, akBottom] 224 Caption = 'Modify'225 227 TabOrder = 2 226 228 end … … 228 230 Left = 224 229 231 Height = 25 230 Top = 6 24232 Top = 613 231 233 Width = 83 234 Action = APlayerRemove 232 235 Anchors = [akLeft, akBottom] 233 Caption = 'Remove'234 236 TabOrder = 3 235 237 end … … 238 240 object TabSheetMap: TTabSheet 239 241 Caption = 'Map' 240 ClientHeight = 6 62241 ClientWidth = 74 1242 ClientHeight = 651 243 ClientWidth = 743 242 244 object Panel1: TPanel 243 245 Left = 0 244 Height = 6 62246 Height = 651 245 247 Top = 0 246 Width = 74 1248 Width = 743 247 249 Align = alClient 248 250 BevelOuter = bvNone 249 ClientHeight = 6 62250 ClientWidth = 74 1251 ClientHeight = 651 252 ClientWidth = 743 251 253 TabOrder = 0 252 254 object Label1: TLabel 253 255 Left = 8 254 Height = 2 0256 Height = 26 255 257 Top = 9 256 Width = 74258 Width = 95 257 259 Caption = 'Map width:' 258 260 ParentColor = False … … 260 262 object Label2: TLabel 261 263 Left = 8 262 Height = 2 0264 Height = 26 263 265 Top = 57 264 Width = 79266 Width = 102 265 267 Caption = 'Map height:' 266 268 ParentColor = False … … 268 270 object SpinEditMapSizeX: TSpinEdit 269 271 Left = 128 270 Height = 28272 Height = 36 271 273 Top = 4 272 274 Width = 98 … … 278 280 object SpinEditMapSizeY: TSpinEdit 279 281 Left = 128 280 Height = 28282 Height = 36 281 283 Top = 55 282 284 Width = 98 … … 290 292 Height = 47 291 293 Top = 8 292 Width = 49 0294 Width = 492 293 295 Max = 100 294 296 Min = 2 … … 303 305 Height = 47 304 306 Top = 49 305 Width = 49 0307 Width = 492 306 308 Max = 100 307 309 Min = 2 … … 314 316 object Label5: TLabel 315 317 Left = 8 316 Height = 2 0318 Height = 26 317 319 Top = 104 318 Width = 64320 Width = 83 319 321 Caption = 'Grid type:' 320 322 ParentColor = False … … 322 324 object ComboBoxGridType: TComboBox 323 325 Left = 146 324 Height = 28326 Height = 36 325 327 Top = 104 326 328 Width = 208 327 ItemHeight = 20329 ItemHeight = 0 328 330 Items.Strings = ( 329 331 'Hexagonal' … … 336 338 object ComboBoxMapShape: TComboBox 337 339 Left = 146 338 Height = 28340 Height = 36 339 341 Top = 144 340 342 Width = 208 341 ItemHeight = 20343 ItemHeight = 0 342 344 Items.Strings = ( 343 345 'Hexagonal' … … 351 353 object Label8: TLabel 352 354 Left = 8 353 Height = 2 0355 Height = 26 354 356 Top = 144 355 Width = 76357 Width = 98 356 358 Caption = 'Map shape:' 357 359 ParentColor = False … … 361 363 Height = 27 362 364 Top = 110 363 Width = 25 3365 Width = 255 364 366 Anchors = [akTop, akLeft, akRight] 365 367 AutoSize = False … … 369 371 object SpinEditVoidPercent: TSpinEdit 370 372 Left = 216 371 Height = 28373 Height = 36 372 374 Top = 224 373 375 Width = 106 … … 378 380 object CheckBoxVoid: TCheckBox 379 381 Left = 8 380 Height = 24382 Height = 30 381 383 Top = 232 382 Width = 1 49384 Width = 187 383 385 Caption = 'Inaccessible places' 384 386 OnChange = CheckBoxVoidChange … … 387 389 object CheckBoxCity: TCheckBox 388 390 Left = 8 389 Height = 24391 Height = 30 390 392 Top = 272 391 Width = 60393 Width = 71 392 394 Caption = 'Cities' 393 395 OnChange = CheckBoxCityChange … … 396 398 object SpinEditCityPercent: TSpinEdit 397 399 Left = 216 398 Height = 28400 Height = 36 399 401 Top = 272 400 402 Width = 106 … … 405 407 object Label4: TLabel 406 408 Left = 331 407 Height = 2 0409 Height = 26 408 410 Top = 272 409 Width = 1 2411 Width = 15 410 412 Caption = '%' 411 413 ParentColor = False … … 413 415 object Label3: TLabel 414 416 Left = 331 415 Height = 2 0417 Height = 26 416 418 Top = 232 417 Width = 1 2419 Width = 15 418 420 Caption = '%' 419 421 ParentColor = False … … 421 423 object SpinEditNeutralUnits: TSpinEdit 422 424 Left = 408 423 Height = 28425 Height = 36 424 426 Top = 384 425 427 Width = 98 … … 430 432 object Label7: TLabel 431 433 Left = 8 432 Height = 2 0434 Height = 26 433 435 Top = 384 434 Width = 172436 Width = 227 435 437 Caption = 'Max random neutral units:' 436 438 ParentColor = False … … 438 440 object EditImageFile: TEdit 439 441 Left = 144 440 Height = 28442 Height = 36 441 443 Top = 184 442 Width = 47 4444 Width = 476 443 445 Anchors = [akTop, akLeft, akRight] 444 446 TabOrder = 12 445 447 end 446 448 object ButtonImageBrowse: TButton 447 Left = 62 6449 Left = 628 448 450 Height = 25 449 451 Top = 192 … … 456 458 object Label9: TLabel 457 459 Left = 8 458 Height = 2 0460 Height = 26 459 461 Top = 184 460 Width = 70462 Width = 90 461 463 Caption = 'Image file:' 462 464 ParentColor = False … … 464 466 object CheckBoxBridges: TCheckBox 465 467 Left = 8 466 Height = 24468 Height = 30 467 469 Top = 310 468 Width = 168470 Width = 210 469 471 Caption = 'Bridges between cells' 470 472 TabOrder = 14 … … 472 474 object SpinEditMaxPower: TSpinEdit 473 475 Left = 408 474 Height = 28476 Height = 36 475 477 Top = 344 476 478 Width = 98 … … 483 485 object Label10: TLabel 484 486 Left = 8 485 Height = 2 0487 Height = 26 486 488 Top = 344 487 Width = 1 19489 Width = 156 488 490 Caption = 'Max units per cell:' 489 491 ParentColor = False … … 493 495 Height = 27 494 496 Top = 137 495 Width = 25 3497 Width = 255 496 498 Anchors = [akTop, akLeft, akRight] 497 499 AutoSize = False … … 503 505 object TabSheetRules: TTabSheet 504 506 Caption = 'Rules' 505 ClientHeight = 6 62506 ClientWidth = 74 1507 ClientHeight = 651 508 ClientWidth = 743 507 509 object Panel4: TPanel 508 510 Left = 0 509 Height = 6 62511 Height = 651 510 512 Top = 0 511 Width = 74 1513 Width = 743 512 514 Align = alClient 513 515 BevelOuter = bvNone 514 ClientHeight = 6 62515 ClientWidth = 74 1516 ClientHeight = 651 517 ClientWidth = 743 516 518 TabOrder = 0 517 519 object RadioGroupGrowCells: TRadioGroup … … 529 531 ChildSizing.Layout = cclLeftToRightThenTopToBottom 530 532 ChildSizing.ControlsPerLine = 1 531 ClientHeight = 80533 ClientHeight = 77 532 534 ClientWidth = 308 533 535 Items.Strings = ( … … 540 542 object Label6: TLabel 541 543 Left = 8 542 Height = 2 0544 Height = 26 543 545 Top = 248 544 Width = 94546 Width = 120 545 547 Caption = 'Win objective:' 546 548 ParentColor = False … … 548 550 object ComboBoxWinObjective: TComboBox 549 551 Left = 224 550 Height = 28552 Height = 36 551 553 Top = 244 552 554 Width = 328 553 ItemHeight = 20555 ItemHeight = 0 554 556 Items.Strings = ( 555 557 'Defeat all oponents' … … 576 578 ChildSizing.Layout = cclLeftToRightThenTopToBottom 577 579 ChildSizing.ControlsPerLine = 1 578 ClientHeight = 51580 ClientHeight = 48 579 581 ClientWidth = 301 580 582 Items.Strings = ( … … 586 588 object CheckBoxFogOfWar: TCheckBox 587 589 Left = 336 588 Height = 24590 Height = 30 589 591 Top = 24 590 Width = 95592 Width = 113 591 593 Caption = 'Fog of war' 592 594 TabOrder = 3 … … 596 598 Height = 78 597 599 Top = 290 598 Width = 7 18600 Width = 720 599 601 ActivePage = TabSheetCaptureCities 600 602 Anchors = [akTop, akLeft, akRight] … … 607 609 end 608 610 object TabSheetCaptureCells: TTabSheet 609 ClientHeight = 7 4610 ClientWidth = 71 6611 ClientHeight = 72 612 ClientWidth = 714 611 613 object Label14: TLabel 612 614 Left = 8 … … 629 631 end 630 632 object TabSheetStayAliveTurns: TTabSheet 631 ClientHeight = 7 4632 ClientWidth = 71 6633 ClientHeight = 72 634 ClientWidth = 714 633 635 object Label13: TLabel 634 636 Left = 8 … … 707 709 top = 464 708 710 object APlayerModify: TAction 709 Caption = 'Modify player'711 Caption = 'Modify' 710 712 OnExecute = APlayerModifyExecute 711 713 end -
trunk/Languages/xtactics.cs.po
r243 r244 350 350 351 351 #: tformnew.aplayermodify.caption 352 msgid "Modify player" 352 #, fuzzy 353 #| msgid "Modify player" 354 msgctxt "tformnew.aplayermodify.caption" 355 msgid "Modify" 353 356 msgstr "Upravit hráče" 354 357 … … 374 377 msgstr "Odstranit" 375 378 376 #: tformnew.button1.caption377 msgctxt "tformnew.button1.caption"378 msgid "Add"379 msgstr "Přidat"380 381 #: tformnew.button2.caption382 msgctxt "tformnew.button2.caption"383 msgid "Remove"384 msgstr "Odstranit"385 386 #: tformnew.button3.caption387 msgctxt "tformnew.button3.caption"388 msgid "Modify"389 msgstr "Upravit"390 391 379 #: tformnew.buttoncancel.caption 392 380 msgctxt "tformnew.buttoncancel.caption" … … 403 391 msgid "Ok" 404 392 msgstr "Ok" 405 406 #: tformnew.buttonplayeradd.caption407 msgctxt "tformnew.buttonplayeradd.caption"408 msgid "Add"409 msgstr "Přidat"410 411 #: tformnew.buttonplayermodify.caption412 msgctxt "tformnew.buttonplayermodify.caption"413 msgid "Modify"414 msgstr "Upravit"415 416 #: tformnew.buttonplayerremove.caption417 msgctxt "tformnew.buttonplayerremove.caption"418 msgid "Remove"419 msgstr "Odstranit"420 393 421 394 #: tformnew.caption … … 1081 1054 msgid "64-bit UInt read overflow." 1082 1055 msgstr "Přetečení při čtení 64-bit UInt" 1056 -
trunk/Languages/xtactics.po
r243 r244 338 338 339 339 #: tformnew.aplayermodify.caption 340 msgid "Modify player" 340 msgctxt "tformnew.aplayermodify.caption" 341 msgid "Modify" 341 342 msgstr "" 342 343 … … 361 362 msgstr "" 362 363 363 #: tformnew.button1.caption364 msgctxt "tformnew.button1.caption"365 msgid "Add"366 msgstr ""367 368 #: tformnew.button2.caption369 msgctxt "tformnew.button2.caption"370 msgid "Remove"371 msgstr ""372 373 #: tformnew.button3.caption374 msgctxt "tformnew.button3.caption"375 msgid "Modify"376 msgstr ""377 378 364 #: tformnew.buttoncancel.caption 379 365 msgctxt "TFORMNEW.BUTTONCANCEL.CAPTION" … … 389 375 msgctxt "TFORMNEW.BUTTONOK.CAPTION" 390 376 msgid "Ok" 391 msgstr ""392 393 #: tformnew.buttonplayeradd.caption394 msgctxt "tformnew.buttonplayeradd.caption"395 msgid "Add"396 msgstr ""397 398 #: tformnew.buttonplayermodify.caption399 msgctxt "tformnew.buttonplayermodify.caption"400 msgid "Modify"401 msgstr ""402 403 #: tformnew.buttonplayerremove.caption404 msgctxt "tformnew.buttonplayerremove.caption"405 msgid "Remove"406 377 msgstr "" 407 378 -
trunk/UMap.pas
r242 r244 567 567 Shape := Source.Shape; 568 568 Image.Picture.Bitmap.Assign(Source.Image.Picture.Bitmap); 569 Cyclic := Source.Cyclic; 569 570 570 571 // TODO: How to copy cells … … 598 599 DefaultCellSize.Y := ReadInteger(Node, 'DefaultCellSizeY', 1); 599 600 MaxPower := ReadInteger(Node, 'MaxPower', DefaultMaxPower); 601 Cyclic := ReadBoolean(Node, 'Cyclic', False); 600 602 Shape := TMapShape(ReadInteger(Node, 'Shape', Integer(msRectangle))); 601 603 Node2 := Node.FindNode('Cells'); … … 615 617 WriteInteger(Node, 'DefaultCellSizeY', DefaultCellSize.Y); 616 618 WriteInteger(Node, 'MaxPower', MaxPower); 619 WriteBoolean(Node, 'Cyclic', Cyclic); 617 620 WriteInteger(Node, 'Shape', Integer(Shape)); 618 621 WriteInteger(Node, 'SizeX', Size.X);
Note:
See TracChangeset
for help on using the changeset viewer.