Add categories for .ogg music files that can be referenced in SetPlayList.
Implement music fading.

Moved music system execution from game tick execution into main application execution so music fading works when the game is paused or lagging.
Set useful name for in-memory CStdFiles

This fixes a valgrind warning when creating a savegame, since in that case
the file name is filled with uninitialized junk. It is not used at other
places, since it is an in-memory file, and therefore was probably harmless.

Now we give a useful name to in-memory files based on the address of the
StdBuf object, which might actually be useful when debugging.
Initialize all structures when writing BMP file

Otherwise, we would partly write files with uninitialized data, such as the
padding bytes in a BMP, or the palette if not specified explicitly. This
mostly fixes corresponding valgrind warnings, but also makes sure we obtain
the same BMP files everytime we store the same StdSurface8 object, bit-by-bit.
Set pack alignment to 1 before reading the GL pixel buffer (#1181)

Otherwise the default pack alignment is 4, and when the horizontal window dimension
is not a multiple of 4, glReadPixels() would read past the end of the buffer we
provided.
Fix a delete / delete[] mismatch in C4ParticleSystem
Fail scenario saving if object saving returned nil (#1182).

This usually means there was a script error in the scenario saving function. Better abort instead of overwriting the existing scenario with garbage data.
Bugfix: Missing AttachParent in AttachedMesh

On loading a savegame with attached meshes, the AttachParent of their child is NULL.
Match partial skeletons (#1177)

When using AttachMesh() with the flag AM_MatchSkeleton the behaviour was changed. The child mesh no longer uses the transformation of the bone in the parent skeleton by order, but by name.
New script function: GetPXSCount.

Counts number of loose pixels of a material in an area.
Added new ambience object to Experimental.ocd.

Controls the music playlist according to the situation the player's clonk is currently in.
Build fix
Use COMMENT (not COMMENTS) as the category field to select songs when using SetPlayList.
Move FlightlessBird from Objects.ocd to Experimental.ocd.

Moved because it causes annoying errors on startup. It's not even a full definition and the material doesn't seem to be used anywhere.
Added GetPXSCount to docs.
Fix music fading when fading back to the same piece that is currently fading out.
Do not fade out music on scenario section loading.

Instead, scripters can use SetPlayList() or Music() to fade music by script if desired.
Added ambience test version of DeepSeaMining.
Fix build on 32-bit architectures
reduce version numbering from x.y.z (x does never changes) to y.z