equal
deleted
inserted
replaced
57 |
57 |
58 case GameState of |
58 case GameState of |
59 gsLandGen: |
59 gsLandGen: |
60 begin |
60 begin |
61 GenMap; |
61 GenMap; |
|
62 uLandTexture.initModule; |
|
63 UpdateLandTexture(0, LAND_WIDTH, 0, LAND_HEIGHT, false); |
|
64 uAILandMarks.initModule; |
62 ParseCommand('sendlanddigest', true); |
65 ParseCommand('sendlanddigest', true); |
63 GameState:= gsStart; |
66 GameState:= gsStart; |
64 end; |
67 end; |
65 gsStart: |
68 gsStart: |
66 begin |
69 begin |
460 {$IFDEF ANDROID}GLUnit.init;{$ENDIF} |
463 {$IFDEF ANDROID}GLUnit.init;{$ENDIF} |
461 {$IFDEF SDL13}uTouch.initModule;{$ENDIF} |
464 {$IFDEF SDL13}uTouch.initModule;{$ENDIF} |
462 uAI.initModule; |
465 uAI.initModule; |
463 //uAIActions does not need initialization |
466 //uAIActions does not need initialization |
464 //uAIAmmoTests does not need initialization |
467 //uAIAmmoTests does not need initialization |
465 uAILandMarks.initModule; |
|
466 uAIMisc.initModule; |
468 uAIMisc.initModule; |
467 uAmmos.initModule; |
469 uAmmos.initModule; |
468 uChat.initModule; |
470 uChat.initModule; |
469 uCollisions.initModule; |
471 uCollisions.initModule; |
470 //uFloat does not need initialization |
472 //uFloat does not need initialization |
472 uGears.initModule; |
474 uGears.initModule; |
473 uInputHandler.initModule; |
475 uInputHandler.initModule; |
474 //uLandGraphics does not need initialization |
476 //uLandGraphics does not need initialization |
475 //uLandObjects does not need initialization |
477 //uLandObjects does not need initialization |
476 //uLandTemplates does not need initialization |
478 //uLandTemplates does not need initialization |
477 uLandTexture.initModule; |
|
478 //uLocale does not need initialization |
479 //uLocale does not need initialization |
479 uRandom.initModule; |
480 uRandom.initModule; |
480 uScript.initModule; |
481 uScript.initModule; |
481 uSound.initModule; |
482 uSound.initModule; |
482 uStats.initModule; |
483 uStats.initModule; |