freebsd-ports/games/quake3/files/patch-code-unix-unix_shared.c
Edwin Groothuis cf1bd0756d New port: games/quake3 Quake III Arena -- first person shooter (native
Quake III Arena, developed by the gaming wizards at id
	Software, is the third installment of one of the most popular
	computer game franchises of all time. Organic caverns,
	gothic cathedrals and futuristic spacescapes play host to
	Quake III Arena's unrivaled blend of action, strategy and
	jaw-dropping technology as Linux gamers are invited to
	square off against 32 of history's greatest warriors. Built
	around a revolutionary new graphics engine capable of
	delivering mind blowing 3D special effects including curved
	surfaces and volumetric fog, Quake III Arena is the final
	word in deathmatching mayhem.

	This is a native build for FreeBSD. Sorry, no joystick
	support is available at this time.

PR:		ports/85429
Submitted by:	Linas Valiukas <shirshegsm@gmail.com>
2005-11-17 10:35:03 +00:00

45 lines
1.1 KiB
C

--- code/unix/unix_shared.c Tue Aug 16 02:10:07 2005
+++ ../../work/quake3-1.32b/code/unix/unix_shared.c Mon Aug 29 00:37:41 2005
@@ -38,7 +38,7 @@
static char cdPath[MAX_OSPATH];
// Used to determine local installation path
-static char installPath[MAX_OSPATH];
+static char installPath[MAX_OSPATH] = "##PREFIX##/lib/quake3"; // FreeBSD
// Used to determine where to store user-specific files
static char homePath[MAX_OSPATH];
@@ -76,7 +76,7 @@
return curtime;
}
-#if defined(__linux__) && !defined(DEDICATED)
+// #if defined(__linux__) && !defined(DEDICATED)
/*
================
Sys_XTimeToSysTime
@@ -98,11 +98,15 @@
{
int ret, time, test;
+ /*
+ Let's try to comment out this and see what will happen :-)
+
if (!in_subframe->value)
{
// if you don't want to do any event times corrections
return Sys_Milliseconds();
}
+ */
// test the wrap issue
#if 0
@@ -136,7 +140,7 @@
return ret;
}
-#endif
+// #endif
//#if 0 // bk001215 - see snapvector.nasm for replacement
#if (defined __APPLE__) // rcg010206 - using this for PPC builds...