Current version compiled in FPC 2.0.0. 

***********************************************************
Test #011 controls:

Enter - switches between windowed/fullscreen modes
  (as defined in config/config.ini, initially 800x600x32)

Esc - exits (initiated from the module)

Space bar - performs a crash test (raises exception in the module)

Left/Right/Middle mouse buttons - toggle the red/blue/green
  components of the polygon color

Mouse wheel up/down - increases/decreases opacity of the polygon
  or scrolls the console up/down  (when active).

F12 + Esc - exits (initiated from the engine core)

~ - toggles the console. Notice as the screen becomes darker
  each time you do this - because the module doesn't receive
  OnPress message for this key (as it is host hot key), but
  it *does* receive OnRelease!

Any Key - holding 'em down makes the window backgrund brighter
  (pressing increases the green component, releasing decreases)

Window losing the focus (switching to anoter application) - 
  paints itself bright red until receives the focus back


*************************************************************
Features:

- Loads and initializes itself (think that's no big deal, huh?..
  Then go and look at all the lines of the code.
  At the bloody 20 thousands of 'em...!)

- Loads LibPng and uses it to load a texture (how do you think
  it would else render its console...?)

- Module uses the "containers" in the engine to load the texture
  only once, at startup. Try to switch /modules/_test011/tekstura.png
  with some 4096x4096 monster - and you'll see.
  Restarting the module doesn't cause resource reloading.

- Reloads the recompiled module on the fly.
  Try to recompile it  while CGE is running
  (just run modules/_test011/build.bat), and watch the fun like:

Trying to replace the module _test011.dll with the new, recompiled version...
Attempt #1 to read "E:\cge\modules\_test011\_test011.dll" failed with "Zero DLL file size -- possibly, compilation still in progress.".
Trying to replace the module _test011.dll with the new, recompiled version...
Attempt #2 to read "E:\cge\modules\_test011\_test011.dll" failed with "Zero DLL file size -- possibly, compilation still in progress.".
Trying to replace the module _test011.dll with the new, recompiled version...
Attempt #3 to read "E:\cge\modules\_test011\_test011.dll" failed with "Access denied".
Trying to replace the module _test011.dll with the new, recompiled version...
Attempt #4 to read "E:\cge\modules\_test011\_test011.dll" failed with "Access denied".
Trying to replace the module _test011.dll with the new, recompiled version...
Loading the module "_test011.dll" failed.


Exception class is "Exception",

error message is "LoadLibrary() returned zero."
Crashed reloading the new module. Switching to the backup copy.
Restoring the module from the backup copy...
Ok.
Initializing the module "_test011.dll"...
....OK
Trying to replace the module _test011.dll with the new, recompiled version...
Attempt #5 to read "E:\cge\modules\_test011\_test011.dll" failed with "Access denied".
Trying to replace the module _test011.dll with the new, recompiled version...
Attempt #6 to read "E:\cge\modules\_test011\_test011.dll" failed with "Zero DLL file size -- possibly, compilation still in progress.".
Trying to replace the module _test011.dll with the new, recompiled version...
Attempt #7 to read "E:\cge\modules\_test011\_test011.dll" failed with "Access denied".
Trying to replace the module _test011.dll with the new, recompiled version...
Attempt #8 to read "E:\cge\modules\_test011\_test011.dll" failed with "Access denied".
Trying to replace the module _test011.dll with the new, recompiled version...
Initializing the module "_test011.dll"...
....OK