Ignore:
Timestamp:
Apr 6, 2021, 10:16:55 PM (4 years ago)
Author:
chronos
Message:
  • Modified: TTexture changed from record to class.
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/MessgEx.pas

    r323 r352  
    357357  if (IconKind = mikImp) and (IconIndex = 27) then
    358358  begin // "YOU WIN" message
    359     clSaveTextLight := MainTexture.clTextLight;
    360     clSaveTextShade := MainTexture.clTextShade;
    361     MainTexture.clTextLight := $000000; // gold
    362     MainTexture.clTextShade := $0FDBFF;
     359    clSaveTextLight := MainTexture.ColorTextLight;
     360    clSaveTextShade := MainTexture.ColorTextShade;
     361    MainTexture.ColorTextLight := $000000; // gold
     362    MainTexture.ColorTextShade := $0FDBFF;
    363363    inherited;
    364     MainTexture.clTextLight := clSaveTextLight;
    365     MainTexture.clTextShade := clSaveTextShade;
     364    MainTexture.ColorTextLight := clSaveTextLight;
     365    MainTexture.ColorTextShade := clSaveTextShade;
    366366  end
    367367  else
     
    411411      end;
    412412    mikBook:
    413       PaintBook(Canvas, ClientWidth div 2, 24, MainTexture.clPage,
    414         MainTexture.clCover);
     413      PaintBook(Canvas, ClientWidth div 2, 24, MainTexture.ColorPage,
     414        MainTexture.ColorCover);
    415415    mikTribe:
    416416      if Assigned(Tribe[IconIndex].faceHGr) then
Note: See TracChangeset for help on using the changeset viewer.