src/util/reader.[ch]pp: Add "reader_get_layer" ...
authorflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Thu, 11 Feb 2010 14:54:15 +0000 (14:54 +0000)
committerflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Thu, 11 Feb 2010 14:54:15 +0000 (14:54 +0000)
commitdb44e33496a7217fa2c837d432e49a253a6d4568
tree737afcd3713e47eb26505365f7d451e93ff91e73
parenta3711d4b522d5f11c1a091dbf175396060b7154e
src/util/reader.[ch]pp: Add "reader_get_layer" ...

... a utility function to read and sanitize the "layer" and "z-pos" options.

References: #527.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6320 837edb03-e0f3-0310-88ca-d4d4e8b29345
src/util/reader.cpp [new file with mode: 0644]
src/util/reader.hpp