From 9df8a3bd4c2c66c8d481d55b5b6117ad4edc8ef1 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 29 May 2007 18:13:06 +0000 Subject: [PATCH] (svn r9978) -Release 0.5.2. --- Makefile | 9 +-------- network.c | 2 +- openttd.vcproj | 4 ++-- openttd_vs80.vcproj | 8 ++++---- 4 files changed, 8 insertions(+), 15 deletions(-) diff --git a/Makefile b/Makefile index 0a7337b3fc..8b2b7cb3f5 100644 --- a/Makefile +++ b/Makefile @@ -268,14 +268,7 @@ ENDIAN_CHECK=endian_check$(EXE) STRGEN=strgen/strgen$(EXE) OSXAPP="OpenTTD.app" -ifdef RELEASE -REV:=$(RELEASE) -else -ifeq ($(shell if test -d .svn; then echo 1; fi), 1) -REV_MODIFIED := $(shell svnversion . | sed -n 's/.*\(M\).*/\1/p' ) -REV := $(shell LC_ALL=C svn info | awk '/^URL:.*branch/ { BRANCH="-"a[split($$2, a, "/")] } /^Last Changed Rev:/ { REV="r"$$4"$(REV_MODIFIED)" } END { print REV BRANCH }') -endif -endif +REV := 0.5.2 # define flag to use for -lrt (some OSes overwrites this later for compatibility) ifndef LRT diff --git a/network.c b/network.c index bde0878627..3d92449a4d 100644 --- a/network.c +++ b/network.c @@ -7,7 +7,7 @@ extern const char _openttd_revision[]; #elif defined(WITH_REV_HACK) #define WITH_REV - const char _openttd_revision[] = WITH_REV_HACK; + const char _openttd_revision[] = "0.5.2"; #else const char _openttd_revision[] = NOREV_STRING; #endif diff --git a/openttd.vcproj b/openttd.vcproj index 932a5d4e41..58cab20ebd 100644 --- a/openttd.vcproj +++ b/openttd.vcproj @@ -28,7 +28,7 @@ FavorSizeOrSpeed="2" OmitFramePointers="TRUE" OptimizeForProcessor="1" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_EXCEPTION_TRACKER;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_PNG;WITH_FREETYPE;ENABLE_NETWORK" + PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_EXCEPTION_TRACKER;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_PNG;WITH_FREETYPE;ENABLE_NETWORK;WITH_REV_HACK" StringPooling="TRUE" ExceptionHandling="TRUE" RuntimeLibrary="0" @@ -101,7 +101,7 @@