summaryrefslogtreecommitdiffstats
path: root/games/penguin-command/windowed_default.diff
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2014-04-18 08:53:43 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-23 07:51:42 +0700
commit6234dabd2741a19fb07e72f04c32e4c9e884e1a8 (patch)
treebde0970b36529a35f503f81466a2041831107070 /games/penguin-command/windowed_default.diff
parent733a1b108fe1b49e168d8f25cabff664d54f2860 (diff)
downloadslackbuilds-6234dabd2741a19fb07e72f04c32e4c9e884e1a8.tar.gz
slackbuilds-6234dabd2741a19fb07e72f04c32e4c9e884e1a8.tar.xz
games/penguin-command: Added (Missile Command clone).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/penguin-command/windowed_default.diff')
-rw-r--r--games/penguin-command/windowed_default.diff28
1 files changed, 28 insertions, 0 deletions
diff --git a/games/penguin-command/windowed_default.diff b/games/penguin-command/windowed_default.diff
new file mode 100644
index 0000000000..1e7d60dc11
--- /dev/null
+++ b/games/penguin-command/windowed_default.diff
@@ -0,0 +1,28 @@
+diff -Naur penguin-command-1.6.11/penguin-command.6 penguin-command-1.6.11.patched/penguin-command.6
+--- penguin-command-1.6.11/penguin-command.6 2007-03-18 11:21:13.000000000 -0400
++++ penguin-command-1.6.11.patched/penguin-command.6 2014-04-17 19:15:48.000000000 -0400
+@@ -16,10 +16,10 @@
+ .SH OPTIONS
+ .TP
+ .B \-\-fullscreen, \-f
+-Run in fullscreen mode (default).
++Run in fullscreen mode.
+ .TP
+ .B \-\-windowed, \-w
+-Run in windowed mode.
++Run in windowed mode (default).
+ .TP
+ .B \-\-nosound, \-s
+ Run without sound.
+diff -Naur penguin-command-1.6.11/src/main.c penguin-command-1.6.11.patched/src/main.c
+--- penguin-command-1.6.11/src/main.c 2007-03-18 11:21:13.000000000 -0400
++++ penguin-command-1.6.11.patched/src/main.c 2014-04-17 19:15:05.000000000 -0400
+@@ -32,7 +32,7 @@
+ #endif
+
+
+- int fullscreen=1, CityDestroyed[6]={0,0,0,0,0,0},
++ int fullscreen=0, CityDestroyed[6]={0,0,0,0,0,0},
+ CannonDestroyed[3]={0,0,0}, Score=0, HWCursor=0, NoAlpha=0, ArcadeMode=0, MusicVol=10, SoundVol=10;
+ //images
+ SDL_Surface *ShotPic,*CityPic,*BackPic,*CityHitPic,*Cannon[21],*Font,