- Update to 0.2.2
This commit is contained in:
parent
200c7cf934
commit
73e584cd3f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=243918
4 changed files with 43 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
28
games/violetland/files/patch-src-program.cpp
Normal file
28
games/violetland/files/patch-src-program.cpp
Normal file
|
@ -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++;
|
||||
+ }
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue