naev 0.12.5
background_image_t Struct Reference

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

Collaboration diagram for background_image_t:

Data Fields

unsigned int id
glTextureimage
double x
double y
double move
double scale
double angle
glColour col
glColour radiosity
int L_idx
Light L

Detailed Description

Represents a background image like say a Nebula.

Definition at line 36 of file background.c.

Field Documentation

◆ angle

double background_image_t::angle

Rotation (in radians).

Definition at line 44 of file background.c.

◆ col

glColour background_image_t::col

Colour to use.

Definition at line 45 of file background.c.

◆ id

unsigned int background_image_t::id

Background id.

Definition at line 37 of file background.c.

◆ image

glTexture* background_image_t::image

Image to display.

Definition at line 38 of file background.c.

◆ L

Light background_image_t::L

Lighting to use.

Definition at line 50 of file background.c.

◆ L_idx

int background_image_t::L_idx

Lighting index. Invalid if < 0.

Definition at line 49 of file background.c.

◆ move

double background_image_t::move

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

Definition at line 42 of file background.c.

◆ radiosity

glColour background_image_t::radiosity

Radiosity.

Definition at line 46 of file background.c.

◆ scale

double background_image_t::scale

How the image should be scaled.

Definition at line 43 of file background.c.

◆ x

double background_image_t::x

X center of the image.

Definition at line 39 of file background.c.

◆ y

double background_image_t::y

Y center of the image.

Definition at line 40 of file background.c.


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