Permalink
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (23 sloc) 696 Bytes
/*
* See Licensing and Copyright notice in naev.h
*/
#ifndef BACKGROUND_H
# define BACKGROUND_H
#include "opengl.h"
#include "colour.h"
/* Render. */
void background_render( double dt );
/* Add images. */
unsigned int background_addImage( glTexture *image, double x, double y,
double move, double scale, const glColour *col, int foreground );
/* Stars. */
void background_initStars( int n );
void background_renderStars( const double dt );
void background_moveStars( double x, double y );
/* Init. */
int background_init (void);
int background_load( const char *name );
/* Clean up. */
void background_clear (void);
void background_free (void);
#endif /* BACKGROUND_H */