From b4d5da7d796533ac045ac3f7291e04a59457e140 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Thu, 21 Dec 2006 22:18:08 +0000 Subject: [PATCH] (svn r7538) Release 0.5.0-RC1 --- 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 d5ffa33412..25b5236707 100644 --- a/Makefile +++ b/Makefile @@ -269,14 +269,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.0-RC1 # define flag to use for -lrt (some OSes overwrites this later for compatibility) ifndef LRT diff --git a/network.c b/network.c index 73d7e7a0ad..b08d600411 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.0-RC1"; #else const char _openttd_revision[] = NOREV_STRING; #endif diff --git a/openttd.vcproj b/openttd.vcproj index c044a60eed..ca8229cd76 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 @@