summaryrefslogtreecommitdiff
path: root/games/wormz/patches/patch-al
diff options
context:
space:
mode:
Diffstat (limited to 'games/wormz/patches/patch-al')
-rw-r--r--games/wormz/patches/patch-al40
1 files changed, 36 insertions, 4 deletions
diff --git a/games/wormz/patches/patch-al b/games/wormz/patches/patch-al
index 7ccccb4fd73..6eda0bcfb16 100644
--- a/games/wormz/patches/patch-al
+++ b/games/wormz/patches/patch-al
@@ -1,8 +1,31 @@
-$NetBSD: patch-al,v 1.1 2002/08/14 16:18:42 tron Exp $
+$NetBSD: patch-al,v 1.2 2004/02/18 23:09:03 kristerw Exp $
--- Client/WormApp.cc.orig Tue Apr 7 14:34:35 1998
-+++ Client/WormApp.cc Wed Aug 14 18:15:25 2002
-@@ -374,7 +374,7 @@
++++ Client/WormApp.cc Wed Feb 18 23:48:19 2004
+@@ -1,3 +1,4 @@
++#include "stdlib.h"
+ #include "WormApp.hh"
+ #include "XVision/Menu.hh"
+ #include "PaintInterface/TargaPicture.hh"
+@@ -36,7 +37,7 @@
+ void Show();
+ };
+
+-WormMenu::WormMenu(StaticText * _title, const char * _text, const Align _align=VAVertical)
++WormMenu::WormMenu(StaticText * _title, const char * _text, const Align _align)
+ : Menu(_align), title(_title), text(_text)
+ {
+ }
+@@ -228,7 +229,7 @@
+ Application::Initialize();
+ }
+
+-void WormApp::SwitchMenu(bool Flip=TRUE, bool DoShow=TRUE)
++void WormApp::SwitchMenu(bool Flip, bool DoShow)
+ {
+ if (!Flip && ((Visible && DoShow) || (!Visible && !DoShow)))
+ return;
+@@ -374,7 +375,7 @@
sprintf(s, "Player %s wins round %i!", w->GetName(), current_round);
else
sp = "No winner";
@@ -11,7 +34,7 @@ $NetBSD: patch-al,v 1.1 2002/08/14 16:18:42 tron Exp $
}
void WormApp::EndRoundCallback1()
-@@ -401,13 +401,13 @@
+@@ -401,13 +402,13 @@
players->NewRound();
char s[40];
sprintf(s, "Round %i of %i", current_round, rounds);
@@ -27,3 +50,12 @@ $NetBSD: patch-al,v 1.1 2002/08/14 16:18:42 tron Exp $
}
void WormApp::StartRoundCallback2()
+@@ -455,7 +456,7 @@
+ RecvChatLine(network->status);
+ }
+
+-void WormApp::CreateServer(bool OnlySetHostname=FALSE)
++void WormApp::CreateServer(bool OnlySetHostname)
+ {
+ char s[max_hostname_len];
+ strcpy(s, default_server_hostname);