Changeset 109 for trunk/Forms


Ignore:
Timestamp:
Dec 10, 2024, 10:38:11 AM (6 weeks ago)
Author:
chronos
Message:
  • Modified: Added more score information.
  • Fixed: Record only non-zero scores.
Location:
trunk/Forms
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormScore.lfm

    r108 r109  
    2222      end   
    2323      item
     24        Caption = 'Board size'
     25        Width = 100
     26      end   
     27      item
    2428        Caption = 'Score'
     29        Width = 100
     30      end   
     31      item
     32        Caption = 'Biggest tile'
    2533        Width = 100
    2634      end   
     
    3442      end   
    3543      item
    36         Caption = 'Board size'
    37         Width = 101
     44        Caption = 'Disabled tiles'
     45        Width = 100
     46      end   
     47      item
     48        Caption = 'Unmergeable tiles'
     49        Width = 100
     50      end   
     51      item
     52        Caption = 'Duration'
     53        Width = 100
    3854      end>
    3955    OwnerData = True
  • trunk/Forms/FormScore.lrj

    r108 r109  
    22{"hash":5875333,"name":"tformscore.caption","sourcebytes":[83,99,111,114,101],"value":"Score"},
    33{"hash":372789,"name":"tformscore.listview1.columns[0].caption","sourcebytes":[84,105,109,101],"value":"Time"},
    4 {"hash":5875333,"name":"tformscore.listview1.columns[1].caption","sourcebytes":[83,99,111,114,101],"value":"Score"},
    5 {"hash":5532867,"name":"tformscore.listview1.columns[2].caption","sourcebytes":[77,111,118,101,115],"value":"Moves"},
    6 {"hash":6048611,"name":"tformscore.listview1.columns[3].caption","sourcebytes":[85,110,100,111,115],"value":"Undos"},
    7 {"hash":140711557,"name":"tformscore.listview1.columns[4].caption","sourcebytes":[66,111,97,114,100,32,115,105,122,101],"value":"Board size"},
     4{"hash":140711557,"name":"tformscore.listview1.columns[1].caption","sourcebytes":[66,111,97,114,100,32,115,105,122,101],"value":"Board size"},
     5{"hash":5875333,"name":"tformscore.listview1.columns[2].caption","sourcebytes":[83,99,111,114,101],"value":"Score"},
     6{"hash":250115045,"name":"tformscore.listview1.columns[3].caption","sourcebytes":[66,105,103,103,101,115,116,32,116,105,108,101],"value":"Biggest tile"},
     7{"hash":5532867,"name":"tformscore.listview1.columns[4].caption","sourcebytes":[77,111,118,101,115],"value":"Moves"},
     8{"hash":6048611,"name":"tformscore.listview1.columns[5].caption","sourcebytes":[85,110,100,111,115],"value":"Undos"},
     9{"hash":116225219,"name":"tformscore.listview1.columns[6].caption","sourcebytes":[68,105,115,97,98,108,101,100,32,116,105,108,101,115],"value":"Disabled tiles"},
     10{"hash":268299811,"name":"tformscore.listview1.columns[7].caption","sourcebytes":[85,110,109,101,114,103,101,97,98,108,101,32,116,105,108,101,115],"value":"Unmergeable tiles"},
     11{"hash":210283758,"name":"tformscore.listview1.columns[8].caption","sourcebytes":[68,117,114,97,116,105,111,110],"value":"Duration"},
    812{"hash":4863637,"name":"tformscore.buttonclose.caption","sourcebytes":[67,108,111,115,101],"value":"Close"},
    913{"hash":4860802,"name":"tformscore.buttonclear.caption","sourcebytes":[67,108,101,97,114],"value":"Clear"}
  • trunk/Forms/FormScore.pas

    r108 r109  
    4343  with FScores[Item.Index] do begin
    4444    Item.Caption := DateTimeToStr(StartTime);
     45    Item.SubItems.Add(BoardSize);
    4546    Item.SubItems.Add(IntToStr(Score));
     47    Item.SubItems.Add(IntToStr(1 shl BiggestTile));
    4648    Item.SubItems.Add(IntToStr(Moves));
    4749    Item.SubItems.Add(IntToStr(UsedUndos));
    48     Item.SubItems.Add(BoardSize);
     50    Item.SubItems.Add(IntToStr(DisabledTiles));
     51    Item.SubItems.Add(IntToStr(UnmergeableTiles));
     52    Item.SubItems.Add(TimeToStr(Duration));
    4953  end;
    5054end;
Note: See TracChangeset for help on using the changeset viewer.