diff options
author | acm <acm@FreeBSD.org> | 2006-11-01 15:46:37 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2006-11-01 15:46:37 +0800 |
commit | dfef6a88b151b442ac1866a2d48c481faf44de19 (patch) | |
tree | 5d9fb45a3573361904122bd3daff1dd1dab212ce /games/fretsonfire/files | |
parent | 51283a0b6565eff33c87284408542b4f428430ef (diff) | |
download | freebsd-ports-gnome-dfef6a88b151b442ac1866a2d48c481faf44de19.tar.gz freebsd-ports-gnome-dfef6a88b151b442ac1866a2d48c481faf44de19.tar.zst freebsd-ports-gnome-dfef6a88b151b442ac1866a2d48c481faf44de19.zip |
- Update to 1.0.263
- Remove pkg-install scripts
- See the full changelog at:
http://louhi.kempele.fi/~skyostil/uv/fretsonfire/fretsonfire-1-0-263.blog/
Diffstat (limited to 'games/fretsonfire/files')
-rw-r--r-- | games/fretsonfire/files/patch-src_GameEngine.py | 18 | ||||
-rw-r--r-- | games/fretsonfire/files/patch-src_Video.py | 20 |
2 files changed, 11 insertions, 27 deletions
diff --git a/games/fretsonfire/files/patch-src_GameEngine.py b/games/fretsonfire/files/patch-src_GameEngine.py index 65f8dd94a8ff..6b38bc9387be 100644 --- a/games/fretsonfire/files/patch-src_GameEngine.py +++ b/games/fretsonfire/files/patch-src_GameEngine.py @@ -1,11 +1,11 @@ ---- src/GameEngine.py Tue Oct 3 09:25:05 2006 -+++ src/GameEngine.py Tue Oct 3 09:25:33 2006 -@@ -46,7 +46,7 @@ - Config.define("engine", "tickrate", float, 1.0) - Config.define("game", "uploadscores", bool, False, text = "Upload Highscores", options = {False: "No", True: "Yes"}) +--- src/GameEngine.py Wed Nov 1 01:00:46 2006 ++++ src/GameEngine.py Wed Nov 1 01:01:06 2006 +@@ -49,7 +49,7 @@ + Config.define("game", "uploadscores", bool, False, text = _("Upload Highscores"), options = {False: _("No"), True: _("Yes")}) Config.define("game", "uploadurl", str, "http://kempele.fi/~skyostil/python/fretsonfire/upload") --Config.define("video", "fullscreen", bool, True, text = "Fullscreen Mode", options = {False: "No", True: "Yes"}) -+Config.define("video", "fullscreen", bool, False, text = "Fullscreen Mode", options = {False: "No", True: "Yes"}) - Config.define("video", "multisamples", int, 4, text = "Antialiasing Quality", options = {0: "None", 2: "2x", 4: "4x", 6: "6x", 8: "8x"}) + Config.define("game", "leftymode", bool, False, text = _("Lefty mode"), options = {False: _("No"), True: _("Yes")}) +-Config.define("video", "fullscreen", bool, True, text = _("Fullscreen Mode"), options = {False: _("No"), True: _("Yes")}) ++Config.define("video", "fullscreen", bool, False, text = _("Fullscreen Mode"), options = {False: _("No"), True: _("Yes")}) + Config.define("video", "multisamples", int, 4, text = _("Antialiasing Quality"), options = {0: _("None"), 2: _("2x"), 4: _("4x"), 6: _("6x"), 8: _("8x")}) Config.define("video", "resolution", str, "640x480") - Config.define("video", "fps", int, 80, text = "Frames per Second", options = dict([(n, n) for n in range(0, 120)])) + Config.define("video", "fps", int, 80, text = _("Frames per Second"), options = dict([(n, n) for n in range(0, 120)])) diff --git a/games/fretsonfire/files/patch-src_Video.py b/games/fretsonfire/files/patch-src_Video.py index 4efda5cb415b..5d5211d172d6 100644 --- a/games/fretsonfire/files/patch-src_Video.py +++ b/games/fretsonfire/files/patch-src_Video.py @@ -1,5 +1,5 @@ ---- src/Video.py Mon Aug 28 16:36:04 2006 -+++ src/Video.py Mon Oct 2 16:23:07 2006 +--- src/Video.py Wed Nov 1 01:03:39 2006 ++++ src/Video.py Wed Nov 1 01:04:35 2006 @@ -48,10 +48,10 @@ pygame.display.init() @@ -15,19 +15,3 @@ if multisamples: pygame.display.gl_set_attribute(pygame.GL_MULTISAMPLEBUFFERS, 1); -@@ -59,13 +59,14 @@ - - try: - self.screen = pygame.display.set_mode(resolution, flags) -- except pygame.error: -+ except pygame.error,e: - if multisamples: - Log.warn("Video setup failed. Trying without antialiasing.") - pygame.display.gl_set_attribute(pygame.GL_MULTISAMPLEBUFFERS, 0); - pygame.display.gl_set_attribute(pygame.GL_MULTISAMPLESAMPLES, 0); - multisamples = 0 - self.screen = pygame.display.set_mode(resolution, flags) -+ else: raise e - - pygame.display.set_caption(self.caption) - pygame.mouse.set_visible(False) |