346 procedure freeEverything; |
346 procedure freeEverything; |
347 begin |
347 begin |
348 uWorld.freeModule; |
348 uWorld.freeModule; |
349 uVisualGears.freeModule; //stub |
349 uVisualGears.freeModule; //stub |
350 uTeams.freeModule; |
350 uTeams.freeModule; |
351 uStore.freeModule; |
351 uStore.freeModule; //stub |
352 uStats.freeModule; //stub |
352 uStats.freeModule; //stub |
353 uSound.freeModule; //stub |
353 uSound.freeModule; //stub |
354 //uSHA does not need to be freed |
354 //uSHA does not need to be freed |
355 uRandom.freeModule; //stub |
355 uRandom.freeModule; //stub |
356 //uLocale does not need to be freed |
356 //uLocale does not need to be freed |
357 //uLandTemplates does not need to be freed |
357 //uLandTemplates does not need to be freed |
358 //uLandTexture does not need to be freed |
358 //uLandTexture does not need to be freed |
359 //uLandObjects does not need to be freed |
359 //uLandObjects does not need to be freed |
360 //uLandGraphics does not need to be freed |
360 //uLandGraphics does not need to be freed |
361 uLand.freeModule; |
361 uLand.freeModule; |
362 uKeys.freeModule; //stub |
362 uKeys.freeModule; //stub |
363 uIO.freeModule; |
363 uIO.freeModule; //stub |
364 uGears.freeModule; |
364 uGears.freeModule; |
365 //uGame does not need to be freed |
365 //uGame does not need to be freed |
366 //uFloat does not need to be freed |
366 //uFloat does not need to be freed |
367 uCollisions.freeModule; |
367 uCollisions.freeModule; //stub |
368 uChat.freeModule; |
368 uChat.freeModule; //stub |
369 uAmmos.freeModule; |
369 uAmmos.freeModule; |
370 uAIMisc.freeModule; //stub |
370 uAIMisc.freeModule; //stub |
371 //uAIAmmoTests does not need to be freed |
371 //uAIAmmoTests does not need to be freed |
372 //uAIActions does not need to be freed |
372 //uAIActions does not need to be freed |
373 uAI.freeModule; //stub |
373 uAI.freeModule; //stub |
374 |
374 |
375 uConsole.freeModule; |
375 uConsole.freeModule; |
376 uMisc.freeModule; |
|
377 uConsts.freeModule; //stub |
376 uConsts.freeModule; //stub |
378 uScript.freeModule; |
377 uScript.freeModule; |
|
378 // uMisc closes the debug log. |
|
379 uMisc.freeModule; |
|
380 |
379 end; |
381 end; |
380 |
382 |
381 ///////////////////////// |
383 ///////////////////////// |
382 procedure GenLandPreview; |
384 procedure GenLandPreview; |
383 var Preview: TPreview; |
385 var Preview: TPreview; |