![]() |
naev 0.12.5
|
Represents an asteroid field anchor. More...
#include <asteroid.h>

Data Fields | |
| char * | label |
| int | id |
| vec2 | pos |
| double | density |
| Asteroid * | asteroids |
| int | nmax |
| double | radius |
| double | area |
| AsteroidTypeGroup ** | groups |
| double * | groupsw |
| double | groupswtotal |
| double | maxspeed |
| double | maxspin |
| double | accel |
| double | margin |
| Quadtree | qt |
| int | qt_init |
| int | has_exclusion |
Represents an asteroid field anchor.
Definition at line 111 of file asteroid.h.
| double AsteroidAnchor::accel |
Accel applied when out of radius towards center.
Definition at line 125 of file asteroid.h.
| double AsteroidAnchor::area |
Field's area.
Definition at line 119 of file asteroid.h.
| Asteroid* AsteroidAnchor::asteroids |
Asteroids belonging to the field.
Definition at line 116 of file asteroid.h.
| double AsteroidAnchor::density |
Density of the field.
Definition at line 115 of file asteroid.h.
| AsteroidTypeGroup** AsteroidAnchor::groups |
Groups of asteroids.
Definition at line 120 of file asteroid.h.
| double* AsteroidAnchor::groupsw |
Weight of the groups of asteroids.
Definition at line 121 of file asteroid.h.
| double AsteroidAnchor::groupswtotal |
Sum of the weights of the groups.
Definition at line 122 of file asteroid.h.
| int AsteroidAnchor::has_exclusion |
Used for updating.
Definition at line 130 of file asteroid.h.
| int AsteroidAnchor::id |
ID of the anchor, for targeting.
Definition at line 113 of file asteroid.h.
| char* AsteroidAnchor::label |
Label used for unidiffs.
Definition at line 112 of file asteroid.h.
| double AsteroidAnchor::margin |
Extra margin to use when doing distance computations.
Definition at line 126 of file asteroid.h.
| double AsteroidAnchor::maxspeed |
Maxmimum speed the asteroids can have in the field.
Definition at line 123 of file asteroid.h.
| double AsteroidAnchor::maxspin |
Maxmimum spin the asteroids can have in the field.
Definition at line 124 of file asteroid.h.
| int AsteroidAnchor::nmax |
Maximum number of asteroids.
Definition at line 117 of file asteroid.h.
| vec2 AsteroidAnchor::pos |
Position in the system (from center).
Definition at line 114 of file asteroid.h.
| Quadtree AsteroidAnchor::qt |
Handles collisions.
Definition at line 128 of file asteroid.h.
| int AsteroidAnchor::qt_init |
Whether or not the quadtree has been initialized.
Definition at line 129 of file asteroid.h.
| double AsteroidAnchor::radius |
Radius of the anchor.
Definition at line 118 of file asteroid.h.