Changeset 66 for trunk/Forms


Ignore:
Timestamp:
Nov 26, 2020, 11:00:03 PM (4 years ago)
Author:
chronos
Message:
  • Added: Show highes score on game over.
  • Fixed: Applied dark mode colors to stations.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r64 r66  
    189189    end else Translator1.Language := Translator1.Languages.SearchByCode('');
    190190    Engine.DarkMode := ReadBoolWithDefault('DarkMode', False);
     191    Engine.HighestServedPassengerCount := ReadIntegerWithDefault('HighestPassengers', 0);
     192    Engine.HighestServedDaysCount := ReadIntegerWithDefault('HighestDays', 0);
    191193  finally
    192194    Free;
     
    204206      else DeleteValue('LanguageCode');
    205207    WriteBool('DarkMode', Engine.DarkMode);
     208    WriteInteger('HighestPassengers', Engine.HighestServedPassengerCount);
     209    WriteInteger('HighestDays', Engine.HighestServedDaysCount);
    206210  finally
    207211    Free;
Note: See TracChangeset for help on using the changeset viewer.