Changeset 125 for trunk/UEngine.pas


Ignore:
Timestamp:
Apr 23, 2023, 12:29:52 AM (13 months ago)
Author:
chronos
Message:
  • Modified: The game has been renamed to TransLines.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
         1*.dbg
        12lib
        2 BigMetro
        3 BigMetro.lps
        43heaptrclog.trc
        5 BigMetro.exe
        6 *.dbg
        7 BigMetro.res
         4TransLines
         5TransLines.lps
         6TransLines.exe
         7TransLines.res
  • trunk/UEngine.pas

    r122 r125  
    394394  SOptions = 'Options';
    395395  SExit = 'Exit';
    396   SBigMetro = 'Big Metro';
     396  STransLines = 'TransLines';
    397397  SDarkMode = 'Dark mode';
    398398  SLanguage = 'Language';
     
    21592159  with MenuMain, Items do begin
    21602160    Clear;
    2161     with AddButton(SBigMetro, nil) do begin
     2161    with AddButton(STransLines, nil) do begin
    21622162      Enabled := False;
    21632163      TextSize := 60;
     
    35383538  Clear;
    35393539  with Doc do try
    3540     if Doc.DocumentElement.NodeName <> 'BigMetroGame' then
     3540    if (Doc.DocumentElement.NodeName <> 'BigMetroGame') and
     3541      (Doc.DocumentElement.NodeName <> 'TransLinesGame') then
    35413542      raise Exception.Create(SWrongFileFormat);
    35423543    RootNode := Doc.DocumentElement;
     
    35673568  Doc := TXMLDocument.Create;
    35683569  with Doc do try
    3569     RootNode := CreateElement('BigMetroGame');
     3570    RootNode := CreateElement('TransLinesGame');
    35703571    AppendChild(RootNode);
    35713572    with RootNode do begin
Note: See TracChangeset for help on using the changeset viewer.