15 double move,
double scale,
double angle,
16 const glColour *col,
int foreground,
17 const glColour *radiosity );
glTexture ** background_getStarTextures(void)
Returns an array (array.h) of star background images in the system background.
void background_clear(void)
Cleans up the background stuff.
int background_init(void)
Initializes the background system.
void background_initDust(int n)
Initializes background dust.
void background_renderOverlay(double dt)
Renders the background overlay.
void background_moveDust(double x, double y)
Displaces the dust, useful with camera.
void background_free(void)
Cleans up and frees memory after the backgrounds.
glTexture * background_getAmbientTexture(void)
Returns an overall background image (nebula, for instance), or NULL if none exists.
void background_renderDust(const double dt)
Renders the dustry background.
void background_render(double dt)
Render the background.
int background_load(const char *name)
Loads a background script by name.
unsigned int background_addImage(const glTexture *image, double x, double y, double move, double scale, double angle, const glColour *col, int foreground, const glColour *radiosity)
Adds a new background image.
Abstraction for rendering sprite sheets.