From: gitknilch Date: Wed, 3 Apr 2013 17:27:01 +0000 (+0200) Subject: add two more png tilesets X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/FreeShisen/commitdiff_plain/1065ae67bcab7e10507617a2189026b63a180103?ds=sidebyside add two more png tilesets Change-Id: If1a0ff6e2dbd52b517fc5120c616da880c73c6f6 Signed-off-by: gitknilch --- diff --git a/res/drawable/original.png b/res/drawable/original.png new file mode 100644 index 0000000..b4286a7 Binary files /dev/null and b/res/drawable/original.png differ diff --git a/res/drawable/veit.png b/res/drawable/veit.png new file mode 100644 index 0000000..3918e45 Binary files /dev/null and b/res/drawable/veit.png differ diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 221da23..c59fedd 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -23,5 +23,7 @@ jade traditional pixel + original + veit \ No newline at end of file diff --git a/src/de/cwde/freeshisen/ShisenSho.java b/src/de/cwde/freeshisen/ShisenSho.java index 9d5d1dd..99327bd 100644 --- a/src/de/cwde/freeshisen/ShisenSho.java +++ b/src/de/cwde/freeshisen/ShisenSho.java @@ -129,7 +129,13 @@ public class ShisenSho extends Application { return R.drawable.traditional; } else if (s.equals("pixel")) { return R.drawable.pixel; + } else if (s.equals("original")) { + return R.drawable.original; + } else if (s.equals("veit")) { + return R.drawable.veit; } else { + // shouldn't be reached... + Log.e("ShisenSho", "somebody managed to set an invalid tileset string"); return R.drawable.classic; } }