]> git.zerfleddert.de Git - FreeShisen/commitdiff
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 221da23c5f0489f909f5eddde3e92333ddc258b9..c59feddd591fc475533c112ebd46e546340ef759 100644 (file)
@@ -23,5 +23,7 @@
         <item>jade</item>
         <item>traditional</item>
         <item>pixel</item>
         <item>jade</item>
         <item>traditional</item>
         <item>pixel</item>
+        <item>original</item>
+        <item>veit</item>
     </string-array>
 </resources>
\ No newline at end of file
     </string-array>
 </resources>
\ No newline at end of file
index 9d5d1dd98a959583192a824cf4728da00eebc271..99327bde5241e4d5c55798d3278893729c107feb 100644 (file)
@@ -129,7 +129,13 @@ public class ShisenSho extends Application {
                        return R.drawable.traditional;
                } else if (s.equals("pixel")) {
                        return R.drawable.pixel;
                        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 {
                } else {
+                       // shouldn't be reached...
+                       Log.e("ShisenSho", "somebody managed to set an invalid tileset string");
                        return R.drawable.classic;
                }
        }
                        return R.drawable.classic;
                }
        }
Impressum, Datenschutz