Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <gfxlib_struct.h>
Public Member Functions | |
GFXQuadList (GFXBOOL color=GFXFALSE) | |
Creates an initial Quad List. More... | |
~GFXQuadList () | |
Trashes given quad list. More... | |
void | Draw () |
Draws all quads contained in quad list. More... | |
int | AddQuad (const GFXVertex *vertices, const GFXColorVertex *colors=0) |
Adds quad to quad list, an integer indicating number that should be used to henceforth Mod it or delete it. More... | |
void | DelQuad (int which) |
Removes quad from Quad list. More... | |
void | ModQuad (int which, const GFXVertex *vertices, float alpha=-1) |
modifies quad in quad list to contain new vertices and color information More... | |
void | ModQuad (int which, const GFXColorVertex *vertices) |
Meant to be a huge list of individual quads (like light maps) that need to be resizable, etc all to be drawn at once.... nice on GL :-)
Definition at line 451 of file gfxlib_struct.h.
GFXQuadList::~GFXQuadList | ( | ) |
Trashes given quad list.
Definition at line 37 of file gl_quad_list.cpp.
int GFXQuadList::AddQuad | ( | const GFXVertex * | vertices, |
const GFXColorVertex * | colors = 0 |
||
) |
Adds quad to quad list, an integer indicating number that should be used to henceforth Mod it or delete it.
Definition at line 57 of file gl_quad_list.cpp.
References i, VsnetOSS::memcpy(), sizeof(), and VSFileSystem::vs_dprintf().
void GFXQuadList::DelQuad | ( | int | which) |
Removes quad from Quad list.
Definition at line 104 of file gl_quad_list.cpp.
References i, VsnetOSS::memcpy(), sizeof(), and VSFileSystem::vs_dprintf().
void GFXQuadList::Draw | ( | ) |
modifies quad in quad list to contain new vertices and color information
Definition at line 126 of file gl_quad_list.cpp.
References VsnetOSS::memcpy(), and sizeof().
void GFXQuadList::ModQuad | ( | int | which, |
const GFXColorVertex * | vertices | ||
) |