New auto-module system

This commit is contained in:
David Anderson
2005-07-15 19:05:31 +00:00
parent b312da8c63
commit 74ec2e75b8
17 changed files with 56 additions and 6 deletions

View File

@ -10,6 +10,8 @@
#endif
#define _cstrike_included
#pragma library cstrike
/* Returns player deaths.
*/
native cs_get_user_deaths(index);

View File

@ -11,6 +11,8 @@
#include <csstats>
#pragma library csx
/*
* Forwards
*/

View File

@ -17,6 +17,8 @@
#endif
#define _dbi_included
#pragma library dbi
enum Sql
{
SQL_FAILED=0,

View File

@ -11,6 +11,8 @@
#include <dodconst>
#pragma library dodfun
/* Function is called after grenade throw */
forward grenade_throw(index,greindex,wId);

View File

@ -12,6 +12,8 @@
#include <dodconst>
#include <dodstats>
#pragma library dodx
/************* Shared Natives Start ********************************/
/* Forward types */

View File

@ -13,6 +13,8 @@
#include <engine_const>
#pragma library engine
native traceresult(type,{Float,Sql,Result,_}:...);
/* Registers a client impulse to a function. Function is passed the ID of the user. */

View File

@ -20,6 +20,8 @@
#include <esf_const>
#pragma library esfmod
/**************************
* Main functions *********
**************************/

View File

@ -9,6 +9,8 @@
#include <fakemeta_const>
#pragma library fakemeta
/* Returns entvar data from an entity Use the pev_* enum to specify which form of data you want returned. */
native pev(_index,_value,{Float,Sql,Result,_}:...)

View File

@ -10,6 +10,8 @@
#endif
#define _fun_included
#pragma library fun
/* Returns 1 if receiver hears sender via voice communication. */
native get_client_listen(receiver, sender);

View File

@ -8,6 +8,7 @@
#endif
#define _geoip_included
#pragma library geoip
//IP address can contain ports, the ports will be stripped out

View File

@ -9,6 +9,8 @@
#endif
#define NS_INC
#pragma library ns
#include <ns_const>

View File

@ -9,6 +9,8 @@
#endif
#define _regex_included
#pragma library regex
enum Regex
{
REGEX_MATCH_FAIL = -2,

View File

@ -13,6 +13,8 @@
#endif
#define _socket_included
#pragma library socket
// Use SOCKET_TCP for TCP Socket connections
#define SOCKET_TCP 1

View File

@ -12,6 +12,7 @@
#include <tfcconst>
#include <tfcstats>
#pragma library tfcx
/************* Shared Natives Start ********************************/

View File

@ -12,6 +12,8 @@
#include <tsconst>
#include <tsstats>
#pragma library tsx
/************* Shared Natives Start ********************************/
/* Forward types */