Browse Source

Remove unneeded macros.

rebellion
Night Owl 7 years ago
parent
commit
e3f953064d
  1. 4
      dlls/enginecallback.h
  2. 5
      engine/custom.h
  3. 4
      engine/edict.h
  4. 5
      engine/progdefs.h
  5. 4
      pm_shared/pm_debug.h
  6. 5
      pm_shared/pm_defs.h
  7. 4
      pm_shared/pm_info.h
  8. 4
      pm_shared/pm_shared.h

4
dlls/enginecallback.h

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

5
engine/custom.h

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

4
engine/edict.h

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

5
engine/progdefs.h

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

4
pm_shared/pm_debug.h

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

5
pm_shared/pm_defs.h

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

4
pm_shared/pm_info.h

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

4
pm_shared/pm_shared.h

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

Loading…
Cancel
Save