#define SCENERY_H
+#include "../types.h"
+
+
/* Define a structure containing global scenery parameters */
-struct scenery_params {
- int terrain_skip; /* number of terrain data points to skip */
+struct SCENERY {
+ /* number of terrain data points to skip */
+ int terrain_skip;
+
+ /* center of current scenery chunk */
+ struct fgCartesianPoint center;
};
-extern struct scenery_params cur_scenery_params;
+extern struct SCENERY scenery;
/* Initialize the Scenery Management system */
void fgSceneryInit();
+
/* Tell the scenery manager where we are so it can load the proper data, and
* build the proper structures. */
void fgSceneryUpdate(double lon, double lat, double elev);
+
/* Render out the current scene */
void fgSceneryRender();
-#endif SCENERY_H
+#endif /* SCENERY_H */
/* $Log$
-/* Revision 1.6 1997/07/11 01:30:03 curt
-/* More tweaking of terrian floor.
+/* Revision 1.9 1997/08/27 03:30:33 curt
+/* Changed naming scheme of basic shared structures.
/*
+ * Revision 1.8 1997/08/06 00:24:30 curt
+ * Working on correct real time sun lighting.
+ *
+ * Revision 1.7 1997/07/23 21:52:27 curt
+ * Put comments around the text after an #endif for increased portability.
+ *
+ * Revision 1.6 1997/07/11 01:30:03 curt
+ * More tweaking of terrian floor.
+ *
* Revision 1.5 1997/06/26 22:14:57 curt
* Beginning work on a scenery management system.
*