mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-02-16 16:51:16 +00:00
fixed VERSION not getting defined/used properly hopefully once and for all
This commit is contained in:
parent
81121d7d44
commit
4a291f544e
4 changed files with 8 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
/* Version string */
|
||||
#define VERSION "0.1.0-pre"
|
||||
#undef VERSION
|
||||
|
||||
/* Define if you have the XFree86 DGA extension */
|
||||
#undef HAS_DGA
|
||||
|
|
|
@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
|
|||
AC_INIT(common/crc.h)
|
||||
|
||||
# Version of this release
|
||||
QF_VERSION="0.1.0"
|
||||
AC_DEFINE(VERSION,"0.1.0-pre")
|
||||
|
||||
AC_CANONICAL_SYSTEM
|
||||
AC_LANG_C
|
||||
|
@ -414,7 +414,6 @@ AC_OBJEXT
|
|||
# Output files
|
||||
#
|
||||
|
||||
AC_DEFINE_UNQUOTED(VERSION,"$QF_VERSION")
|
||||
AC_CONFIG_HEADER(common/config.h)
|
||||
AC_OUTPUT(qw_client/Makefile qw_server/Makefile uquake/Makefile Makefile)
|
||||
|
||||
|
|
|
@ -549,17 +549,17 @@ void Draw_ConsoleBackground (int lines)
|
|||
|
||||
// hack the version number directly into the pic
|
||||
#ifdef _WIN32
|
||||
sprintf (ver, "QuakeForge (WinUQuake) v" VERSION);
|
||||
sprintf (ver, "QuakeForge (WinUQuake) v%s" VERSION);
|
||||
dest = conback->data + 320*186 + 320 - 11 - 8*strlen(ver);
|
||||
#elif defined(X11)
|
||||
sprintf (ver, "QuakeForge (X11 UQuake) v" VERSION);
|
||||
sprintf (ver, "QuakeForge (X11 UQuake) v%s" VERSION);
|
||||
dest = conback->data + 320*186 + 320 - 11 - 8*strlen(ver);
|
||||
#elif defined(__linux__)
|
||||
sprintf (ver, "QuakeForge (Linux UQuake) v" VERSION);
|
||||
sprintf (ver, "QuakeForge (Linux UQuake) v%s" VERSION);
|
||||
dest = conback->data + 320*186 + 320 - 11 - 8*strlen(ver);
|
||||
#else
|
||||
dest = conback->data + 320 - 43 + 320*186;
|
||||
sprintf (ver, "QuakeForge (Unknown UQuake) v" VERSION);
|
||||
sprintf (ver, "QuakeForge (Unknown UQuake) v%s" VERSION);
|
||||
#endif
|
||||
|
||||
for (x=0 ; x<strlen(ver) ; x++)
|
||||
|
|
|
@ -410,9 +410,9 @@ void Draw_Init (void)
|
|||
|
||||
// hack the version number directly into the pic
|
||||
#if defined(__linux__)
|
||||
sprintf (ver, "QuakeForge (Linux GL) v", VERSION);
|
||||
sprintf (ver, "QuakeForge (Linux GL) v%s", VERSION);
|
||||
#else
|
||||
sprintf (ver, "QuakeForge (Unkown GL) v", VERSION);
|
||||
sprintf (ver, "QuakeForge (Unkown GL) v%s", VERSION);
|
||||
#endif
|
||||
dest = cb->data + 320*186 + 320 - 11 - 8*strlen(ver);
|
||||
y = strlen(ver);
|
||||
|
|
Loading…
Reference in a new issue