mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-10 06:31:56 +00:00
QW compiles again..
This commit is contained in:
parent
5765f7fe5d
commit
1058a4cdd7
4 changed files with 8 additions and 8 deletions
|
@ -663,9 +663,10 @@ void Draw_ConsoleBackground (int lines)
|
|||
dest = conback->data + 320 + 320*186 - 11 - 8*strlen(ver);
|
||||
} else {
|
||||
#if defined(__linux__)
|
||||
sprintf (ver, "Linux (%4.2f) QuakeWorld %4.2f", LINUX_VERSION, VERSION);
|
||||
//sprintf (ver, "Linux (%4.2f) QuakeWorld %4.2f", LINUX_VERSION, VERSION);
|
||||
sprintf (ver, "QuakeForge (Linux QuakeWorld) Version %4.2f", VERSION);
|
||||
#else
|
||||
sprintf (ver, "QuakeWorld %4.2f", VERSION);
|
||||
sprintf (ver, "QuakeForge (QuakeWorld) %4.2f", VERSION);
|
||||
#endif
|
||||
dest = conback->data + 320 - (strlen(ver)*8 + 11) + 320*186;
|
||||
}
|
||||
|
|
|
@ -789,9 +789,9 @@ void Draw_ConsoleBackground (int lines)
|
|||
y = lines-14;
|
||||
if (!cls.download) {
|
||||
#ifdef __linux__
|
||||
sprintf (ver, "LinuxGL (%4.2f) QuakeWorld", LINUX_VERSION);
|
||||
sprintf (ver, "QuakeForge (LinuxGL QuakeWorld) %4.2f", VERSION);
|
||||
#else
|
||||
sprintf (ver, "GL (%4.2f) QuakeWorld", GLQUAKE_VERSION);
|
||||
sprintf (ver, "QuakeForge (GL QuakeWorld) %4.2f", VERSION);
|
||||
#endif
|
||||
x = vid.conwidth - (strlen(ver)*8 + 11) - (vid.conwidth*8/320)*7;
|
||||
for (i=0 ; i<strlen(ver) ; i++)
|
||||
|
|
|
@ -20,12 +20,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
// defs common to client and server
|
||||
|
||||
#define GLQUAKE_VERSION 1.00
|
||||
#define VERSION 2.40
|
||||
#define LINUX_VERSION 0.98
|
||||
|
||||
|
||||
#if (defined(_M_IX86) || defined(__i386__)) && !defined(id386)
|
||||
#if (defined(_M_IX86) || defined(__i386__))
|
||||
#define id386 1
|
||||
#else
|
||||
#define id386 0
|
||||
|
|
|
@ -19,6 +19,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
*/
|
||||
// comndef.h -- general definitions
|
||||
|
||||
#include <bothdefs.h>
|
||||
|
||||
typedef unsigned char byte;
|
||||
#define _DEF_BYTE_
|
||||
|
||||
|
|
Loading…
Reference in a new issue