15 double move,
double scale,
double angle,
const glColour *col,
int foreground );
unsigned int background_addImage(glTexture *image, double x, double y, double move, double scale, double angle, const glColour *col, int foreground)
Adds a new background image.
glTexture ** background_getTextures(void)
returns the background images, and number of these
void background_clear(void)
Cleans up the background stuff.
int background_init(void)
Initializes the background system.
void background_initDust(int n)
Initializes background stars.
void background_renderOverlay(double dt)
Renders the background overlay.
void background_moveDust(double x, double y)
Displaces the stars, useful with camera.
void background_free(void)
Cleans up and frees memory after the backgrounds.
void background_renderDust(const double dt)
Renders the starry background.
void background_render(double dt)
Render the background.
int background_load(const char *name)
Loads a background script by name.
Abstraction for rendering sprite sheets.