openarena (0.8.5-5+squeeze3) 0003-Replace-the-conditionalized-hard-coded-names-in-q_sh.patch

Summary

 engine/code/qcommon/q_shared.h |   18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)

    
download this patch

Patch contents

From: sago007 <unknown>
Date: Thu, 29 Jul 2010 02:00:04 +0100
Subject: [PATCH] Replace the conditionalized hard-coded names in q_shared.h with OpenArena

Imported from OpenArena engine tarball 0.8.x-13.

Origin: upstream, openarena
---
 engine/code/qcommon/q_shared.h |   18 +++++-------------
 1 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/engine/code/qcommon/q_shared.h b/engine/code/qcommon/q_shared.h
index 6942a62..e2f9f01 100644
--- a/engine/code/qcommon/q_shared.h
+++ b/engine/code/qcommon/q_shared.h
@@ -26,19 +26,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 // q_shared.h -- included first by ALL program modules.
 // A user mod should never modify this file
 
-#ifdef STANDALONE
-  #define PRODUCT_NAME			"iofoo3"
-  #define BASEGAME			"foobar"
-  #define CLIENT_WINDOW_TITLE     	"changeme"
-  #define CLIENT_WINDOW_MIN_TITLE 	"changeme2"
-  #define GAMENAME_FOR_MASTER		"iofoo3"	// must NOT contain whitespaces
-#else
-  #define PRODUCT_NAME			"ioq3"
-  #define BASEGAME			"baseq3"
-  #define CLIENT_WINDOW_TITLE     	"ioquake3"
-  #define CLIENT_WINDOW_MIN_TITLE 	"ioq3"
-  #define GAMENAME_FOR_MASTER		"Quake3Arena"
-#endif
+  #define PRODUCT_NAME			"ioq3+oa"
+  #define BASEGAME			"baseoa"
+  #define CLIENT_WINDOW_TITLE     	"OpenArena"
+  #define CLIENT_WINDOW_MIN_TITLE 	"OA"
+  #define GAMENAME_FOR_MASTER		"openarena"	// must NOT contain whitespaces
 
 #ifdef _MSC_VER
   #define PRODUCT_VERSION "1.35"
--