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/worldmain.cpp File Reference

Implementation of the CWorldMain class. More...

#include <fstream>
#include "nxwcommn.h"
#include "worldmain.h"
#include "sndpkg.h"
#include "sregions.h"
#include "debug.h"
#include "amx/amxcback.h"
#include "version.h"
#include "nxw_utils.h"
#include "tmpeff.h"
#include "amx/amxvarserver.h"
#include "layer.h"
#include "jail.h"
#include "accounts.h"
#include "data.h"
#include "boats.h"
#include "books.h"
#include "spawn.h"
#include "set.h"
#include "archive.h"
#include "trade.h"
#include "basics.h"
#include "inlines.h"
#include "items.h"
#include "chars.h"
#include "classes.h"
#include "scripts.h"
#include "skills.h"
#include "utils.h"
#include "nox-wizard.h"
#include "house.h"
#include "race.h"
#include "resourcemap.h"

Defines

#define SAVECHAREVENT(A, B)   if ((pc->amxevents[B])&&(pc->amxevents[B]->shouldBeSaved())) fprintf(cWsc, "%s %s\n", A, pc->amxevents[B]->getFuncName());
#define SAVEITEMEVENT(A, B)   { if (pi->amxevents[B]) if (pi->amxevents[B]->shouldBeSaved()) fprintf(iWsc, "%s %s\n", A, pi->amxevents[B]->getFuncName()); }

Functions

void split (std::string &source, std::string &first, std::string &second)
wstring HexVector2UnicodeString (char *s)
void loaditem ()
 Load an item from WSC.

void fprintWstring (FILE *f, char *name, wstring c)

Variables

CWorldMaincwmWorldState = NULL


Detailed Description

Implementation of the CWorldMain class.


Define Documentation

#define SAVECHAREVENT A,
     if ((pc->amxevents[B])&&(pc->amxevents[B]->shouldBeSaved())) fprintf(cWsc, "%s %s\n", A, pc->amxevents[B]->getFuncName());
 

#define SAVEITEMEVENT A,
     { if (pi->amxevents[B]) if (pi->amxevents[B]->shouldBeSaved()) fprintf(iWsc, "%s %s\n", A, pi->amxevents[B]->getFuncName()); }
 


Function Documentation

void fprintWstring FILE *    f,
char *    name,
wstring    c
 

wstring HexVector2UnicodeString char *    s
 

void loaditem  
 

Load an item from WSC.

void split std::string &    source,
std::string &    first,
std::string &    second
 


Variable Documentation

CWorldMain* cwmWorldState = NULL
 

SourceForge.net Logo