All pastes #595795 Raw Edit

Unnamed

public text v1 · immutable
#595795 ·published 2007-06-29 17:42 UTC
rendered paste body
Index: src/mangosd/Master.cpp
===================================================================
--- src/mangosd/Master.cpp	(revision 3973)
+++ src/mangosd/Master.cpp	(working copy)
@@ -60,6 +60,7 @@
 void Master::Run()
 {
     sLog.outString( "MaNGOS daemon %s", _FULLVERSION );
+    sLog.outString( "Revision %d", MANGOS_SVN_REVISION );
     sLog.outString( "<Ctrl-C> to stop.\n\n" );
 
     sLog.outTitle( "MM   MM         MM   MM  MMMMM   MMMM   MMMMM");
Index: src/shared/Common.h
===================================================================
--- src/shared/Common.h	(revision 3973)
+++ src/shared/Common.h	(working copy)
@@ -16,6 +16,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+
 #ifndef MANGOSSERVER_COMMON_H
 #define MANGOSSERVER_COMMON_H
 
@@ -49,6 +50,7 @@
 
 // must be the first thing to include for it to work
 #include "MemoryLeaks.h"
+#include "MangosRevision.h"
 
 #ifdef HAVE_CONFIG_H
 # include <config.h>
Index: win/VC80/shared.vcproj
===================================================================
--- win/VC80/shared.vcproj	(revision 3973)
+++ win/VC80/shared.vcproj	(working copy)
@@ -1,9 +1,10 @@
 <?xml version="1.0" encoding="Windows-1252"?>
 <VisualStudioProject
 	ProjectType="Visual C++"
-	Version="8.00"
+	Version="8,00"
 	Name="shared"
 	ProjectGUID="{90297C34-F231-4DF4-848E-A74BCC0E40ED}"
+	RootNamespace="shared"
 	>
 	<Platforms>
 		<Platform
@@ -25,6 +26,8 @@
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
+				Description="Extracting SVN Revision.."
+				CommandLine="cd ..\..\src\shared&#x0D;&#x0A;revision.exe"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
@@ -101,6 +104,8 @@
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
+				Description="Extracting SVN Revision.."
+				CommandLine="cd ..\..\src\shared&#x0D;&#x0A;revision.exe"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
@@ -602,6 +607,10 @@
 			>
 		</File>
 		<File
+			RelativePath="..\..\src\shared\MangosRevision.h"
+			>
+		</File>
+		<File
 			RelativePath="..\..\src\shared\SystemConfig.h.in"
 			>
 			<FileConfiguration