]> git.mxchange.org Git - flightgear.git/blobdiff - Astro/sun.h
Prepairing for C++ integration.
[flightgear.git] / Astro / sun.h
index 260101f76b9d4a438628766d23ac843091a9dbdd..b9f6f0b03825ee2de41a3977aa8453229c1881ee 100644 (file)
  **************************************************************************/
 
 
-#ifndef SUN_H
-#define SUN_H
+#ifndef _SUN_H
+#define _SUN_H
 
 
-struct SunPos fgCalcSunPos(struct OrbElements sunParams);
+#ifdef __cplusplus                                                          
+extern "C" {                            
+#endif                                   
+
+
+extern fgSUNPOS solarPosition;
+
+
+void fgCalcSunPos (struct OrbElements sunParams);
 extern struct OrbElements pltOrbElements[9];
 
 /* Initialize the Sun */
-void fgSunInit();
+void fgSunInit( void );
 
 /* Draw the Sun */
-void fgSunRender();
+void fgSunRender( void );
+
+
+#ifdef __cplusplus
+}
+#endif
 
 
-#endif /* SUN_H */
+#endif /* _SUN_H */
 
 
 /* $Log$
-/* Revision 1.1  1998/01/07 03:16:21  curt
-/* Moved from .../Src/Scenery/ to .../Src/Astro/
+/* Revision 1.6  1998/04/21 17:02:33  curt
+/* Prepairing for C++ integration.
 /*
+ * Revision 1.5  1998/03/09 22:47:26  curt
+ * Incorporated Durk's updates.
+ *
+ * Revision 1.4  1998/02/23 19:07:57  curt
+ * Incorporated Durk's Astro/ tweaks.  Includes unifying the sun position
+ * calculation code between sun display, and other FG sections that use this
+ * for things like lighting.
+ *
+ * Revision 1.3  1998/01/22 02:59:29  curt
+ * Changed #ifdef FILE_H to #ifdef _FILE_H
+ *
+ * Revision 1.2  1998/01/19 18:40:19  curt
+ * Tons of little changes to clean up the code and to remove fatal errors
+ * when building with the c++ compiler.
+ *
+ * Revision 1.1  1998/01/07 03:16:21  curt
+ * Moved from .../Src/Scenery/ to .../Src/Astro/
+ *
  * Revision 1.3  1997/12/11 04:43:56  curt
  * Fixed sun vector and lighting problems.  I thing the moon is now lit
  * correctly.