equal
deleted
inserted
replaced
437 |
437 |
438 procedure initEverything (complete:boolean); |
438 procedure initEverything (complete:boolean); |
439 begin |
439 begin |
440 uUtils.initModule(complete); // opens the debug file, must be the first |
440 uUtils.initModule(complete); // opens the debug file, must be the first |
441 uVariables.initModule; // inits all global variables |
441 uVariables.initModule; // inits all global variables |
442 uConsole.initModule; // opens stdout |
|
443 uCommands.initModule; // helps below |
442 uCommands.initModule; // helps below |
444 uCommandHandlers.initModule; // registers all messages from frontend |
443 uCommandHandlers.initModule; // registers all messages from frontend |
445 |
444 |
446 uLand.initModule; // computes land |
445 uLand.initModule; // computes land |
447 uLandPainted.initModule; // computes drawn land |
446 uLandPainted.initModule; // computes drawn land |
508 uLand.freeModule; |
507 uLand.freeModule; |
509 uLandPainted.freeModule; |
508 uLandPainted.freeModule; |
510 |
509 |
511 uCommandHandlers.freeModule; |
510 uCommandHandlers.freeModule; |
512 uCommands.freeModule; |
511 uCommands.freeModule; |
513 uConsole.freeModule; // closes stdout |
|
514 uVariables.freeModule; |
512 uVariables.freeModule; |
515 uUtils.freeModule; // closes debug file |
513 uUtils.freeModule; // closes debug file |
516 end; |
514 end; |
517 |
515 |
518 /////////////////////////////////////////////////////////////////////////////// |
516 /////////////////////////////////////////////////////////////////////////////// |