![]() |
naev 0.12.5
|
Represents a single asteroid. More...
#include <asteroid.h>

Data Fields | |
| int | id |
| int | parent |
| int | state |
| const AsteroidType * | type |
| const glTexture * | gfx |
| CollPoly * | polygon |
| double | armour |
| Solid | sol |
| double | ang |
| double | spin |
| double | timer |
| double | timer_max |
| double | scan_alpha |
| int | scanned |
Represents a single asteroid.
Definition at line 88 of file asteroid.h.
| double Asteroid::ang |
Angle.
Definition at line 99 of file asteroid.h.
| double Asteroid::armour |
Current "armour" of the asteroid.
Definition at line 96 of file asteroid.h.
| const glTexture* Asteroid::gfx |
Graphic of the asteroid.
Definition at line 94 of file asteroid.h.
| int Asteroid::id |
ID of the asteroid, for targeting.
Definition at line 90 of file asteroid.h.
| int Asteroid::parent |
ID of the anchor parent.
Definition at line 91 of file asteroid.h.
| CollPoly* Asteroid::polygon |
Collision polygon associated to gfx.
Definition at line 95 of file asteroid.h.
| double Asteroid::scan_alpha |
Alpha value for scanning stuff.
Definition at line 104 of file asteroid.h.
| int Asteroid::scanned |
Wether the player already scanned this asteroid.
Definition at line 105 of file asteroid.h.
| Solid Asteroid::sol |
Definition at line 98 of file asteroid.h.
| double Asteroid::spin |
Spin.
Definition at line 100 of file asteroid.h.
| int Asteroid::state |
State of the asteroid.
Definition at line 92 of file asteroid.h.
| double Asteroid::timer |
Internal timer for animations.
Definition at line 102 of file asteroid.h.
| double Asteroid::timer_max |
Internal timer initial value.
Definition at line 103 of file asteroid.h.
| const AsteroidType* Asteroid::type |
Type of the asteroid.
Definition at line 93 of file asteroid.h.