summaryrefslogtreecommitdiff
path: root/games/violetland
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-11-07 00:44:34 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-11-07 00:44:34 +0000
commit73e584cd3f18dd0081356e169bc8a5e39862b6f5 (patch)
treef5094bc8afaf123070e7d715e505fae3ab085637 /games/violetland
parent- update to 0.13 (diff)
- Update to 0.2.2
Notes
Notes: svn path=/head/; revision=243918
Diffstat (limited to 'games/violetland')
-rw-r--r--games/violetland/Makefile2
-rw-r--r--games/violetland/distinfo6
-rw-r--r--games/violetland/files/patch-src-program.cpp28
-rw-r--r--games/violetland/pkg-plist13
4 files changed, 43 insertions, 6 deletions
diff --git a/games/violetland/Makefile b/games/violetland/Makefile
index 90068b415bb9..f38fc2cff80a 100644
--- a/games/violetland/Makefile
+++ b/games/violetland/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= violetland
-PORTVERSION= 0.2.1
+PORTVERSION= 0.2.2
CATEGORIES= games
MASTER_SITES= GOOGLE_CODE
DISTNAME= ${PORTNAME}-v${PORTVERSION}-src
diff --git a/games/violetland/distinfo b/games/violetland/distinfo
index 999fbbc8fb9b..ead0e98995f4 100644
--- a/games/violetland/distinfo
+++ b/games/violetland/distinfo
@@ -1,3 +1,3 @@
-MD5 (violetland-v0.2.1-src.zip) = 50d5b18840dc22bd084fc6839780cb7c
-SHA256 (violetland-v0.2.1-src.zip) = 2b54f683a16a6b1f34420d59ba37f0d7563299dd30dd74beb9d19a5d02488fd3
-SIZE (violetland-v0.2.1-src.zip) = 3004370
+MD5 (violetland-v0.2.2-src.zip) = 933cc7f6be0e45ff39e67129c8e731c9
+SHA256 (violetland-v0.2.2-src.zip) = 6ed5abd0537a7b95273ad454220b004e9eca09950c552eafc77b373f99c33671
+SIZE (violetland-v0.2.2-src.zip) = 7408939
diff --git a/games/violetland/files/patch-src-program.cpp b/games/violetland/files/patch-src-program.cpp
new file mode 100644
index 000000000000..6c86bf2e4f66
--- /dev/null
+++ b/games/violetland/files/patch-src-program.cpp
@@ -0,0 +1,28 @@
+--- src/program.cpp.orig 2009-11-05 01:13:34.000000000 +0300
++++ src/program.cpp 2009-11-07 03:32:21.000000000 +0300
+@@ -1302,16 +1302,20 @@
+
+ void drawWindows() {
+ if (!windows.empty()) {
+- std::map<std::string, Window*>::const_iterator win;
++ std::map<std::string, Window*>::iterator win, victim;
+ for (win = windows.begin(); win != windows.end(); ++win) {
+ Window* w = win->second;
+ w->draw();
+ w->process(input);
+ }
+- for (win = windows.begin(); win != windows.end(); ++win) {
+- Window* w = win->second;
+- if (w->CloseFlag)
+- windows.erase(win->first);
++ win = windows.begin();
++ while (win != windows.end()) {
++ if (win->second->CloseFlag) {
++ victim = win++;
++ windows.erase(victim);
++ } else {
++ win++;
++ }
+ }
+ }
+ }
diff --git a/games/violetland/pkg-plist b/games/violetland/pkg-plist
index 22ad00b77e18..ec6bb5b4115c 100644
--- a/games/violetland/pkg-plist
+++ b/games/violetland/pkg-plist
@@ -2,6 +2,8 @@ bin/violetland
%%DATADIR%%/README_EN.TXT
%%DATADIR%%/README_RU.TXT
%%DATADIR%%/fonts/harabara.ttf
+%%DATADIR%%/icon-dark.png
+%%DATADIR%%/icon-light.png
%%DATADIR%%/images/ak.png
%%DATADIR%%/images/anima/bleed/bleed-0.png
%%DATADIR%%/images/anima/bleed/bleed-1.png
@@ -94,11 +96,13 @@ bin/violetland
%%DATADIR%%/images/blood_0.png
%%DATADIR%%/images/blood_1.png
%%DATADIR%%/images/blood_2.png
+%%DATADIR%%/images/laser.png
%%DATADIR%%/images/medikit.png
-%%DATADIR%%/images/pistol_bullet.png
%%DATADIR%%/images/player_top.png
%%DATADIR%%/images/pm.png
%%DATADIR%%/images/remington.png
+%%DATADIR%%/images/splash_0.png
+%%DATADIR%%/images/splash_1.png
%%DATADIR%%/images/terrain/0/0.png
%%DATADIR%%/images/terrain/0/1.png
%%DATADIR%%/images/terrain/1/0.png
@@ -113,9 +117,13 @@ bin/violetland
%%DATADIR%%/images/terrain/base_2.png
%%DATADIR%%/images/terrain/base_3.png
%%DATADIR%%/images/uzi.png
+%%DATADIR%%/music/dzaibatsu.ogg
+%%DATADIR%%/music/morning.ogg
+%%DATADIR%%/music/space-crusader.ogg
%%DATADIR%%/sounds/ak-47_reload.ogg
%%DATADIR%%/sounds/ak-47_shot.ogg
-%%DATADIR%%/sounds/ambient_zombie.ogg
+%%DATADIR%%/sounds/laser_reload.ogg
+%%DATADIR%%/sounds/laser_shot.ogg
%%DATADIR%%/sounds/player_hit_0.ogg
%%DATADIR%%/sounds/player_hit_1.ogg
%%DATADIR%%/sounds/player_hit_2.ogg
@@ -130,6 +138,7 @@ bin/violetland
%%DATADIR%%/sounds/zombie_hit_2.ogg
%%DATADIR%%/weapons
@dirrm %%DATADIR%%/sounds
+@dirrm %%DATADIR%%/music
@dirrm %%DATADIR%%/images/terrain/3
@dirrm %%DATADIR%%/images/terrain/2
@dirrm %%DATADIR%%/images/terrain/1