Browse Source

Fix build again.

aghl
Night Owl 8 years ago
parent
commit
7370037add
  1. 6
      cl_dll/aghl/agglobal.h
  2. 2
      cl_dll/cdll_int.cpp
  3. 2
      dlls/squeakgrenade.cpp
  4. 1
      dlls/teamplay_gamerules.h
  5. 8
      ministl/defalloc.h

6
cl_dll/aghl/agglobal.h

@ -18,8 +18,12 @@
#define NOWINRES #define NOWINRES
#define NOIME #define NOIME
#define _WIN32_WINNT 0x0400 #define _WIN32_WINNT 0x0400
#ifdef _WIN32
#include <windows.h> #include <windows.h>
#else
#include <limits.h>
#define MAX_PATH PATH_MAX
#endif
#define _bool_h 1 #define _bool_h 1
#include <ministl/string> #include <ministl/string>
#include <ministl/list> #include <ministl/list>

2
cl_dll/cdll_int.cpp

@ -22,7 +22,7 @@
#include "cl_util.h" #include "cl_util.h"
#include "netadr.h" #include "netadr.h"
//++ BulliT //++ BulliT
#include "agvariableChecker.h" #include "agvariablechecker.h"
#include "agglobal.h" #include "agglobal.h"
//#include "irc.h" //#include "irc.h"
#include "agwallhack.h" #include "agwallhack.h"

2
dlls/squeakgrenade.cpp

@ -118,7 +118,7 @@ void CSqueakGrenade::Spawn( void )
if( SGBOW == AgGametype() ) if( SGBOW == AgGametype() )
{ {
//Spawn crossbow instead. //Spawn crossbow instead.
CBaseEntity *pNewWeapon = CBaseEntity::Create( "weapon_crossbow", g_pGameRules->VecWeaponRespawnSpot( this ), pev->angles, pev->owner ); //CBaseEntity *pNewWeapon = CBaseEntity::Create( "weapon_crossbow", g_pGameRules->VecWeaponRespawnSpot( this ), pev->angles, pev->owner );
return; return;
} }
#endif #endif

1
dlls/teamplay_gamerules.h

@ -62,3 +62,4 @@ private:
BOOL m_teamLimit; // This means the server set only some teams as valid BOOL m_teamLimit; // This means the server set only some teams as valid
char m_szTeamList[TEAMPLAY_TEAMLISTLENGTH]; char m_szTeamList[TEAMPLAY_TEAMLISTLENGTH];
}; };
#endif

8
ministl/defalloc.h

@ -72,12 +72,12 @@ static inline void destroy(long**, long**) {}
static inline void destroy(unsigned long**, unsigned long**) {} static inline void destroy(unsigned long**, unsigned long**) {}
static inline void destroy(float**, float**) {} static inline void destroy(float**, float**) {}
static inline void destroy(double**, double**) {} static inline void destroy(double**, double**) {}
/*
#if defined (__GNUG__) #if defined (__GNUG__)
static inline void *operator new(size_t, void *place) { return place; } static inline void *operator new(size_t, void *place) { return place; }
static inline void *operator new[](size_t, void *place) { return place; } static inline void *operator new[](size_t, void *place) { return place; }
#else #else*/
#include <new.h> #include <new>
#endif //#endif
#endif #endif

Loading…
Cancel
Save