Changeset 592 for trunk/LocalPlayer
- Timestamp:
- Aug 10, 2024, 3:40:04 PM (4 months ago)
- Location:
- trunk/LocalPlayer
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/CityScreen.pas
r550 r592 1472 1472 IconKind := mikImp; 1473 1473 IconIndex := NewProject and cpIndex; 1474 Gtk2Fix; 1474 1475 ShowModal; 1475 1476 QueryOk := ModalResult = mrOK; … … 1512 1513 (MyCity[cix].Size < 3) and 1513 1514 ((MyModel[NewProject and cpIndex].Kind = mkSlaves) or 1514 (NewProject and cpConscripts <> 0))) then 1515 if SimpleQuery(mkYesNo, Phrases.Lookup('EMIGRATE'), 'MSG_DEFAULT') <> mrOK 1516 then 1517 NewProject := NewProject or cpDisbandCity; 1515 (NewProject and cpConscripts <> 0))) then begin 1516 Gtk2Fix; 1517 if SimpleQuery(mkYesNo, Phrases.Lookup('EMIGRATE'), 'MSG_DEFAULT') <> mrOK then 1518 NewProject := NewProject or cpDisbandCity; 1519 end; 1518 1520 Server(sSetCityProject, Me, cix, NewProject); 1519 1521 C.Project := MyCity[cix].Project; -
trunk/LocalPlayer/ClientTools.pas
r549 r592 601 601 // TODO: What is this assert for? 602 602 // Need to optimize city tiles but CheckOnly true? 603 // assert(false)603 //Assert(false) 604 604 end 605 605 else -
trunk/LocalPlayer/Nego.pas
r558 r592 875 875 InputDlg.EditInput.Text := ''; 876 876 InputDlg.CenterToRect(BoundsRect); 877 Gtk2Fix; 877 878 InputDlg.ShowModal; 878 879 if InputDlg.ModalResult <> mrOK then -
trunk/LocalPlayer/Term.pas
r580 r592 7573 7573 or (MyRO.TestFlags and (tfAllTechs or tfUncover or tfAllContact) <> 0); 7574 7574 mEUnitStat.Enabled := MyRO.nEnemyModel > 0; 7575 { mWonders.Enabled:= false;7576 for I :=0 to nWonder - 1 do if MyRO.Wonder[I].CityID <> WonderNotBuiltYet then7577 mWonders.Enabled :=True; }7575 { mWonders.Enabled:= False; 7576 for I := 0 to nWonder - 1 do if MyRO.Wonder[I].CityID <> WonderNotBuiltYet then 7577 mWonders.Enabled := True; } 7578 7578 mDiagram.Enabled := MyRO.Turn >= 2; 7579 7579 mShips.Enabled := False;
Note:
See TracChangeset
for help on using the changeset viewer.