Changeset 10 for trunk/LocalPlayer


Ignore:
Timestamp:
Jan 7, 2017, 2:33:20 PM (8 years ago)
Author:
chronos
Message:
  • Modified: Created CevoComponents ackage for installable custom components.
  • Fixed: Compile time range check error.
  • Added: Heaptrace check and fixed some memory leaks.
  • Fixed: MaskD function.
Location:
trunk/LocalPlayer
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/CityType.pas

    r6 r10  
    342342procedure TCityTypeDlg.DeleteBtnClick(Sender: TObject);
    343343begin
    344   fillchar(MyData.ImpOrder[ctype], sizeof(MyData.ImpOrder[ctype]), -1);
     344  fillchar(MyData.ImpOrder[ctype], sizeof(MyData.ImpOrder[ctype]), Byte(-1));
    345345  listed := [];
    346346  Changed := true;
  • trunk/LocalPlayer/ClientTools.pas

    r6 r10  
    434434  var
    435435    stage, NextJob, Tile: integer;
    436     Done: Set of jNone .. jTrans;
     436    Done: Set of jNone .. jPoll;
    437437  begin
    438438    Done := [];
  • trunk/LocalPlayer/Term.pas

    r9 r10  
    25162516                FarTech := adNone;
    25172517                FillChar(EnhancementJobs, SizeOf(EnhancementJobs), jNone);
    2518                 FillChar(ImpOrder, SizeOf(ImpOrder), -1);
     2518                FillChar(ImpOrder, SizeOf(ImpOrder), Byte(-1));
    25192519                ColdWarStart := -ColdWarTurns - 1;
    25202520                ToldAge := -1;
     
    25332533                    EffectiveOwner := -1
    25342534                  end;
    2535                 FillChar(ToldTech, SizeOf(ToldTech), tsNA);
     2535                FillChar(ToldTech, SizeOf(ToldTech), Byte(tsNA));
    25362536                if G.Difficulty[p1] > 0 then
    25372537                  SoundPreload(sbStart);
Note: See TracChangeset for help on using the changeset viewer.