Various objects: Use "reader_get_layer" to parse the "z-pos" and "layer" options.
authorFlorian Forster <supertux@octo.it>
Thu, 11 Feb 2010 14:55:39 +0000 (14:55 +0000)
committerFlorian Forster <supertux@octo.it>
Thu, 11 Feb 2010 14:55:39 +0000 (14:55 +0000)
commita7655ce3981d2136fb72ddf2e1ef6156655e3c10
tree2b154fd5d0ef1464d83fc9abd4f2fe3dffb5b1fc
parent6c5913c1524e9e18d3d5849b85c9dac7922536bf
Various objects: Use "reader_get_layer" to parse the "z-pos" and "layer" options.

This should be a much more thorough fix for the bug described in #527 "Text and
backgrounds can overlap the menu".

References: #527.

SVN-Revision: 6321
12 files changed:
src/object/background.cpp
src/object/cloud_particle_system.cpp
src/object/comet_particle_system.cpp
src/object/comet_particle_system.hpp
src/object/decal.cpp
src/object/ghost_particle_system.cpp
src/object/gradient.cpp
src/object/rain_particle_system.cpp
src/object/scripted_object.cpp
src/object/snow_particle_system.cpp
src/object/thunderstorm.cpp
src/object/tilemap.cpp