#include <stdio.h>
#include <stdlib.h>
#include <list>
#include <map>
#include <vector>
#include "ieclass.h"
#include "irender.h"
#include "string/string.h"
Go to the source code of this file.
#define INCLUDED_ECLASSLIB_H |
Definition at line 23 of file eclasslib.h.
Definition at line 36 of file eclasslib.h.
typedef std::pair<std::string, EntityClassAttribute> EntityClassAttributePair |
Definition at line 92 of file eclasslib.h.
typedef std::list<EntityClassAttributePair> EntityClassAttributes |
Definition at line 93 of file eclasslib.h.
typedef std::list<std::string> StringList |
Definition at line 94 of file eclasslib.h.
void buffer_write_colour_blend | ( | char | buffer[128], | |
const Colour3 & | colour | |||
) | [inline] |
Definition at line 212 of file eclasslib.h.
Referenced by colour_capture_state_blend(), and colour_release_state_blend().
void buffer_write_colour_fill | ( | char | buffer[128], | |
const Colour3 & | colour | |||
) | [inline] |
Definition at line 202 of file eclasslib.h.
Referenced by colour_capture_state_fill(), and colour_release_state_fill().
void buffer_write_colour_wire | ( | char | buffer[128], | |
const Colour3 & | colour | |||
) | [inline] |
Definition at line 207 of file eclasslib.h.
Referenced by colour_capture_state_wire(), and colour_release_state_wire().
bool classname_equal | ( | const std::string & | classname, | |
const std::string & | other | |||
) | [inline] |
Definition at line 298 of file eclasslib.h.
Shader* colour_capture_state_blend | ( | const Colour3 & | colour | ) | [inline] |
Definition at line 245 of file eclasslib.h.
References buffer_write_colour_blend().
Referenced by eclass_capture_state().
Shader* colour_capture_state_fill | ( | const Colour3 & | colour | ) | [inline] |
Definition at line 217 of file eclasslib.h.
References buffer_write_colour_fill().
Referenced by Colour::capture_state(), and eclass_capture_state().
Shader* colour_capture_state_wire | ( | const Colour3 & | colour | ) | [inline] |
Definition at line 231 of file eclasslib.h.
References buffer_write_colour_wire().
Referenced by eclass_capture_state().
void colour_release_state_blend | ( | const Colour3 & | colour | ) | [inline] |
Definition at line 252 of file eclasslib.h.
References buffer_write_colour_blend().
Referenced by eclass_release_state().
void colour_release_state_fill | ( | const Colour3 & | colour | ) | [inline] |
Definition at line 224 of file eclasslib.h.
References buffer_write_colour_fill().
Referenced by eclass_release_state(), and Colour::release_state().
void colour_release_state_wire | ( | const Colour3 & | colour | ) | [inline] |
Definition at line 238 of file eclasslib.h.
References buffer_write_colour_wire().
Referenced by eclass_release_state().
EntityClass* Eclass_Alloc | ( | ) | [inline] |
Definition at line 274 of file eclasslib.h.
References EntityClass::color, EntityClass::fixedsize, EntityClass::flagnames, EntityClass::free, MAX_FLAGS, EntityClass::maxs, and EntityClass::mins.
Referenced by EClass_Create(), and EClass_Create_FixedSize().
void eclass_capture_state | ( | EntityClass * | eclass | ) | [inline] |
Definition at line 259 of file eclasslib.h.
References EntityClass::color, colour_capture_state_blend(), colour_capture_state_fill(), colour_capture_state_wire(), EntityClass::m_state_blend, EntityClass::m_state_fill, and EntityClass::m_state_wire.
Referenced by EClass_Create(), and EClass_Create_FixedSize().
EntityClass* EClass_Create | ( | const std::string & | name, | |
const Vector3 & | colour, | |||
const std::string & | comments | |||
) | [inline] |
Definition at line 303 of file eclasslib.h.
References EntityClass::color, Eclass_Alloc(), eclass_capture_state(), Eclass_Free(), EntityClass::free, EntityClass::m_comments, and EntityClass::m_name.
Referenced by EntityClass_Create_Default().
EntityClass* EClass_Create_FixedSize | ( | const std::string & | name, | |
const Vector3 & | colour, | |||
const Vector3 & | mins, | |||
const Vector3 & | maxs, | |||
const std::string & | comments | |||
) | [inline] |
Definition at line 318 of file eclasslib.h.
References EntityClass::color, Eclass_Alloc(), eclass_capture_state(), Eclass_Free(), EntityClass::fixedsize, EntityClass::free, EntityClass::m_comments, EntityClass::m_name, EntityClass::maxs, and EntityClass::mins.
Referenced by EntityClass_Create_Default().
void Eclass_Free | ( | EntityClass * | e | ) | [inline] |
Definition at line 291 of file eclasslib.h.
References eclass_release_state().
Referenced by EClass_Create(), and EClass_Create_FixedSize().
void eclass_release_state | ( | EntityClass * | eclass | ) | [inline] |
Definition at line 266 of file eclasslib.h.
References EntityClass::color, colour_release_state_blend(), colour_release_state_fill(), and colour_release_state_wire().
Referenced by Eclass_Free().
EntityClass* EntityClass_Create_Default | ( | const std::string & | name, | |
bool | has_brushes | |||
) | [inline] |
Definition at line 341 of file eclasslib.h.
References EClass_Create(), EClass_Create_FixedSize(), and f.
EntityClassAttributePair& EntityClass_insertAttribute | ( | EntityClass & | entityClass, | |
const char * | key, | |||
const EntityClassAttribute & | attribute = EntityClassAttribute() | |||
) | [inline] |
Definition at line 195 of file eclasslib.h.
References EntityClass::m_attributes.
const char* EntityClass_valueForKey | ( | const EntityClass & | entityClass, | |
const std::string & | key | |||
) | [inline] |
Definition at line 184 of file eclasslib.h.
References i, and EntityClass::m_attributes.
Referenced by EntityKeyValues::getKeyValue(), and EntityKeyValues::insert().
const char* EntityClassAttributePair_getDescription | ( | const EntityClassAttributePair & | attributePair | ) | [inline] |
Definition at line 104 of file eclasslib.h.
References EntityClassAttributePair_getName().
const char* EntityClassAttributePair_getName | ( | const EntityClassAttributePair & | attributePair | ) | [inline] |
Definition at line 96 of file eclasslib.h.
Referenced by EntityClassAttributePair_getDescription().