Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

/home/groups/n/no/noxwizard/cvs/src/amx/amxcback.cpp File Reference

#include "nxwcommn.h"
#include "amxcback.h"
#include "sndpkg.h"
#include "itemid.h"
#include "items.h"
#include "chars.h"
#include "client.h"
#include "network.h"
#include "race.h"

Defines

#define MAXSTRLEN   50

Functions

bool checkItemUsability (P_CHAR pc, P_ITEM pi, int type)
 wrap for check usability

void initAmxEvents (void)
 initializes to nulls the hash queues for amx events

AmxEventnewAmxEvent (char *funcname, bool dynamic)
 creates a new amx event or load a previous equivalent one


Variables

int g_nCurrentSocket
int g_nTriggeredItem
int g_nTriggerType
int g_nType
AmxEventHashQueue [256]
AmxEventQueue = NULL

Define Documentation

#define MAXSTRLEN   50
 


Function Documentation

bool checkItemUsability P_CHAR    pc,
P_ITEM    pi,
int    type
 

wrap for check usability

Author:
Xanathar
Returns:
bool
Parameters:
pc  player trying using
pi  pointer to item to be used
type  type of usability
Remarks:
Luxor - Added REQSKILL command support, three bug fix applied

void initAmxEvents void   
 

initializes to nulls the hash queues for amx events

Author:
Xanathar

AmxEvent* newAmxEvent char *    funcname,
bool    dynamic
 

creates a new amx event or load a previous equivalent one

Author:
Xanathar
Returns:
AmxEvent*
Parameters:
funcname  name of function
dynamic  dynamic/static status


Variable Documentation

int g_nCurrentSocket
 

file : amxcback.cpp

Project : Nox-Wizard

Author :

Purpose : Implementation of Functions for AMX Callbacks and AMX Events

int g_nTriggeredItem
 

int g_nTriggerType
 

int g_nType [static]
 

AmxEvent* HashQueue[256] [static]
 

AmxEvent* Queue = NULL [static]
 

SourceForge.net Logo