hedgewars/hwengine.pas
changeset 7613 ce6ead3327b2
parent 7578 d5c880e6d772
parent 7594 5f03595335e6
child 7687 c73fd8cfa7c0
equal deleted inserted replaced
7590:0be267033fb3 7613:ce6ead3327b2
    28 {$ELSE}
    28 {$ELSE}
    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, uInputHandler, uSound,
    32 uses SDLh, uMisc, uConsole, uGame, uConsts, uLand, uAmmos, uVisualGears, uGears, uStore, uWorld, uInputHandler, uSound,
    33      uScript, uTeams, uStats, uIO, uLocale, uChat, uAI, uAIMisc, uRandom, uLandTexture, uCollisions,
    33      uScript, uTeams, uStats, uIO, uLocale, uChat, uAI, uAIMisc, uLandTexture, uCollisions,
    34      SysUtils, uTypes, uVariables, uCommands, uUtils, uCaptions, uDebug, uCommandHandlers, uLandPainted
    34      SysUtils, uTypes, uVariables, uCommands, uUtils, uCaptions, uDebug, uCommandHandlers, uLandPainted
    35      {$IFDEF SDL13}, uTouch{$ENDIF}{$IFDEF ANDROID}, GLUnit{$ENDIF}, uAILandMarks;
    35      {$IFDEF SDL13}, uTouch{$ENDIF}{$IFDEF ANDROID}, GLUnit{$ENDIF}, uAILandMarks;
    36 
    36 
    37 {$IFDEF HWLIBRARY}
    37 {$IFDEF HWLIBRARY}
    38 procedure initEverything(complete:boolean);
    38 procedure initEverything(complete:boolean);
   414         uInputHandler.initModule;
   414         uInputHandler.initModule;
   415         //uLandGraphics does not need initialization
   415         //uLandGraphics does not need initialization
   416         //uLandObjects does not need initialization
   416         //uLandObjects does not need initialization
   417         //uLandTemplates does not need initialization
   417         //uLandTemplates does not need initialization
   418         //uLocale does not need initialization
   418         //uLocale does not need initialization
   419         uRandom.initModule;
       
   420         uScript.initModule;
   419         uScript.initModule;
   421         uSound.initModule;
   420         uSound.initModule;
   422         uStats.initModule;
   421         uStats.initModule;
   423         uStore.initModule;
   422         uStore.initModule;
   424         uTeams.initModule;
   423         uTeams.initModule;
   442         uTeams.freeModule;
   441         uTeams.freeModule;
   443         uInputHandler.freeModule;
   442         uInputHandler.freeModule;
   444         uStats.freeModule;          //stub
   443         uStats.freeModule;          //stub
   445         uSound.freeModule;
   444         uSound.freeModule;
   446         uScript.freeModule;
   445         uScript.freeModule;
   447         uRandom.freeModule;         //stub
   446         //uRandom does not need to be freed
   448         //uLocale does not need to be freed
   447         //uLocale does not need to be freed
   449         //uLandTemplates does not need to be freed
   448         //uLandTemplates does not need to be freed
   450         uLandTexture.freeModule;
   449         uLandTexture.freeModule;
   451         //uLandObjects does not need to be freed
   450         //uLandObjects does not need to be freed
   452         //uLandGraphics does not need to be freed
   451         //uLandGraphics does not need to be freed