#include "MercuryObjectCommands.h"
#include "MercuryMessages.h"
#include "MercuryDisplayTypes.h"
#include "MercuryMaterial.h"
#include "MercuryObjectBase.h"
#include "MercuryUtil.h"
#include "MercuryGLState.h"
Go to the source code of this file.
Classes | |
class | MercuryObject |
[actor] Base Object (abstract) More... | |
struct | MercuryObject::ParentHoldPair |
[internal] Data structure to hold information about objects More... | |
class | MercuryObjectRegister |
[internal] Mercury Object Register, Keeps track of all objects. More... | |
Defines | |
#define | FOREACH_Object(x, obj) for( MDequeIterator<MercuryObject::ParentHoldPair> obj = x.begin(); obj != x.end(); ++obj) |
#define | FOREACH_CONST_Object(x, obj) for( MDequeIterator<MercuryObject::ParentHoldPair> obj = x.begin(); obj != x.end(); ++obj) |
Enumerations | |
enum | State { UNLOADED = 0, LOADED } |
enum | LightState { LS_IGNORE = 0, LS_ENABLE, LS_DISABLE } |
Functions | |
template<typename T> | |
void | TSortDrawOrder (MDeque< T > &Xdeque) |
long HGEXPORT | GetObjectByName (const char *sName) |
Variables | |
MercuryObjectRegister | OBJECTREGISTER |
#define FOREACH_CONST_Object | ( | x, | |||
obj | ) | for( MDequeIterator<MercuryObject::ParentHoldPair> obj = x.begin(); obj != x.end(); ++obj) |
Definition at line 219 of file MercuryObject.h.
#define FOREACH_Object | ( | x, | |||
obj | ) | for( MDequeIterator<MercuryObject::ParentHoldPair> obj = x.begin(); obj != x.end(); ++obj) |
Definition at line 218 of file MercuryObject.h.
enum LightState |
enum State |
long HGEXPORT GetObjectByName | ( | const char * | sName | ) |
void TSortDrawOrder | ( | MDeque< T > & | Xdeque | ) | [inline] |
Careful sort algorithm: This is designed for looking at a vector that MAY have at MOST one element unsorted. Over the course of N (linear) time, it will resort the array with that one element in it's place. If no elements were out of order, no sorting will go on. Any equal values will remain in the order they were given in
Definition at line 172 of file MercuryObject.h.
Definition at line 6 of file MercuryObject.cpp.