tgmath: remove including tgmath.h in everything that uses xash3d_mathlib, as it's included already

This commit is contained in:
Alibek Omarov 2020-03-30 00:42:05 +03:00
parent 293b42b9d4
commit 4c6fd79f07
6 changed files with 0 additions and 19 deletions

View File

@ -15,9 +15,6 @@ GNU General Public License for more details.
#include "common.h"
#include "xash3d_mathlib.h"
#if HAVE_TGMATH_H
#include <tgmath.h>
#endif
//-----------------------------------------------------------------------------
// Gamma conversion support

View File

@ -21,9 +21,6 @@ GNU General Public License for more details.
#include <time.h>
#include "stdio.h"
#include "crtlib.h"
#if HAVE_TGMATH_H
#include <tgmath.h>
#endif
void Q_strnupr( const char *in, char *out, size_t size_out )
{

View File

@ -18,9 +18,6 @@ GNU General Public License for more details.
#include "com_model.h"
#include "xash3d_mathlib.h"
#include "eiface.h"
#if HAVE_TGMATH_H
#include <tgmath.h>
#endif
#define NUM_HULL_ROUNDS ARRAYSIZE( hull_table )
#define HULL_PRECISION 4

View File

@ -22,9 +22,6 @@ GNU General Public License for more details.
#include "cl_tent.h"
#include "pm_local.h"
#include "studio.h"
#if HAVE_TGMATH_H
#include <tgmath.h>
#endif
#define NOISE_DIVISIONS 64 // don't touch - many tripmines cause the crash when it equal 128

View File

@ -19,9 +19,6 @@ GNU General Public License for more details.
#include "beamdef.h"
#include "particledef.h"
#include "entity_types.h"
#if HAVE_TGMATH_H
#include <tgmath.h>
#endif
#define IsLiquidContents( cnt ) ( cnt == CONTENTS_WATER || cnt == CONTENTS_SLIME || cnt == CONTENTS_LAVA )

View File

@ -24,10 +24,6 @@ GNU General Public License for more details.
//#include "client.h"
#include "pmtrace.h"
#if HAVE_TGMATH_H
#include <tgmath.h>
#endif
#define EVENT_CLIENT 5000 // less than this value it's a server-side studio events
#define MAX_LOCALLIGHTS 4