Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <star.h>
Public Member Functions | |
virtual void | Draw (bool, int whichtex) |
StarVlist (float spread) | |
void | UpdateGraphics () |
virtual | ~StarVlist () |
virtual bool | BeginDrawState (const QVector ¢er, const Vector &vel, const Vector &angular_vel, bool rotate, bool yawpitch, int whichTexture) |
virtual void | EndDrawState (bool, int whichtex) |
virtual int | NumTextures () |
void | DrawAll (const QVector ¢er, const Vector &vel, const Vector &ang_vel, bool rot, bool yawpitch) |
Protected Attributes | |
float | spread |
Vector | newcamr |
Vector | newcamq |
Vector | camr |
Vector | camq |
double | lasttime |
StarVlist::StarVlist | ( | float | spread) |
|
inlinevirtual |
Reimplemented in SpriteStarVlist, and PointStarVlist.
Definition at line 23 of file star.h.
Referenced by Stars::Draw(), and DrawAll().
Reimplemented in SpriteStarVlist, and PointStarVlist.
Definition at line 19 of file star.h.
Referenced by Stars::Draw(), and DrawAll().
|
inline |
Definition at line 37 of file star.h.
References BeginDrawState(), Draw(), EndDrawState(), and NumTextures().
Referenced by Background::Draw().
Reimplemented in SpriteStarVlist, and PointStarVlist.
Definition at line 32 of file star.h.
Referenced by Stars::Draw(), and DrawAll().
|
inlinevirtual |
Reimplemented in SpriteStarVlist.
Definition at line 33 of file star.h.
Referenced by Stars::Draw(), and DrawAll().
void StarVlist::UpdateGraphics | ( | ) |
Definition at line 307 of file star.cpp.
References _Universe, Universe::AccessCamera(), camq, camr, getNewTime(), Camera::GetPQR(), lasttime, newcamq, newcamr, and Vector.
Referenced by PointStarVlist::BeginDrawState(), and SpriteStarVlist::BeginDrawState().
|
protected |
Definition at line 16 of file star.h.
Referenced by StarVlist(), and UpdateGraphics().
|
protected |
Definition at line 15 of file star.h.
Referenced by StarVlist(), and UpdateGraphics().
|
protected |
Definition at line 17 of file star.h.
Referenced by StarVlist(), and UpdateGraphics().
|
protected |
Definition at line 14 of file star.h.
Referenced by StarVlist(), and UpdateGraphics().
|
protected |
Definition at line 13 of file star.h.
Referenced by StarVlist(), and UpdateGraphics().
|
protected |
Definition at line 12 of file star.h.
Referenced by StarVlist().