Various objects: Use "reader_get_layer" to parse the "z-pos" and "layer" options.
authorflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Thu, 11 Feb 2010 14:55:39 +0000 (14:55 +0000)
committerflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Thu, 11 Feb 2010 14:55:39 +0000 (14:55 +0000)
commit9a72799fafb2013484eac2bf1f7bf2cf2c971b01
tree2b154fd5d0ef1464d83fc9abd4f2fe3dffb5b1fc
parentdb44e33496a7217fa2c837d432e49a253a6d4568
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.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6321 837edb03-e0f3-0310-88ca-d4d4e8b29345
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