Remove version checks from all include files
This commit is contained in:
parent
af6c6850ec
commit
379d9121b4
|
@ -12,17 +12,13 @@
|
|||
//
|
||||
|
||||
#if defined _cstrike_included
|
||||
#endinput
|
||||
#endinput
|
||||
#endif
|
||||
#define _cstrike_included
|
||||
|
||||
#if AMXX_VERSION_NUM >= 175
|
||||
#pragma reqlib cstrike
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib cstrike
|
||||
#endif
|
||||
#else
|
||||
#pragma library cstrike
|
||||
#pragma reqlib cstrike
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib cstrike
|
||||
#endif
|
||||
|
||||
/* Returns player deaths.
|
||||
|
|
|
@ -12,19 +12,15 @@
|
|||
//
|
||||
|
||||
#if defined _csx_included
|
||||
#endinput
|
||||
#endinput
|
||||
#endif
|
||||
#define _csx_included
|
||||
|
||||
#include <csstats>
|
||||
|
||||
#if AMXX_VERSION_NUM >= 175
|
||||
#pragma reqclass xstats
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma defclasslib xstats csx
|
||||
#endif
|
||||
#else
|
||||
#pragma library csx
|
||||
#pragma reqclass xstats
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma defclasslib xstats csx
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
//
|
||||
|
||||
#if defined _dbi_included
|
||||
#endinput
|
||||
#endinput
|
||||
#endif
|
||||
#define _dbi_included
|
||||
|
||||
|
@ -34,11 +34,7 @@
|
|||
// there's really no reason to anyway.
|
||||
#assert !defined _sqlx_included
|
||||
|
||||
#if AMXX_VERSION_NUM >= 175
|
||||
#pragma reqclass dbi
|
||||
#else
|
||||
#pragma library dbi
|
||||
#endif
|
||||
#pragma reqclass dbi
|
||||
|
||||
enum Sql
|
||||
{
|
||||
|
|
|
@ -12,19 +12,15 @@
|
|||
//
|
||||
|
||||
#if defined _dodfun_included
|
||||
#endinput
|
||||
#endinput
|
||||
#endif
|
||||
#define _dodfun_included
|
||||
|
||||
#include <dodconst>
|
||||
|
||||
#if AMXX_VERSION_NUM >= 175
|
||||
#pragma reqlib dodfun
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib dodfun
|
||||
#endif
|
||||
#else
|
||||
#pragma library dodfun
|
||||
#pragma reqlib dodfun
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib dodfun
|
||||
#endif
|
||||
|
||||
/* Function is called after grenade throw */
|
||||
|
|
|
@ -12,20 +12,16 @@
|
|||
//
|
||||
|
||||
#if defined _dodx_included
|
||||
#endinput
|
||||
#endinput
|
||||
#endif
|
||||
#define _dodx_included
|
||||
|
||||
#include <dodconst>
|
||||
#include <dodstats>
|
||||
|
||||
#if AMXX_VERSION_NUM >= 175
|
||||
#pragma reqclass xstats
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma defclasslib xstats dodx
|
||||
#endif
|
||||
#else
|
||||
#pragma library dodx
|
||||
#pragma reqclass xstats
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma defclasslib xstats dodx
|
||||
#endif
|
||||
|
||||
/************* Shared Natives Start ********************************/
|
||||
|
|
|
@ -13,19 +13,15 @@
|
|||
//
|
||||
|
||||
#if defined _engine_included
|
||||
#endinput
|
||||
#endinput
|
||||
#endif
|
||||
#define _engine_included
|
||||
|
||||
#include <engine_const>
|
||||
|
||||
#if AMXX_VERSION_NUM >= 175
|
||||
#pragma reqlib engine
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib engine
|
||||
#endif
|
||||
#else
|
||||
#pragma library engine
|
||||
#pragma reqlib engine
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib engine
|
||||
#endif
|
||||
|
||||
native traceresult(type,any:...);
|
||||
|
|
|
@ -18,13 +18,9 @@
|
|||
|
||||
#include <fakemeta_const>
|
||||
|
||||
#if AMXX_VERSION_NUM >= 175
|
||||
#pragma reqlib fakemeta
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib fakemeta
|
||||
#endif
|
||||
#else
|
||||
#pragma library fakemeta
|
||||
#pragma reqlib fakemeta
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib fakemeta
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
@ -12,17 +12,13 @@
|
|||
//
|
||||
|
||||
#if defined _fun_included
|
||||
#endinput
|
||||
#endinput
|
||||
#endif
|
||||
#define _fun_included
|
||||
|
||||
#if AMXX_VERSION_NUM >= 175
|
||||
#pragma reqlib fun
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib fun
|
||||
#endif
|
||||
#else
|
||||
#pragma library fun
|
||||
#pragma reqlib fun
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib fun
|
||||
#endif
|
||||
|
||||
/* Returns 1 if receiver hears sender via voice communication. */
|
||||
|
|
|
@ -16,13 +16,9 @@
|
|||
#endif
|
||||
#define _geoip_included
|
||||
|
||||
#if AMXX_VERSION_NUM >= 175
|
||||
#pragma reqlib geoip
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib geoip
|
||||
#endif
|
||||
#else
|
||||
#pragma library geoip
|
||||
#pragma reqlib geoip
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib geoip
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
@ -27,13 +27,9 @@
|
|||
|
||||
#include <ham_const>
|
||||
|
||||
#if AMXX_VERSION_NUM >= 175
|
||||
#pragma reqlib hamsandwich
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib hamsandwich
|
||||
#endif
|
||||
#else
|
||||
#pragma library hamsandwich
|
||||
#pragma reqlib hamsandwich
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib hamsandwich
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
@ -16,17 +16,11 @@
|
|||
#endif
|
||||
#define NS_INC
|
||||
|
||||
#if AMXX_VERSION_NUM >= 175
|
||||
#pragma reqlib ns
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib ns
|
||||
#endif
|
||||
#else
|
||||
#pragma library ns
|
||||
#pragma reqlib ns
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib ns
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#include <ns_const>
|
||||
|
||||
|
||||
|
|
|
@ -12,17 +12,13 @@
|
|||
//
|
||||
|
||||
#if defined _nvault_included
|
||||
#endinput
|
||||
#endinput
|
||||
#endif
|
||||
#define _nvault_included
|
||||
|
||||
#if AMXX_VERSION_NUM >= 175
|
||||
#pragma reqlib nvault
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib nvault
|
||||
#endif
|
||||
#else
|
||||
#pragma library nvault
|
||||
#pragma reqlib nvault
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib nvault
|
||||
#endif
|
||||
|
||||
/* All timestamps are in UNIX epoch form. */
|
||||
|
|
|
@ -16,13 +16,9 @@
|
|||
#endif
|
||||
#define _regex_included
|
||||
|
||||
#if AMXX_VERSION_NUM >= 175
|
||||
#pragma reqlib regex
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib regex
|
||||
#endif
|
||||
#else
|
||||
#pragma library regex
|
||||
#pragma reqlib regex
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib regex
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -19,13 +19,9 @@
|
|||
#endif
|
||||
#define _socket_included
|
||||
|
||||
#if AMXX_VERSION_NUM >= 175
|
||||
#pragma reqlib sockets
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib sockets
|
||||
#endif
|
||||
#else
|
||||
#pragma library socket
|
||||
#pragma reqlib sockets
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib sockets
|
||||
#endif
|
||||
|
||||
// Use SOCKET_TCP for TCP Socket connections
|
||||
|
|
|
@ -12,19 +12,17 @@
|
|||
//
|
||||
|
||||
#if defined _sqlx_included
|
||||
#endinput
|
||||
#endinput
|
||||
#endif
|
||||
#define _sqlx_included
|
||||
|
||||
//eh..
|
||||
#define SQL_NumRows SQL_NumResults
|
||||
|
||||
#if AMXX_VERSION_NUM >= 175
|
||||
#pragma reqclass sqlx
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma defclasslib sqlx mysql
|
||||
#endif //!defined AMXMODX_NOAUTOLOAD
|
||||
#endif //AMXX_VERSION_NUM
|
||||
#pragma reqclass sqlx
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma defclasslib sqlx mysql
|
||||
#endif
|
||||
|
||||
enum Handle
|
||||
{
|
||||
|
|
|
@ -12,20 +12,16 @@
|
|||
//
|
||||
|
||||
#if defined _tfcx_included
|
||||
#endinput
|
||||
#endinput
|
||||
#endif
|
||||
#define _tfcx_included
|
||||
|
||||
#include <tfcconst>
|
||||
#include <tfcstats>
|
||||
|
||||
#if AMXX_VERSION_NUM >= 175
|
||||
#pragma reqclass xstats
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma defclasslib xstats tfcx
|
||||
#endif
|
||||
#else
|
||||
#pragma library tfcx
|
||||
#pragma reqclass xstats
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma defclasslib xstats tfcx
|
||||
#endif
|
||||
|
||||
/************* Shared Natives Start ********************************/
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
//
|
||||
|
||||
#if defined _tsxfun_included
|
||||
#endinput
|
||||
#endinput
|
||||
#endif
|
||||
#define _tsxfun_included
|
||||
|
||||
|
@ -27,13 +27,9 @@ enum {
|
|||
XMF_DEATH,
|
||||
};
|
||||
|
||||
#if AMXX_VERSION_NUM >= 175
|
||||
#pragma reqlib tsfun
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib tsfun
|
||||
#endif
|
||||
#else
|
||||
#pragma library tsfun
|
||||
#pragma reqlib tsfun
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib tsfun
|
||||
#endif
|
||||
|
||||
/************* Shared Natives End ********************************/
|
||||
|
|
|
@ -12,19 +12,15 @@
|
|||
//
|
||||
|
||||
#if defined _tsx_included
|
||||
#endinput
|
||||
#endinput
|
||||
#endif
|
||||
#define _tsx_included
|
||||
|
||||
#include <tsstats>
|
||||
|
||||
#if AMXX_VERSION_NUM >= 175
|
||||
#pragma reqclass xstats
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma defclasslib xstats tsx
|
||||
#endif
|
||||
#else
|
||||
#pragma library tsx
|
||||
#pragma reqclass xstats
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma defclasslib xstats tsx
|
||||
#endif
|
||||
|
||||
/************* Shared Natives Start ********************************/
|
||||
|
|
Loading…
Reference in New Issue
Block a user