Browse Source

ref: gl: minimize dependency on internal engine headers

pull/2/head
Alibek Omarov 2 years ago
parent
commit
327eb330ed
  1. 1
      ref/gl/gl_beams.c
  2. 1
      ref/gl/gl_decals.c
  3. 1
      ref/gl/gl_rpart.c
  4. 1
      ref/gl/gl_sprite.c
  5. 2
      ref/gl/gl_studio.c

1
ref/gl/gl_beams.c

@ -19,7 +19,6 @@ GNU General Public License for more details. @@ -19,7 +19,6 @@ 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 "studio.h"

1
ref/gl/gl_decals.c

@ -14,7 +14,6 @@ GNU General Public License for more details. @@ -14,7 +14,6 @@ GNU General Public License for more details.
*/
#include "gl_local.h"
#include "cl_tent.h"
#define DECAL_OVERLAP_DISTANCE 2
#define DECAL_DISTANCE 4 // too big values produce more clipped polygons

1
ref/gl/gl_rpart.c

@ -19,7 +19,6 @@ GNU General Public License for more details. @@ -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 };

1
ref/gl/gl_sprite.c

@ -18,7 +18,6 @@ GNU General Public License for more details. @@ -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

2
ref/gl/gl_studio.c

@ -20,8 +20,6 @@ GNU General Public License for more details. @@ -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…
Cancel
Save