hedgewars/hwengine.pas
changeset 7483 d479b98d38f7
parent 7433 c7fff3e61d49
child 7503 deaeac102355
child 7577 bdbb072b38b9
child 7578 d5c880e6d772
equal deleted inserted replaced
7480:536f5f3260f1 7483:d479b98d38f7
    55 
    55 
    56     case GameState of
    56     case GameState of
    57         gsLandGen:
    57         gsLandGen:
    58             begin
    58             begin
    59             GenMap;
    59             GenMap;
       
    60             uLandTexture.initModule;
       
    61             UpdateLandTexture(0, LAND_WIDTH, 0, LAND_HEIGHT, false); 
       
    62             uAILandMarks.initModule;
    60             ParseCommand('sendlanddigest', true);
    63             ParseCommand('sendlanddigest', true);
    61             GameState:= gsStart;
    64             GameState:= gsStart;
    62             end;
    65             end;
    63         gsStart:
    66         gsStart:
    64             begin
    67             begin
   399 {$IFDEF ANDROID}GLUnit.init;{$ENDIF}
   402 {$IFDEF ANDROID}GLUnit.init;{$ENDIF}
   400 {$IFDEF SDL13}uTouch.initModule;{$ENDIF}
   403 {$IFDEF SDL13}uTouch.initModule;{$ENDIF}
   401         uAI.initModule;
   404         uAI.initModule;
   402         //uAIActions does not need initialization
   405         //uAIActions does not need initialization
   403         //uAIAmmoTests does not need initialization
   406         //uAIAmmoTests does not need initialization
   404         uAILandMarks.initModule;
       
   405         uAIMisc.initModule;
   407         uAIMisc.initModule;
   406         uAmmos.initModule;
   408         uAmmos.initModule;
   407         uChat.initModule;
   409         uChat.initModule;
   408         uCollisions.initModule;
   410         uCollisions.initModule;
   409         //uFloat does not need initialization
   411         //uFloat does not need initialization
   411         uGears.initModule;
   413         uGears.initModule;
   412         uInputHandler.initModule;
   414         uInputHandler.initModule;
   413         //uLandGraphics does not need initialization
   415         //uLandGraphics does not need initialization
   414         //uLandObjects does not need initialization
   416         //uLandObjects does not need initialization
   415         //uLandTemplates does not need initialization
   417         //uLandTemplates does not need initialization
   416         uLandTexture.initModule;
       
   417         //uLocale does not need initialization
   418         //uLocale does not need initialization
   418         uRandom.initModule;
   419         uRandom.initModule;
   419         uScript.initModule;
   420         uScript.initModule;
   420         uSound.initModule;
   421         uSound.initModule;
   421         uStats.initModule;
   422         uStats.initModule;