r404 - in trunk: code/qcommon code/renderer web/include

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Dec 1 16:36:16 EST 2005


Author: tma
Date: 2005-12-01 16:36:16 -0500 (Thu, 01 Dec 2005)
New Revision: 404

Modified:
   trunk/code/qcommon/q_platform.h
   trunk/code/renderer/tr_backend.c
   trunk/code/renderer/tr_init.c
   trunk/web/include/status.php
Log:
* Ditch Mac OS 9 support


Modified: trunk/code/qcommon/q_platform.h
===================================================================
--- trunk/code/qcommon/q_platform.h	2005-12-01 21:32:01 UTC (rev 403)
+++ trunk/code/qcommon/q_platform.h	2005-12-01 21:36:16 UTC (rev 404)
@@ -114,24 +114,6 @@
 
 #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__

Modified: trunk/code/renderer/tr_backend.c
===================================================================
--- trunk/code/renderer/tr_backend.c	2005-12-01 21:32:01 UTC (rev 403)
+++ trunk/code/renderer/tr_backend.c	2005-12-01 21:36:16 UTC (rev 404)
@@ -526,16 +526,7 @@
 	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 @@
 		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 @@
 
 	// 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
 }
 
 

Modified: trunk/code/renderer/tr_init.c
===================================================================
--- trunk/code/renderer/tr_init.c	2005-12-01 21:32:01 UTC (rev 403)
+++ trunk/code/renderer/tr_init.c	2005-12-01 21:36:16 UTC (rev 404)
@@ -919,11 +919,7 @@
 	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 );

Modified: trunk/web/include/status.php
===================================================================
--- trunk/web/include/status.php	2005-12-01 21:32:01 UTC (rev 403)
+++ trunk/web/include/status.php	2005-12-01 21:36:16 UTC (rev 404)
@@ -67,13 +67,6 @@
 		<td>Client has severe graphical glitches.</td> <!--Notes-->
 	</tr>
 	<tr>
-		<td scope="row">Max OS 9</td> <!--OS-->
-		<td>codewarrior?</td> <!--Platform-->
-		<td>broken</td> <!--Status-->
-		<td></td> <!--LKWR-->
-		<td>Getting dropped unless anybody objects soon.</td> <!--Notes-->
-	</tr>
-	<tr>
 		<td scope="row">FreeBSD</td> <!--OS-->
 		<td>gcc-x86</td> <!--Platform-->
 		<td>working</td> <!--Status-->




More information about the quake3-commits mailing list