From: Florian Forster Date: Thu, 11 Mar 2010 09:36:45 +0000 (+0000) Subject: Bug 567: Add invisible unisolid slopes. X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=3ea16b6505bcd63647f29b5f002c1d66dceed0fb;p=supertux.git Bug 567: Add invisible unisolid slopes. These invisible tiles can be used on the interactive layer while the actual graphics are placed on a background layer. This makes it possible to achieve unisolid behavior with any tileset. Resolves #567. SVN-Revision: 6596 --- diff --git a/data/images/tiles.strf b/data/images/tiles.strf index 5e3ad5204..8335606da 100644 --- a/data/images/tiles.strf +++ b/data/images/tiles.strf @@ -760,7 +760,13 @@ 2043 2044 0 359 1760 1761 1748 1749 1754 1755 1756 1757 - 2404 2405 + 2404 2405 0 0 + 2817 2818 2819 2820 + 2823 2821 2822 2824 + 2828 2832 2830 2826 + 2827 2831 2829 2825 + 2839 2833 2834 2840 + 2835 2837 2838 2836 ) ) (tile @@ -3659,5 +3665,35 @@ (image "tiles/castle/chain.png") ) -;; next-id: 2817 + (tiles + (width 4) + (height 6) + (ids + 2817 2818 2819 2820 + 2821 2822 2823 2824 + 2825 2826 2827 2828 + 2829 2830 2831 2832 + 2833 2834 2835 2836 + 2837 2838 2839 2840 + ) + (attributes + 3 3 3 3 + 19 19 19 19 + 19 19 19 19 + 19 19 19 19 + 19 19 19 19 + 19 19 19 19 + ) + (datas + 0 1 2 3 + 0 1 2 3 + 16 17 18 19 + 32 33 34 35 + 48 49 50 51 + 64 65 66 67 + ) + (editor-images "tiles/auxiliary/invisible-unisolid-slopes.png") + ) + +;; next-id: 2840 ) diff --git a/data/images/tiles/auxiliary/invisible-unisolid-slopes.png b/data/images/tiles/auxiliary/invisible-unisolid-slopes.png new file mode 100644 index 000000000..65dcb42c8 Binary files /dev/null and b/data/images/tiles/auxiliary/invisible-unisolid-slopes.png differ