StuBS
fire.cc File Reference
Include dependency graph for fire.cc:

Functions

static Color hslColor (int h, int s, int l)
 
static int abs (int a)
 

Constants

GuardedGraphics graphics
 
static Random rand (42)
 
static Color palette [256]
 
static unsigned fire [Fire::max_height+1][Fire::max_width]
 
static Color image [Fire::max_height *Fire::max_width]
 

Function Documentation

◆ hslColor()

static Color hslColor ( int  h,
int  s,
int  l 
)
static

◆ abs()

static int abs ( int  a)
static

Variable Documentation

◆ graphics

GuardedGraphics graphics
extern

◆ rand

Random rand(42) ( 42  )
static

◆ palette

Color palette[256]
static

◆ fire

unsigned fire[Fire::max_height+1][Fire::max_width]
static

◆ image