diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-12-01 21:36:16 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-12-01 21:36:16 +0000 |
commit | 8d95c759cf6d9079507520555418706bc7c76d0e (patch) | |
tree | 711eecb843ed41ddfda4e933db274e18195e6ea9 /code | |
parent | e88d9dd4440391afba90e41b93b5438063e124b2 (diff) | |
download | ioquake3-aero-8d95c759cf6d9079507520555418706bc7c76d0e.tar.gz ioquake3-aero-8d95c759cf6d9079507520555418706bc7c76d0e.zip |
* Ditch Mac OS 9 support
git-svn-id: svn://svn.icculus.org/quake3/trunk@404 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code')
-rw-r--r-- | code/qcommon/q_platform.h | 18 | ||||
-rw-r--r-- | code/renderer/tr_backend.c | 22 | ||||
-rw-r--r-- | code/renderer/tr_init.c | 4 |
3 files changed, 0 insertions, 44 deletions
diff --git a/code/qcommon/q_platform.h b/code/qcommon/q_platform.h index 2fddaee..b7ac01f 100644 --- a/code/qcommon/q_platform.h +++ b/code/qcommon/q_platform.h @@ -114,24 +114,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #endif -//=================================================================== MAC === - -#ifdef __MACOS__ - -#include <MacTypes.h> - -#define OS_STRING "macos" -#define ID_INLINE inline -#define PATH_SEP ':' - -#define ARCH_STRING "ppc" - -void Sys_PumpEvents( void ); - -#define Q3_BIG_ENDIAN - -#endif - //================================================================= LINUX === #ifdef __linux__ diff --git a/code/renderer/tr_backend.c b/code/renderer/tr_backend.c index b8a07b4..6c93c14 100644 --- a/code/renderer/tr_backend.c +++ b/code/renderer/tr_backend.c @@ -526,15 +526,6 @@ void RB_RenderDrawSurfList( drawSurf_t *drawSurfs, int numDrawSurfs ) { drawSurf_t *drawSurf; int oldSort; float originalTime; -#ifdef __MACOS__ - int macEventTime; - - Sys_PumpEvents(); // crutch up the mac's limited buffer queue size - - // we don't want to pump the event loop too often and waste time, so - // we are going to check every shader change - macEventTime = ri.Milliseconds() + MAC_EVENT_PUMP_MSEC; -#endif // save original time for entity shader offsets originalTime = backEnd.refdef.floatTime; @@ -570,15 +561,6 @@ void RB_RenderDrawSurfList( drawSurf_t *drawSurfs, int numDrawSurfs ) { if (shader != oldShader || fogNum != oldFogNum || dlighted != oldDlighted || ( entityNum != oldEntityNum && !shader->entityMergable ) ) { if (oldShader != NULL) { -#ifdef __MACOS__ // crutch up the mac's limited buffer queue size - int t; - - t = ri.Milliseconds(); - if ( t > macEventTime ) { - macEventTime = t + MAC_EVENT_PUMP_MSEC; - Sys_PumpEvents(); - } -#endif RB_EndSurface(); } RB_BeginSurface( shader, fogNum ); @@ -664,10 +646,6 @@ void RB_RenderDrawSurfList( drawSurf_t *drawSurfs, int numDrawSurfs ) { // add light flares on lights that aren't obscured RB_RenderFlares(); - -#ifdef __MACOS__ - Sys_PumpEvents(); // crutch up the mac's limited buffer queue size -#endif } diff --git a/code/renderer/tr_init.c b/code/renderer/tr_init.c index ca0c26f..ffdd997 100644 --- a/code/renderer/tr_init.c +++ b/code/renderer/tr_init.c @@ -919,11 +919,7 @@ void R_Register( void ) r_finish = ri.Cvar_Get ("r_finish", "0", CVAR_ARCHIVE); r_textureMode = ri.Cvar_Get( "r_textureMode", "GL_LINEAR_MIPMAP_NEAREST", CVAR_ARCHIVE ); r_swapInterval = ri.Cvar_Get( "r_swapInterval", "0", CVAR_ARCHIVE ); -#ifdef __MACOS__ - r_gamma = ri.Cvar_Get( "r_gamma", "1.2", CVAR_ARCHIVE ); -#else r_gamma = ri.Cvar_Get( "r_gamma", "1", CVAR_ARCHIVE ); -#endif r_facePlaneCull = ri.Cvar_Get ("r_facePlaneCull", "1", CVAR_ARCHIVE ); r_railWidth = ri.Cvar_Get( "r_railWidth", "16", CVAR_ARCHIVE ); |