#include <eclasslib.h>
Public Member Functions | |
const char * | name () const |
const char * | comments () const |
const std::string & | modelpath () const |
const char * | skin () const |
EntityClassAttribute * | getAttribute (const std::string &attributeName) const |
Get the attribute definition for a given attribute name. | |
const std::string | getDefaultForAttribute (const std::string &attributeName) const |
Get the default value for a given entity parameter. | |
Data Fields | |
std::string | m_name |
StringList | m_parent |
bool | fixedsize |
Vector3 | mins |
Vector3 | maxs |
Colour3 | color |
Shader * | m_state_fill |
Shader * | m_state_wire |
Shader * | m_state_blend |
std::string | m_comments |
char | flagnames [MAX_FLAGS][32] |
std::string | m_modelpath |
std::string | m_skin |
void(* | free )(EntityClass *) |
EntityClassAttributes | m_attributes |
Definition at line 112 of file eclasslib.h.
const char* EntityClass::comments | ( | ) | const [inline] |
Definition at line 140 of file eclasslib.h.
References m_comments.
EntityClassAttribute* EntityClass::getAttribute | ( | const std::string & | attributeName | ) | const [inline] |
Get the attribute definition for a given attribute name.
attributeName | the attribute to retrieve |
NULL
Definition at line 158 of file eclasslib.h.
References i, and m_attributes.
Referenced by getDefaultForAttribute().
const std::string EntityClass::getDefaultForAttribute | ( | const std::string & | attributeName | ) | const [inline] |
Get the default value for a given entity parameter.
attributeName | The attribute name to get the default value for |
Definition at line 173 of file eclasslib.h.
References getAttribute(), and EntityClassAttribute::m_value.
Referenced by EntityKeyValues::addMandatoryKeyValues().
const std::string& EntityClass::modelpath | ( | ) | const [inline] |
Definition at line 144 of file eclasslib.h.
References m_modelpath.
const char* EntityClass::name | ( | ) | const [inline] |
Definition at line 136 of file eclasslib.h.
References m_name.
Referenced by NamedEntity::identifierChanged(), and NamedEntity::name().
const char* EntityClass::skin | ( | ) | const [inline] |
Definition at line 148 of file eclasslib.h.
References m_skin.
Definition at line 121 of file eclasslib.h.
Referenced by Eclass_Alloc(), eclass_capture_state(), EClass_Create(), EClass_Create_FixedSize(), and eclass_release_state().
Definition at line 117 of file eclasslib.h.
Referenced by Eclass_Alloc(), and EClass_Create_FixedSize().
char EntityClass::flagnames[MAX_FLAGS][32] |
Definition at line 127 of file eclasslib.h.
Referenced by Eclass_Alloc().
void(* EntityClass::free)(EntityClass *) |
Referenced by Eclass_Alloc(), EClass_Create(), and EClass_Create_FixedSize().
Definition at line 134 of file eclasslib.h.
Referenced by EntityKeyValues::addMandatoryKeyValues(), EntityClass_insertAttribute(), EntityClass_valueForKey(), and getAttribute().
Definition at line 126 of file eclasslib.h.
Referenced by comments(), EClass_Create(), and EClass_Create_FixedSize().
Definition at line 129 of file eclasslib.h.
Referenced by modelpath().
Definition at line 115 of file eclasslib.h.
Referenced by EClass_Create(), EClass_Create_FixedSize(), and name().
Definition at line 116 of file eclasslib.h.
model path - only for displaying in radiant
Definition at line 130 of file eclasslib.h.
Referenced by skin().
Shader* EntityClass::m_state_blend |
Definition at line 124 of file eclasslib.h.
Referenced by eclass_capture_state().
Shader* EntityClass::m_state_fill |
Definition at line 122 of file eclasslib.h.
Referenced by eclass_capture_state().
Shader* EntityClass::m_state_wire |
Definition at line 123 of file eclasslib.h.
Referenced by eclass_capture_state(), and TargetableInstance::render().
Definition at line 119 of file eclasslib.h.
Referenced by Eclass_Alloc(), and EClass_Create_FixedSize().
Definition at line 118 of file eclasslib.h.
Referenced by Eclass_Alloc(), and EClass_Create_FixedSize().