- ssgRangeSelector *terra_range;
- ssgRangeSelector *gnd_lights_range;
-
- // we create several preset brightness and can choose which one we
- // want based on lighting conditions.
- ssgSelector *gnd_lights_brightness;
-
- // we need to be able to turn runway lights on or off (doing this
- // via a call back would be nifty, but then the call back needs to
- // know about the higher level application's global state which is
- // a problem if we move the code into simgear.)
- ssgSelector *vasi_lights_selector;
- ssgSelector *rwy_lights_selector;
- ssgSelector *taxi_lights_selector;
-
- /**
- * Indicates this tile has been loaded from a file and connected
- * into the scene graph. Note that this may be set asynchronously
- * by another thread.
- */
- volatile bool loaded;
-
- /**
- * Count of pending models to load for this tile. This tile
- * cannot be removed until this number reaches zero (i.e. no
- * pending models to load for this tile.)
- */
- volatile int pending_models;
-
- bool obj_load( const string& path,
- ssgBranch* geometry,
- ssgBranch* vasi_lights,
- ssgBranch* rwy_lights,
- ssgBranch* taxi_lights,
- ssgVertexArray* gound_lights,
- bool is_base );
-
- ssgLeaf* gen_lights( SGMaterialLib *matlib, ssgVertexArray *lights,
- int inc, float bright );
-
- double timestamp;
-
- /**
- * this value is used by the tile scheduler/loader to mark which
- * tiles are in the primary ring (i.e. the current tile or the
- * surrounding eight.) Other routines then can use this as an
- * optimization and not do some operation to tiles outside of this
- * inner ring. (For instance vasi color updating)
- */
- bool is_inner_ring;