mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
* ...and the other common headers
This commit is contained in:
parent
bc9ee5644b
commit
556b3307c5
3 changed files with 16 additions and 0 deletions
|
@ -58,8 +58,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
//Ignore __attribute__ on non-gcc platforms
|
//Ignore __attribute__ on non-gcc platforms
|
||||||
#ifndef __GNUC__
|
#ifndef __GNUC__
|
||||||
|
#ifndef __attribute__
|
||||||
#define __attribute__(x)
|
#define __attribute__(x)
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
VM Considerations
|
VM Considerations
|
||||||
|
|
|
@ -25,6 +25,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#include "../qcommon/cm_public.h"
|
#include "../qcommon/cm_public.h"
|
||||||
|
|
||||||
|
//Ignore __attribute__ on non-gcc platforms
|
||||||
|
#ifndef __GNUC__
|
||||||
|
#ifndef __attribute__
|
||||||
|
#define __attribute__(x)
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
//#define PRE_RELEASE_DEMO
|
//#define PRE_RELEASE_DEMO
|
||||||
|
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
|
@ -27,6 +27,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
// This file must be identical in the quake and utils directories
|
// This file must be identical in the quake and utils directories
|
||||||
//
|
//
|
||||||
|
|
||||||
|
//Ignore __attribute__ on non-gcc platforms
|
||||||
|
#ifndef __GNUC__
|
||||||
|
#ifndef __attribute__
|
||||||
|
#define __attribute__(x)
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// surface geometry should not exceed these limits
|
// surface geometry should not exceed these limits
|
||||||
#define SHADER_MAX_VERTEXES 1000
|
#define SHADER_MAX_VERTEXES 1000
|
||||||
#define SHADER_MAX_INDEXES (6*SHADER_MAX_VERTEXES)
|
#define SHADER_MAX_INDEXES (6*SHADER_MAX_VERTEXES)
|
||||||
|
|
Loading…
Reference in a new issue