mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-11 15:47:55 +00:00
tgmath: remove including tgmath.h in everything that uses xash3d_mathlib, as it's included already
This commit is contained in:
parent
293b42b9d4
commit
4c6fd79f07
@ -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
|
||||
|
@ -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 )
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 )
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user