Changeset 23 for trunk


Ignore:
Timestamp:
Apr 9, 2015, 9:52:15 AM (10 years ago)
Author:
chronos
Message:
  • Added: Two more metro lines with different colors.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BigMetro.lpi

    r20 r23  
    9090        <Filename Value="UGeometric.pas"/>
    9191        <IsPartOfProject Value="True"/>
    92         <UnitName Value="UGeometric"/>
    9392      </Unit3>
    9493    </Units>
  • trunk/UEngine.pas

    r20 r23  
    212212
    213213const
    214   clDarkYellow = TColor($00eeee);
    215   LineColors: array[0..5] of TColor = (clBlue, clRed, clDarkYellow, clGreen,
    216     clPurple, clGray);
     214  clDarkYellow = TColor($00dede);
     215  clOrange = TColor($0080ff);
     216  clBrown = TColor($003090);
     217  LineColors: array[0..7] of TColor = (clBlue, clRed, clDarkYellow, clGreen,
     218    clPurple, clGray, clOrange, clBrown);
    217219  StationSize = 30;
    218220  PassengerSize = 15;
     
    13361338  end;
    13371339
    1338   for I := 0 to 5 do begin
     1340  for I := 0 to 7 do begin
    13391341    Lines.AddNew;
    13401342    NewTrain := TMetroTrain.Create;
Note: See TracChangeset for help on using the changeset viewer.