![]() |
naev 0.12.6
|
Represents a background image like say a Nebula. More...

Data Fields | |
| unsigned int | id |
| glTexture * | image |
| double | x |
| double | y |
| double | move |
| double | scale |
| double | angle |
| glColour | col |
| glColour | radiosity |
| int | L_idx |
| Light | L |
Represents a background image like say a Nebula.
Definition at line 36 of file background.c.
| double background_image_t::angle |
Rotation (in radians).
Definition at line 44 of file background.c.
| glColour background_image_t::col |
Colour to use.
Definition at line 45 of file background.c.
| unsigned int background_image_t::id |
Background id.
Definition at line 37 of file background.c.
| glTexture* background_image_t::image |
Image to display.
Definition at line 38 of file background.c.
| Light background_image_t::L |
Lighting to use.
Definition at line 50 of file background.c.
| int background_image_t::L_idx |
Lighting index. Invalid if < 0.
Definition at line 49 of file background.c.
| double background_image_t::move |
How many pixels it moves for each pixel the player moves.
Definition at line 42 of file background.c.
| glColour background_image_t::radiosity |
Radiosity.
Definition at line 46 of file background.c.
| double background_image_t::scale |
How the image should be scaled.
Definition at line 43 of file background.c.
| double background_image_t::x |
X center of the image.
Definition at line 39 of file background.c.
| double background_image_t::y |
Y center of the image.
Definition at line 40 of file background.c.