I apologise for the error in the earlier code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@692 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
c3886a301b
commit
1d1dd11bdf
3 changed files with 10 additions and 3 deletions
|
@ -112,6 +112,13 @@ qboolean Cam_DrawPlayer(int pnum, int playernum)
|
|||
return true;
|
||||
}
|
||||
|
||||
int Cam_TrackNum(int pnum)
|
||||
{
|
||||
if (!autocam[pnum])
|
||||
return -1;
|
||||
return spec_track[pnum];
|
||||
}
|
||||
|
||||
void Cam_Unlock(int pnum)
|
||||
{
|
||||
if (autocam[pnum])
|
||||
|
|
|
@ -19,6 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
*/
|
||||
// quakedef.h -- primary header for client
|
||||
|
||||
#include "bothdefs.h" //first thing included by ALL files.
|
||||
|
||||
|
||||
#if _MSC_VER
|
||||
|
@ -101,7 +102,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "bothdefs.h" //we need to know if png is available
|
||||
#if defined(AVAIL_PNGLIB) && defined(PNG_SUCKS_WITH_SETJMP)
|
||||
#include <png.h>
|
||||
#else
|
||||
|
|
|
@ -171,7 +171,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
//remove any options that depend upon GL.
|
||||
#ifndef SERVERONLY
|
||||
#if defined(SWQUAKE) && !defined(RGLQUAKE) && !defined(GLQUAKE)
|
||||
#if defined(SWQUAKE) && !defined(GLQUAKE)
|
||||
#undef DOOMWADS
|
||||
#undef HALFLIFEMODELS
|
||||
#undef Q3BSPS
|
||||
|
@ -180,7 +180,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#if !defined(RGLQUAKE)
|
||||
#if !defined(GLQUAKE)
|
||||
#undef Q3BSPS
|
||||
#endif
|
||||
#if !defined(Q3BSPS)
|
||||
|
|
Loading…
Reference in a new issue