summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarun <arun@nubati.net>2007-03-24 21:31:28 +0000
committerarun <arun>2007-03-24 21:31:28 +0000
commit72d1c47c36285f1ed7f659e8b8761781caa41c1f (patch)
treecc4bb9584d391619484358708283f1d2203c94ca
parenta85c98f05cdf22065914272eb21e97cb8a344036 (diff)
downloade-DoKo-72d1c47c36285f1ed7f659e8b8761781caa41c1f.tar.gz
e-DoKo-72d1c47c36285f1ed7f659e8b8761781caa41c1f.tar.bz2
e-DoKo-72d1c47c36285f1ed7f659e8b8761781caa41c1f.zip
Preparation for adding german cards
-rw-r--r--cards/english/1.png (renamed from cards/1.png)bin12219 -> 12219 bytes
-rw-r--r--cards/english/11.png (renamed from cards/11.png)bin56516 -> 56516 bytes
-rw-r--r--cards/english/13.png (renamed from cards/13.png)bin56352 -> 56352 bytes
-rw-r--r--cards/english/15.png (renamed from cards/15.png)bin50278 -> 50278 bytes
-rw-r--r--cards/english/17.png (renamed from cards/17.png)bin48508 -> 48508 bytes
-rw-r--r--cards/english/19.png (renamed from cards/19.png)bin4310 -> 4310 bytes
-rw-r--r--cards/english/21.png (renamed from cards/21.png)bin11512 -> 11512 bytes
-rw-r--r--cards/english/23.png (renamed from cards/23.png)bin53543 -> 53543 bytes
-rw-r--r--cards/english/25.png (renamed from cards/25.png)bin11025 -> 11025 bytes
-rw-r--r--cards/english/27.png (renamed from cards/27.png)bin12698 -> 12698 bytes
-rw-r--r--cards/english/29.png (renamed from cards/29.png)bin13714 -> 13714 bytes
-rw-r--r--cards/english/3.png (renamed from cards/3.png)bin53823 -> 53823 bytes
-rw-r--r--cards/english/31.png (renamed from cards/31.png)bin57875 -> 57875 bytes
-rw-r--r--cards/english/33.png (renamed from cards/33.png)bin13078 -> 13078 bytes
-rw-r--r--cards/english/35.png (renamed from cards/35.png)bin4433 -> 4433 bytes
-rw-r--r--cards/english/37.png (renamed from cards/37.png)bin11635 -> 11635 bytes
-rw-r--r--cards/english/39.png (renamed from cards/39.png)bin53708 -> 53708 bytes
-rw-r--r--cards/english/41.png (renamed from cards/41.png)bin11357 -> 11357 bytes
-rw-r--r--cards/english/43.png (renamed from cards/43.png)bin4538 -> 4538 bytes
-rw-r--r--cards/english/45.png (renamed from cards/45.png)bin50631 -> 50631 bytes
-rw-r--r--cards/english/47.png (renamed from cards/47.png)bin11633 -> 11633 bytes
-rw-r--r--cards/english/5.png (renamed from cards/5.png)bin52703 -> 52703 bytes
-rw-r--r--cards/english/7.png (renamed from cards/7.png)bin57279 -> 57279 bytes
-rw-r--r--cards/english/9.png (renamed from cards/9.png)bin51724 -> 51724 bytes
-rw-r--r--output.php12
25 files changed, 6 insertions, 6 deletions
diff --git a/cards/1.png b/cards/english/1.png
index 7355894..7355894 100644
--- a/cards/1.png
+++ b/cards/english/1.png
Binary files differ
diff --git a/cards/11.png b/cards/english/11.png
index d71c2a4..d71c2a4 100644
--- a/cards/11.png
+++ b/cards/english/11.png
Binary files differ
diff --git a/cards/13.png b/cards/english/13.png
index 49e638e..49e638e 100644
--- a/cards/13.png
+++ b/cards/english/13.png
Binary files differ
diff --git a/cards/15.png b/cards/english/15.png
index c086e05..c086e05 100644
--- a/cards/15.png
+++ b/cards/english/15.png
Binary files differ
diff --git a/cards/17.png b/cards/english/17.png
index d48c8a3..d48c8a3 100644
--- a/cards/17.png
+++ b/cards/english/17.png
Binary files differ
diff --git a/cards/19.png b/cards/english/19.png
index 4106316..4106316 100644
--- a/cards/19.png
+++ b/cards/english/19.png
Binary files differ
diff --git a/cards/21.png b/cards/english/21.png
index 845173e..845173e 100644
--- a/cards/21.png
+++ b/cards/english/21.png
Binary files differ
diff --git a/cards/23.png b/cards/english/23.png
index eb10ea7..eb10ea7 100644
--- a/cards/23.png
+++ b/cards/english/23.png
Binary files differ
diff --git a/cards/25.png b/cards/english/25.png
index cfaaea1..cfaaea1 100644
--- a/cards/25.png
+++ b/cards/english/25.png
Binary files differ
diff --git a/cards/27.png b/cards/english/27.png
index 4e92d56..4e92d56 100644
--- a/cards/27.png
+++ b/cards/english/27.png
Binary files differ
diff --git a/cards/29.png b/cards/english/29.png
index fc75b01..fc75b01 100644
--- a/cards/29.png
+++ b/cards/english/29.png
Binary files differ
diff --git a/cards/3.png b/cards/english/3.png
index 299783d..299783d 100644
--- a/cards/3.png
+++ b/cards/english/3.png
Binary files differ
diff --git a/cards/31.png b/cards/english/31.png
index 12c4fd6..12c4fd6 100644
--- a/cards/31.png
+++ b/cards/english/31.png
Binary files differ
diff --git a/cards/33.png b/cards/english/33.png
index cbbb97e..cbbb97e 100644
--- a/cards/33.png
+++ b/cards/english/33.png
Binary files differ
diff --git a/cards/35.png b/cards/english/35.png
index be521b3..be521b3 100644
--- a/cards/35.png
+++ b/cards/english/35.png
Binary files differ
diff --git a/cards/37.png b/cards/english/37.png
index 0615007..0615007 100644
--- a/cards/37.png
+++ b/cards/english/37.png
Binary files differ
diff --git a/cards/39.png b/cards/english/39.png
index dd17cf8..dd17cf8 100644
--- a/cards/39.png
+++ b/cards/english/39.png
Binary files differ
diff --git a/cards/41.png b/cards/english/41.png
index 07ca9d9..07ca9d9 100644
--- a/cards/41.png
+++ b/cards/english/41.png
Binary files differ
diff --git a/cards/43.png b/cards/english/43.png
index c18b254..c18b254 100644
--- a/cards/43.png
+++ b/cards/english/43.png
Binary files differ
diff --git a/cards/45.png b/cards/english/45.png
index dd02b4f..dd02b4f 100644
--- a/cards/45.png
+++ b/cards/english/45.png
Binary files differ
diff --git a/cards/47.png b/cards/english/47.png
index d94e33b..d94e33b 100644
--- a/cards/47.png
+++ b/cards/english/47.png
Binary files differ
diff --git a/cards/5.png b/cards/english/5.png
index ae16775..ae16775 100644
--- a/cards/5.png
+++ b/cards/english/5.png
Binary files differ
diff --git a/cards/7.png b/cards/english/7.png
index 30f7f00..30f7f00 100644
--- a/cards/7.png
+++ b/cards/english/7.png
Binary files differ
diff --git a/cards/9.png b/cards/english/9.png
index 7df68db..7df68db 100644
--- a/cards/9.png
+++ b/cards/english/9.png
Binary files differ
diff --git a/output.php b/output.php
index 55cf0a5..1e747e6 100644
--- a/output.php
+++ b/output.php
@@ -141,25 +141,25 @@ function output_form_for_new_game($names)
<?php
}
-function display_card($card)
+function display_card($card,$dir="english")
{
/* cards are only availabl for the odd values, e.g. 1.png, 3.png, ...
* convert even cards to the matching odd value */
if( $card/2 - (int)($card/2) == 0.5)
- echo "<img src=\"cards/".$card.".png\" alt=\"".card_to_name($card)."\" />\n";
+ echo "<img src=\"cards/".$dir."/".$card.".png\" alt=\"".card_to_name($card)."\" />\n";
else
- echo "<img src=\"cards/".($card-1).".png\" alt=\"".card_to_name($card-1)."\" />\n";
+ echo "<img src=\"cards/".$dir."/".($card-1).".png\" alt=\"".card_to_name($card-1)."\" />\n";
return;
}
-function display_link_card($card)
+function display_link_card($card,$dir="english")
{
if( $card/2 - (int)($card/2) == 0.5)
- echo "<input type=\"radio\" name=\"card\" value=\"".$card."\" /><img src=\"cards/".$card.".png\" alt=\"\" />\n";
+ echo "<input type=\"radio\" name=\"card\" value=\"".$card."\" /><img src=\"cards/".$dir."/".$card.".png\" alt=\"\" />\n";
else
- echo "<input type=\"radio\" name=\"card\" value=\"".$card."\" /><img src=\"cards/".($card-1).".png\" alt=\"\" />\n";
+ echo "<input type=\"radio\" name=\"card\" value=\"".$card."\" /><img src=\"cards/".$dir."/".($card-1).".png\" alt=\"\" />\n";
return;
}