Changeset 143 for trunk/NoTerm.pas


Ignore:
Timestamp:
May 8, 2018, 4:37:34 PM (6 years ago)
Author:
chronos
Message:
  • Modified: Brains array changed to object list and TBrainInfo record to TBrain class for better code maintainability.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NoTerm.pas

    r118 r143  
    4343implementation
    4444
    45 uses GameServer, log, Start;
     45uses
     46  GameServer, log;
    4647
    4748{$R *.lfm}
     
    327328        yBrain[i] - 8 - 16 + 111, MainTexture.clBevelShade,
    328329        MainTexture.clBevelShade);
    329       FrameImage(Canvas, StartDlg.BrainPicture[bixView[i]], xBrain[i],
     330      FrameImage(Canvas, Brains[bixView[i]].Picture, xBrain[i],
    330331        yBrain[i] - 16, 64, 64, 0, 0);
    331332      if 1 shl i and G.RO[me].Alive = 0 then
Note: See TracChangeset for help on using the changeset viewer.