]> git.mxchange.org Git - flightgear.git/blobdiff - Scenery/scenery.h
Changed naming scheme of basic shared structures.
[flightgear.git] / Scenery / scenery.h
index 4213d3f970bde96bb30bdd5d4e34a4c91b67605e..e6f76028950fbddfc173b12bb7b066451621008d 100644 (file)
@@ -1,5 +1,5 @@
 /**************************************************************************
- * scenery.h -- data structures and routines for processing terrain meshes
+ * scenery.h -- data structures and routines for managing scenery.
  *
  * Written by Curtis Olson, started May 1997.
  *
 #define SCENERY_H
 
 
-/* parse a scenery file */
-int parse_scenery(char *file);
+#include "../types.h"
 
 
-#endif SCENERY_H
+/* Define a structure containing global scenery parameters */
+struct SCENERY {
+    /* number of terrain data points to skip */
+    int terrain_skip;
+
+    /* center of current scenery chunk */
+    struct fgCartesianPoint center;
+};
+
+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 */
 
 
 /* $Log$
-/* Revision 1.2  1997/05/23 15:40:43  curt
-/* Added GNU copyright headers.
+/* 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.
+ *
+ * Revision 1.4  1997/06/21 17:57:21  curt
+ * directory shuffling ...
+ *
+ * Revision 1.2  1997/05/23 15:40:43  curt
+ * Added GNU copyright headers.
+ *
  * Revision 1.1  1997/05/16 16:07:07  curt
  * Initial revision.
  *