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/globals.h File Reference

Globals declarations. More...

#include "amx/amxvarserver.h"
#include "regions.h"
#include "scp_parser.h"
#include "client.h"

Go to the source code of this file.

Namespaces

namespace  Unicode

Defines

#define TEMP_STR_SIZE   1024

Variables

server_st server_data
WSADATA wsaData
WORD wVersionRequested
long int oldtime
long int newtime
bool g_nShowLayers
int dummy__
 dont touch ! nomen est omen !

repsys_st repsys
resource_st resource
cGuildsGuilds
teffect_st * teffects
std::vector< std::string > clientsAllowed
 client version controll system

cRegionmapRegions
std::multimap< int, tele_locations_sttele_locations
 can't use a map here, so using a multimap with x as the key :(

int networkTime
int timerTime
int autoTime
int loopTime
int networkTimeCount
int timerTimeCount
int autoTimeCount
int loopTimeCount
begging_st begging_data
fishing_st fishing_data
spiritspeak_st spiritspeak_data
speed_st speed
char n_scripts [NUM_SCRIPTS][512]
short g_nMainTCPPort
char script1 [512]
char script2 [512]
char script3 [512]
char script4 [512]
 added to use for newbie items

int escortRegions
P_CLIENT clientInfo [MAXCLIENT]
bool cryptedClient [MAXCLIENT]
unsigned char buffer [MAXCLIENT][MAXBUFFER]
char outbuffer [MAXCLIENT][MAXBUFFER]
int client [MAXCLIENT]
short int walksequence [MAXCLIENT]
int acctno [MAXCLIENT]
unsigned char clientip [MAXCLIENT][4]
int binlength [MAXIMUM+1]
int boutlength [MAXIMUM+1]
unsigned char clientDimension [MAXCLIENT]
char tbuffer [MAXBUFFER]
char xoutbuffer [MAXBUFFER *5]
gmpage_st gmpages [MAXPAGES]
gmpage_st counspages [MAXPAGES]
skill_st skillinfo [SKILLS+1]
unsigned short int doorbase [DOORTYPES]
char skillname [SKILLS+1][20]
char serv [MAXSERV][3][30]
 Servers list.

char saveip [30]
 Servers list.

char start [MAXSTART][5][30]
 Startpoints list.

title_st title [ALLSKILLS+1]
unsigned char * comm [CMAX]
int layers [MAXLAYERS]
location_st location [4000]
logout_st logout [1024]
 Instalog.

region_st region [256]
advance_st wpadvance [1000]
char spellname [71][25]
unsigned int metagm [256][7]
 for meta gm script

int validEscortRegion [256]
int npcshape [5]
 Stores the coords of the bouding shape for the NPC.

char idname [256]
char pass1 [256]
char pass2 [256]
char fametitle [128]
char skilltitle [50]
char prowesstitle [50]
char * completetitle
char gettokenstr [256]
unsigned char w_anim [3]
int g_nCurrentSocket
unsigned long uiCurrentTime
unsigned int polyduration
int gDecayItem
int gRespawnItem
int save_counter
int gatecount
int day
int secondsperuominute
UI32 uotickcount
int moon1update
int moon2update
unsigned char moon1
unsigned char moon2
unsigned char dungeonlightlevel
unsigned char worldfixedlevel
unsigned char worldcurlevel
unsigned char worldbrightlevel
unsigned char worlddarklevel
int goldamount
UI08 defaultpriv1
UI08 defaultpriv2
unsigned int teffectcount
unsigned int nextfieldeffecttime
unsigned int nextnpcaitime
unsigned int nextdecaytime
bool heartbeat
int len_connection_addr
sockaddr_in connection
sockaddr_in client_addr
hostent * he
int err
int error
bool keeprun
int a_socket
fd_set conn
fd_set all
fd_set errsock
int nfds
timeval nettimeout
int now
FILE * wscfile
unsigned int servcount
unsigned int startcount
unsigned long itemCount
unsigned long npcCount
unsigned long charCount
int secure
unsigned char season
int locationcount
unsigned int logoutcount
unsigned long int updatepctime
int global_lis
char * cline
int tnum
unsigned int starttime
unsigned int endtime
unsigned int lclock
bool overflow
unsigned char wtype
int executebatch
int openings
unsigned int respawntime
unsigned int gatedesttime
int donpcupdate
unsigned int hungerdamagetimer
unsigned long int serverstarttime
unsigned long initialserversec
unsigned long initialservermill


Detailed Description

Globals declarations.

Note:
here are listed all globals, not just those contained in globals.cpp

Define Documentation

#define TEMP_STR_SIZE   1024
 


Variable Documentation

int a_socket
 

int acctno[MAXCLIENT]
 

fd_set all
 

int autoTime
 

int autoTimeCount
 

begging_st begging_data
 

int binlength[MAXIMUM+1]
 

int boutlength[MAXIMUM+1]
 

unsigned char buffer[MAXCLIENT][MAXBUFFER]
 

unsigned long charCount
 

int client[MAXCLIENT]
 

struct sockaddr_in client_addr
 

unsigned char clientDimension[MAXCLIENT]
 

P_CLIENT clientInfo[MAXCLIENT]
 

MAXCLIENT arrays ///

unsigned char clientip[MAXCLIENT][4]
 

std::vector<std::string> clientsAllowed
 

client version controll system

char* cline
 

unsigned char* comm[CMAX]
 

char* completetitle
 

fd_set conn
 

struct sockaddr_in connection
 

gmpage_st counspages[MAXPAGES]
 

bool cryptedClient[MAXCLIENT]  
 

MAXCLIENT arrays ///

int day
 

UI08 defaultpriv1
 

UI08 defaultpriv2
 

int donpcupdate
 

unsigned short int doorbase[DOORTYPES]
 

int dummy__
 

dont touch ! nomen est omen !

unsigned char dungeonlightlevel
 

unsigned int endtime
 

int err
 

int error
 

fd_set errsock
 

int escortRegions
 

int executebatch
 

char fametitle[128]
 

fishing_st fishing_data
 

int g_nCurrentSocket  
 

file : amxcback.cpp

Project : Nox-Wizard

Author :

Purpose : Implementation of Functions for AMX Callbacks and AMX Events

short g_nMainTCPPort
 

bool g_nShowLayers
 

int gatecount
 

unsigned int gatedesttime
 

int gDecayItem
 

char gettokenstr[256]
 

int global_lis
 

gmpage_st gmpages[MAXPAGES]
 

int goldamount
 

int gRespawnItem
 

class cGuilds* Guilds
 

struct hostent* he
 

bool heartbeat
 

unsigned int hungerdamagetimer
 

char idname[256]
 

unsigned long initialservermill
 

unsigned long initialserversec
 

unsigned long itemCount
 

bool keeprun
 

int layers[MAXLAYERS]
 

unsigned int lclock
 

int len_connection_addr
 

location_st location[4000]
 

int locationcount
 

logout_st logout[1024]
 

Instalog.

unsigned int logoutcount
 

int loopTime
 

int loopTimeCount
 

class cRegion* mapRegions
 

unsigned int metagm[256][7]
 

for meta gm script

unsigned char moon1
 

int moon1update
 

unsigned char moon2
 

int moon2update
 

char n_scripts[NUM_SCRIPTS][512]
 

timeval nettimeout
 

int networkTime
 

int networkTimeCount
 

long int newtime
 

unsigned int nextdecaytime
 

unsigned int nextfieldeffecttime
 

unsigned int nextnpcaitime
 

int nfds
 

int now
 

unsigned long npcCount
 

int npcshape[5]
 

Stores the coords of the bouding shape for the NPC.

long int oldtime
 

int openings
 

char outbuffer[MAXCLIENT][MAXBUFFER]
 

bool overflow
 

char pass1[256]
 

char pass2[256]
 

unsigned int polyduration
 

char prowesstitle[50]
 

region_st region[256]
 

repsys_st repsys
 

resource_st resource
 

unsigned int respawntime
 

int save_counter
 

char saveip[30]
 

Servers list.

char script1[512]
 

char script2[512]
 

char script3[512]
 

char script4[512]
 

added to use for newbie items

unsigned char season
 

int secondsperuominute
 

int secure
 

char serv[MAXSERV][3][30]
 

Servers list.

unsigned int servcount
 

server_st server_data
 

unsigned long int serverstarttime
 

skill_st skillinfo[SKILLS+1]  
 

and the rest /

char skillname[SKILLS+1][20]
 

char skilltitle[50]
 

speed_st speed
 

char spellname[71][25]
 

spiritspeak_st spiritspeak_data
 

char start[MAXSTART][5][30]
 

Startpoints list.

unsigned int startcount
 

unsigned int starttime
 

char tbuffer[MAXBUFFER]
 

unsigned int teffectcount
 

struct teffect_st* teffects
 

std::multimap<int, tele_locations_st> tele_locations
 

can't use a map here, so using a multimap with x as the key :(

int timerTime
 

int timerTimeCount
 

title_st title[ALLSKILLS+1]
 

int tnum
 

unsigned long uiCurrentTime
 

UI32 uotickcount
 

unsigned long int updatepctime
 

int validEscortRegion[256]
 

unsigned char w_anim[3]
 

short int walksequence[MAXCLIENT]
 

unsigned char worldbrightlevel
 

unsigned char worldcurlevel
 

unsigned char worlddarklevel
 

unsigned char worldfixedlevel
 

advance_st wpadvance[1000]
 

WSADATA wsaData
 

FILE* wscfile
 

unsigned char wtype
 

WORD wVersionRequested
 

char xoutbuffer[MAXBUFFER*5]
 

SourceForge.net Logo