Pyrogenesis  trunk
Namespaces | Macros | Functions | Variables
ObjectBase.cpp File Reference
#include "precompiled.h"
#include <algorithm>
#include <queue>
#include "ObjectBase.h"
#include "ObjectManager.h"
#include "ps/XML/Xeromyces.h"
#include "ps/Filesystem.h"
#include "ps/CLogger.h"
#include "lib/timer.h"
#include "maths/MathUtil.h"
#include <boost/random/uniform_int_distribution.hpp>
Include dependency graph for ObjectBase.cpp:

Namespaces

 anonymous_namespace{ObjectBase.cpp}
 

Macros

#define EL(x)   int el_##x = XeroFile.GetElementID(#x)
 
#define AT(x)   int at_##x = XeroFile.GetAttributeID(#x)
 
#define EL(x)   int el_##x = XeroFile.GetElementID(#x)
 
#define AT(x)   int at_##x = XeroFile.GetAttributeID(#x)
 
#define EL(x)   int el_##x = XeroFile.GetElementID(#x)
 
#define AT(x)   int at_##x = XeroFile.GetAttributeID(#x)
 

Functions

int anonymous_namespace{ObjectBase.cpp}::GetQuality (const CStr &value)
 

Variables

static constexpr int anonymous_namespace{ObjectBase.cpp}::MAX_QUALITY = 255
 The maximal quality for an actor. More...
 
static constexpr int anonymous_namespace{ObjectBase.cpp}::MAX_LEVELS_PER_ACTOR_DEF = 5
 How many quality levels a given actor can have. More...
 

Macro Definition Documentation

◆ AT [1/3]

#define AT (   x)    int at_##x = XeroFile.GetAttributeID(#x)

◆ AT [2/3]

#define AT (   x)    int at_##x = XeroFile.GetAttributeID(#x)

◆ AT [3/3]

#define AT (   x)    int at_##x = XeroFile.GetAttributeID(#x)

◆ EL [1/3]

#define EL (   x)    int el_##x = XeroFile.GetElementID(#x)

◆ EL [2/3]

#define EL (   x)    int el_##x = XeroFile.GetElementID(#x)

◆ EL [3/3]

#define EL (   x)    int el_##x = XeroFile.GetElementID(#x)