Changeset 300 for trunk/UPlayer.pas


Ignore:
Timestamp:
Jul 10, 2019, 10:46:20 PM (5 years ago)
Author:
chronos
Message:
  • Added: Hide player options applicatble only for computer player.
  • Modified: Better selection of player and nation colors.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UPlayer.pas

    r298 r300  
    12071207  Field.EnumStates.Add(SMedium);
    12081208  Field.EnumStates.Add(SHigh);
    1209   Result.AddField(6, 'Defensive', SDefensive, dtBoolean);
     1209  Field.VisibleIfIndex := 2;
     1210  Field := Result.AddField(6, 'Defensive', SDefensive, dtBoolean);
     1211  Field.VisibleIfIndex := 2;
    12101212  Result.AddField(7, 'StartUnits', SStartUnits, dtInteger);
    12111213end;
Note: See TracChangeset for help on using the changeset viewer.