add two more png tilesets
authorgitknilch <gitknilch@cwde.de>
Wed, 3 Apr 2013 17:27:01 +0000 (19:27 +0200)
committergitknilch <gitknilch@cwde.de>
Wed, 3 Apr 2013 17:27:01 +0000 (19:27 +0200)
Change-Id: If1a0ff6e2dbd52b517fc5120c616da880c73c6f6
Signed-off-by: gitknilch <gitknilch@cwde.de>
res/drawable/original.png [new file with mode: 0644]
res/drawable/veit.png [new file with mode: 0644]
res/values/arrays.xml
src/de/cwde/freeshisen/ShisenSho.java

diff --git a/res/drawable/original.png b/res/drawable/original.png
new file mode 100644 (file)
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 (file)
index 0000000..3918e45
Binary files /dev/null and b/res/drawable/veit.png differ
index 221da23..c59fedd 100644 (file)
@@ -23,5 +23,7 @@
         <item>jade</item>
         <item>traditional</item>
         <item>pixel</item>
+        <item>original</item>
+        <item>veit</item>
     </string-array>
 </resources>
\ No newline at end of file
index 9d5d1dd..99327bd 100644 (file)
@@ -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;
                }
        }
Impressum, Datenschutz