naev 0.11.5
background_image_t Struct Reference

Represents a background image like say a Nebula. More...

Data Fields

unsigned int id
 
glTextureimage
 
double x
 
double y
 
double move
 
double scale
 
double angle
 
glColour col
 

Detailed Description

Represents a background image like say a Nebula.

Definition at line 40 of file background.c.

Field Documentation

◆ angle

double background_image_t::angle

Rotation (in radians).

Definition at line 47 of file background.c.

◆ col

glColour background_image_t::col

Colour to use.

Definition at line 48 of file background.c.

◆ id

unsigned int background_image_t::id

Background id.

Definition at line 41 of file background.c.

◆ image

glTexture* background_image_t::image

Image to display.

Definition at line 42 of file background.c.

◆ move

double background_image_t::move

How many pixels it moves for each pixel the player moves.

Definition at line 45 of file background.c.

◆ scale

double background_image_t::scale

How the image should be scaled.

Definition at line 46 of file background.c.

◆ x

double background_image_t::x

X center of the image.

Definition at line 43 of file background.c.

◆ y

double background_image_t::y

Y center of the image.

Definition at line 44 of file background.c.


The documentation for this struct was generated from the following file: