Remove unneeded macros.

This commit is contained in:
Night Owl 2017-07-25 13:24:06 +05:00
parent f14d7cc552
commit e3f953064d
8 changed files with 0 additions and 35 deletions

View File

@ -15,11 +15,7 @@
#ifndef ENGINECALLBACK_H #ifndef ENGINECALLBACK_H
#define ENGINECALLBACK_H #define ENGINECALLBACK_H
#ifdef _WIN32
#ifndef __MINGW32__
#pragma once #pragma once
#endif /* not __MINGW32__ */
#endif
#include "event_flags.h" #include "event_flags.h"

View File

@ -12,15 +12,10 @@
* without written permission from Valve LLC. * without written permission from Valve LLC.
* *
****/ ****/
#ifndef CUSTOM_H #ifndef CUSTOM_H
#define CUSTOM_H #define CUSTOM_H
#ifdef _WIN32
#ifndef __MINGW32__
#pragma once #pragma once
#endif /* not __MINGW32__ */
#endif
#include "const.h" #include "const.h"

View File

@ -16,11 +16,7 @@
#ifndef EDICT_H #ifndef EDICT_H
#define EDICT_H #define EDICT_H
#ifdef _WIN32
#ifndef __MINGW32__
#pragma once #pragma once
#endif /* not __MINGW32__ */
#endif
#define MAX_ENT_LEAFS 48 #define MAX_ENT_LEAFS 48

View File

@ -12,15 +12,10 @@
* without written permission from Valve LLC. * without written permission from Valve LLC.
* *
****/ ****/
#ifndef PROGDEFS_H #ifndef PROGDEFS_H
#define PROGDEFS_H #define PROGDEFS_H
#ifdef _WIN32
#ifndef __MINGW32__
#pragma once #pragma once
#endif /* not __MINGW32__ */
#endif
typedef struct typedef struct
{ {

View File

@ -15,11 +15,7 @@
#ifndef PM_DEBUG_H #ifndef PM_DEBUG_H
#define PM_DEBUG_H #define PM_DEBUG_H
#ifdef _WIN32
#ifndef __MINGW32__
#pragma once #pragma once
#endif /* not __MINGW32__ */
#endif
void PM_ViewEntity( void ); void PM_ViewEntity( void );
void PM_DrawBBox( vec3_t mins, vec3_t maxs, vec3_t origin, int pcolor, float life ); void PM_DrawBBox( vec3_t mins, vec3_t maxs, vec3_t origin, int pcolor, float life );

View File

@ -12,15 +12,10 @@
* without written permission from Valve LLC. * without written permission from Valve LLC.
* *
****/ ****/
#ifndef PM_DEFS_H #ifndef PM_DEFS_H
#define PM_DEFS_H #define PM_DEFS_H
#ifdef _WIN32
#ifndef __MINGW32__
#pragma once #pragma once
#endif /* not __MINGW32__ */
#endif
#define MAX_PHYSENTS 600 // Must have room for all entities in the world. #define MAX_PHYSENTS 600 // Must have room for all entities in the world.
#define MAX_MOVEENTS 64 #define MAX_MOVEENTS 64

View File

@ -15,11 +15,7 @@
#ifndef PM_INFO_H #ifndef PM_INFO_H
#define PM_INFO_H #define PM_INFO_H
#ifdef _WIN32
#ifndef __MINGW32__
#pragma once #pragma once
#endif /* not __MINGW32__ */
#endif
#define MAX_PHYSINFO_STRING 256 #define MAX_PHYSINFO_STRING 256
#endif//PM_INFO_H #endif//PM_INFO_H

View File

@ -16,11 +16,7 @@
#ifndef PM_SHARED_H #ifndef PM_SHARED_H
#define PM_SHARED_H #define PM_SHARED_H
#ifdef _WIN32
#ifndef __MINGW32__
#pragma once #pragma once
#endif /* not __MINGW32__ */
#endif
void PM_Init( struct playermove_s *ppmove ); void PM_Init( struct playermove_s *ppmove );
void PM_Move( struct playermove_s *ppmove, int server ); void PM_Move( struct playermove_s *ppmove, int server );