Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Variables
lensflare.hpp File Reference

Go to the source code of this file.

Classes

struct  flaretype
 
struct  flare
 
struct  flarerenderer
 

Variables

static struct flaretype flaretypes []
 
static flarerenderer flares ("<grey>particle/lensflares.png", 64)
 

Class Documentation

struct flaretype
Class Members
uchar alpha
float loc
float scale
int type
struct flare
Class Members
vec center
bvec color
vec o
float size
bool sparkle

Variable Documentation

flarerenderer flares("<grey>particle/lensflares.png", 64)
static

Referenced by makeparticles(), and updateparticles().

struct flaretype flaretypes[]
static
Initial value:
=
{
{2, 1.30f, 0.04f, 153},
{3, 1.00f, 0.10f, 102},
{1, 0.50f, 0.20f, 77},
{3, 0.20f, 0.05f, 77},
{0, 0.00f, 0.04f, 77},
{5, -0.25f, 0.07f, 127},
{5, -0.40f, 0.02f, 153},
{5, -0.60f, 0.04f, 102},
{5, -1.00f, 0.03f, 51},
{-1, 1.00f, 0.30f, 255},
{-2, 1.00f, 0.20f, 255},
{-3, 1.00f, 0.25f, 255}
}

Referenced by flarerenderer::render().