mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-11 07:37:52 +00:00
ref: soft: minimize dependency on internal engine headers
This commit is contained in:
parent
327eb330ed
commit
fe9f3f78a0
@ -19,9 +19,8 @@ GNU General Public License for more details.
|
||||
#include "entity_types.h"
|
||||
#include "triangleapi.h"
|
||||
#include "customentity.h"
|
||||
#include "cl_tent.h"
|
||||
#include "pm_local.h"
|
||||
|
||||
#include "triangleapi.h"
|
||||
#include "studio.h"
|
||||
|
||||
#define NOISE_DIVISIONS 64 // don't touch - many tripmines cause the crash when it equal 128
|
||||
|
@ -14,7 +14,6 @@ GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include "r_local.h"
|
||||
//#include "cl_tent.h"
|
||||
|
||||
#define DECAL_OVERLAP_DISTANCE 2
|
||||
#define DECAL_DISTANCE 4 // too big values produce more clipped polygons
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "r_local.h"
|
||||
#define APIENTRY_LINKAGE static
|
||||
#include "../ref_gl/gl_export.h"
|
||||
#include "../gl/gl_export.h"
|
||||
|
||||
struct swblit_s
|
||||
{
|
||||
|
@ -670,6 +670,7 @@ void TriEnd( void );
|
||||
void TriTexCoord2f( float u, float v );
|
||||
void TriVertex3fv( const float *v );
|
||||
void TriVertex3f( float x, float y, float z );
|
||||
void TriColor4f( float r, float g, float b, float a );
|
||||
void _TriColor4f( float r, float g, float b, float a );
|
||||
void TriColor4ub( byte r, byte g, byte b, byte a );
|
||||
void _TriColor4ub( byte r, byte g, byte b, byte a );
|
||||
|
@ -19,7 +19,6 @@ GNU General Public License for more details.
|
||||
#include "entity_types.h"
|
||||
#include "triangleapi.h"
|
||||
#include "pm_local.h"
|
||||
#include "cl_tent.h"
|
||||
#include "studio.h"
|
||||
|
||||
static float gTracerSize[11] = { 1.5f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f };
|
||||
|
@ -18,7 +18,6 @@ GNU General Public License for more details.
|
||||
#include "sprite.h"
|
||||
#include "studio.h"
|
||||
#include "entity_types.h"
|
||||
//#include "cl_tent.h"
|
||||
|
||||
// it's a Valve default value for LoadMapSprite (probably must be power of two)
|
||||
#define MAPSPRITE_SIZE 128
|
||||
|
@ -20,8 +20,6 @@ GNU General Public License for more details.
|
||||
#include "triangleapi.h"
|
||||
#include "studio.h"
|
||||
#include "pm_local.h"
|
||||
//#include "cl_tent.h"
|
||||
//#include "client.h"
|
||||
#include "pmtrace.h"
|
||||
|
||||
#define EVENT_CLIENT 5000 // less than this value it's a server-side studio events
|
||||
|
Loading…
Reference in New Issue
Block a user