uox3/source/cVersionClass.cpp
Xoduz 10a7235b28 Added support for SAFEZONE in regions.dfn
Disabled SAFESEH linker option for debug build to enable "Edit and Continue" mode in Visual Studio
	Disabled loading of PRIV tag from regions.wsc, as it is currently unused (meant for townstones) and prevents loading certain updates to regions.dfn file
	Added support for SAFEZONE tag to regions.dfn. No hostile actions are allowed within zones where this tag is set to 1
	Added combat, spellcasting, stealing and snooping checks for safe zone
	Added safe zone check to damage portion of explosion potion
	Exposed isSafeZone JS property for characters
	Updated potion.js, provocation.js and enticement.js to check for safe zones
2018-09-17 00:38:10 +08:00

96 lines
2.2 KiB
C++

//o--------------------------------------------------------------------------o
//| Function/Class -
//| Date - 10/17/2002
//| Developer(s) - EviLDeD
//| Company/Team - UOX3 DevTeam
//| Status -
//o--------------------------------------------------------------------------o
//| Description -
//o--------------------------------------------------------------------------o
//| Returns -
//o--------------------------------------------------------------------------o
//| Notes -
//o--------------------------------------------------------------------------o
#include <string>
#include "cVersionClass.h"
namespace UOX
{
//o---------------------------------------------------------------------------o
// product info
//o---------------------------------------------------------------------------o
const std::string VER = "0.99";
const std::string BUILD = "2e";
const std::string REALBUILD = "0";
const std::string SVER = "2.0";
const std::string CVER = "2.0";
const std::string IVER = "2.0";
const std::string PRODUCT = "Ultima Offline eXperiment 3";
const std::string NAME = "The UOX3 DevTeam";
const std::string EMAIL = "https://www.uox3.org/";
const std::string PROGRAMMERS = "UOX3 DevTeam";
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CVersionClass::CVersionClass()
{
}
//o---------------------------------------------------------------------------o
CVersionClass::~CVersionClass()
{
}
std::string CVersionClass::GetVersion( void )
{
return VER;
}
std::string CVersionClass::GetBuild( void )
{
return BUILD;
}
std::string CVersionClass::GetRealBuild( void )
{
return REALBUILD;
}
std::string CVersionClass::GetScriptVersion( void )
{
return SVER;
}
std::string CVersionClass::GetCharacterVersion( void )
{
return CVER;
}
std::string CVersionClass::GetItemVersion( void )
{
return IVER;
}
std::string CVersionClass::GetProductName( void )
{
return PRODUCT;
}
std::string CVersionClass::GetName( void )
{
return NAME;
}
std::string CVersionClass::GetEmail( void )
{
return EMAIL;
}
std::string CVersionClass::GetProgrammers( void )
{
return PROGRAMMERS;
}
}