// the chunk isn't already in the cache, then read it from disk.
int fgTileMgrUpdate( void ) {
fgTILECACHE *c;
- fgFLIGHT *f;
+ FGState *f;
fgBUCKET p1, p2;
static fgBUCKET p_last = {-1000, 0, 0, 0};
int tile_diameter;
int i, j, dw, dh;
c = &global_tile_cache;
- f = current_aircraft.flight;
+ f = current_aircraft.fdm_state;
tile_diameter = current_options.get_tile_diameter();
// Render the local tiles
void fgTileMgrRender( void ) {
- fgFLIGHT *f;
+ FGState *f;
fgTILECACHE *c;
fgTILE *t;
fgVIEW *v;
int drawn = 0;
c = &global_tile_cache;
- f = current_aircraft.flight;
+ f = current_aircraft.fdm_state;
v = ¤t_view;
tile_diameter = current_options.get_tile_diameter();
// $Log$
+// Revision 1.49 1998/12/05 15:54:26 curt
+// Renamed class fgFLIGHT to class FGState as per request by JSB.
+//
// Revision 1.48 1998/12/05 14:20:21 curt
// Looking into a terrain intersection problem.
//