Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <star.h>
Public Member Functions | |
SpriteStarVlist (int num, float spread, std::string our_system_name, std::string texturename, float size) | |
~SpriteStarVlist () | |
int | NumTextures () |
bool | BeginDrawState (const QVector ¢er, const Vector &vel, const Vector &angular_vel, bool rotate, bool yawpitch, int whichTexture) |
void | Draw (bool, int whichTexture) |
void | EndDrawState (bool, int whichTexture) |
![]() | |
StarVlist (float spread) | |
void | UpdateGraphics () |
virtual | ~StarVlist () |
void | DrawAll (const QVector ¢er, const Vector &vel, const Vector &ang_vel, bool rot, bool yawpitch) |
Additional Inherited Members | |
![]() | |
float | spread |
Vector | newcamr |
Vector | newcamq |
Vector | camr |
Vector | camq |
double | lasttime |
SpriteStarVlist::SpriteStarVlist | ( | int | num, |
float | spread, | ||
std::string | our_system_name, | ||
std::string | texturename, | ||
float | size | ||
) |
Definition at line 590 of file star.cpp.
References GFXColorVertex::a, AllocVerticesForSystem(), GFXColorVertex::b, BILINEAR, Texture::Clone(), AnimatedTexture::framesPerSecond(), GFXColorVertex::g, GetConstVertex(), VegaConfig::getVariable(), GFXQUAD, i, NEAREST, NUM_ACTIVE_ANIMATIONS, AnimatedTexture::numFrames(), Orthogonize(), XMLSupport::parse_bool(), GFXColorVertex::r, GFXColorVertex::s, AnimatedTexture::setTime(), GFXColorVertex::SetVertex(), size, start, GFXColorVertex::t, BaseUtil::Texture(), Vector, and vs_config.
SpriteStarVlist::~SpriteStarVlist | ( | ) |
|
virtual |
Reimplemented from StarVlist.
Definition at line 714 of file star.cpp.
References AMBIENT, GFXVertexList::BeginDrawState(), CULLFACE, DIFFUSE, GFXColorMaterial(), GFXDisable(), GFXEnable(), GFXVertexList::LoadDrawState(), Texture::MakeActive(), TEXTURE0, and StarVlist::UpdateGraphics().
Reimplemented from StarVlist.
Definition at line 741 of file star.cpp.
References GFXVertexList::Draw(), VegaConfig::getVariable(), XMLSupport::parse_bool(), and vs_config.
Reimplemented from StarVlist.
Definition at line 731 of file star.cpp.
References CULLFACE, GFXVertexList::EndDrawState(), GFXColorMaterial(), GFXDisable(), GFXEnable(), and TEXTURE0.
|
virtual |
Reimplemented from StarVlist.
Definition at line 709 of file star.cpp.
References NUM_ACTIVE_ANIMATIONS.