Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <aux_logo.h>
Public Member Functions | |
Logo (int numberlogos, Vector *center, Vector *normal, float *sizes, float *rotations, float offset, Texture *Dec, Vector *Ref) | |
Logo (const Logo &rval) | |
~Logo () | |
void | SetDecal (Texture *decal) |
void | Draw (const Matrix &m) |
Protected Member Functions | |
void | ProcessDrawQueue () |
Protected Attributes | |
int | refcount |
Logo * | owner_of_draw_queue |
vector< DrawContext > * | draw_queue |
bool | will_be_drawn |
Friends | |
class | Mesh |
Definition at line 33 of file aux_logo.h.
Logo::Logo | ( | int | numberlogos, |
Vector * | center, | ||
Vector * | normal, | ||
float * | sizes, | ||
float * | rotations, | ||
float | offset, | ||
Texture * | Dec, | ||
Vector * | Ref | ||
) |
backwards compatibility shit
Definition at line 34 of file aux_logo.cpp.
References draw_queue, GFXQUAD, i, j, k, q, refcount, Roll(), SetDecal(), Vector, will_be_drawn, and y.
|
inline |
Definition at line 56 of file aux_logo.h.
Logo::~Logo | ( | ) |
Definition at line 176 of file aux_logo.cpp.
References Hashtable< KEY, VALUE, SIZ >::Delete(), draw_queue, Texture::name, owner_of_draw_queue, and refcount.
void Logo::Draw | ( | const Matrix & | m) |
Definition at line 133 of file aux_logo.cpp.
References draw_queue, owner_of_draw_queue, undrawn_logos, and will_be_drawn.
|
protected |
Definition at line 146 of file aux_logo.cpp.
References GFXVertexList::BeginDrawState(), c, DEPTHWRITE, GFXVertexList::Draw(), draw_queue, GFXVertexList::EndDrawState(), g_game, VegaConfig::getVariable(), GFXBlendMode(), GFXColor4f(), GFXDisable(), GFXEnable(), GFXFALSE, GFXLoadMatrixModel(), GFXPolygonOffset(), INVSRCALPHA, LIGHTING, GFXVertexList::LoadDrawState(), DrawContext::m, Texture::MakeActive(), XMLSupport::parse_float(), SRCALPHA, TEXTURE0, TEXTURE1, game_data_t::use_logos, DrawContext::vlist, and vs_config.
Referenced by Mesh::ProcessUndrawnMeshes().
void Logo::SetDecal | ( | Texture * | decal) |
Definition at line 97 of file aux_logo.cpp.
References draw_queue, Hashtable< KEY, VALUE, SIZ >::Get(), Texture::name, owner_of_draw_queue, Hashtable< KEY, VALUE, SIZ >::Put(), and refcount.
Referenced by Logo().
|
friend |
Definition at line 42 of file aux_logo.h.
|
protected |
Definition at line 45 of file aux_logo.h.
Referenced by Draw(), Logo(), ProcessDrawQueue(), SetDecal(), and ~Logo().
|
protected |
Definition at line 44 of file aux_logo.h.
Referenced by Draw(), SetDecal(), and ~Logo().
|
protected |
Definition at line 43 of file aux_logo.h.
Referenced by Logo(), SetDecal(), and ~Logo().
|
protected |
Definition at line 46 of file aux_logo.h.
Referenced by Draw(), Logo(), and Mesh::ProcessUndrawnMeshes().