hedgewars/hwengine.pas
changeset 4490 f6840f7e2f60
parent 4454 42bfc1a70968
child 4744 ecc2c757d0df
child 4806 48c1a395f0a7
equal deleted inserted replaced
4489:c4ca9ced258b 4490:f6840f7e2f60
    29 program hwengine;
    29 program hwengine;
    30 {$ENDIF}
    30 {$ENDIF}
    31 
    31 
    32 uses SDLh, uMisc, uConsole, uGame, uConsts, uLand, uAmmos, uVisualGears, uGears, uStore, uWorld, uKeys, uSound,
    32 uses SDLh, uMisc, uConsole, uGame, uConsts, uLand, uAmmos, uVisualGears, uGears, uStore, uWorld, uKeys, uSound,
    33      uScript, uTeams, uStats, uIO, uLocale, uChat, uAI, uAIMisc, uRandom, uLandTexture, uCollisions, uMobile,
    33      uScript, uTeams, uStats, uIO, uLocale, uChat, uAI, uAIMisc, uRandom, uLandTexture, uCollisions, uMobile,
    34      sysutils, uTypes, uVariables, uCommands, uUtils, uCaptions, uDebug, uCommandHandlers;
    34      sysutils, uTypes, uVariables, uCommands, uUtils, uCaptions, uDebug, uCommandHandlers, uLandPainted;
    35 
    35 
    36 {$IFDEF HWLIBRARY}
    36 {$IFDEF HWLIBRARY}
    37 procedure initEverything(complete:boolean);
    37 procedure initEverything(complete:boolean);
    38 procedure freeEverything(complete:boolean);
    38 procedure freeEverything(complete:boolean);
    39 
    39 
   321     uConsole.initModule;    // MUST happen after uMisc
   321     uConsole.initModule;    // MUST happen after uMisc
   322     uCommands.initModule;
   322     uCommands.initModule;
   323     uCommandHandlers.initModule;
   323     uCommandHandlers.initModule;
   324 
   324 
   325     uLand.initModule;
   325     uLand.initModule;
       
   326     uLandPainted.initModule;
       
   327 
   326     uIO.initModule;
   328     uIO.initModule;
   327 
   329 
   328     if complete then
   330     if complete then
   329     begin
   331     begin
   330         uAI.initModule;
   332         uAI.initModule;