]> git.mxchange.org Git - flightgear.git/blobdiff - Astro/stars.h
Prepairing for C++ integration.
[flightgear.git] / Astro / stars.h
index 19524e12084b3aa9af4ec9ad68a147b8ddfbbda4..c4247ab3afe9d27a69a6ed1971cf4c3ebd62e4e6 100644 (file)
  **************************************************************************/
 
 
-#ifndef STARS_H
-#define STARS_H
+#ifndef _STARS_H
+#define _STARS_H
+
+
+#ifdef __cplusplus                                                          
+extern "C" {                            
+#endif                                   
 
 
 #define FG_MAX_STARS 500
 #define FG_MIN_STAR_MAG 0.738750 /* magnitude of weakest star we'll display */
 
 /* Initialize the Star Management Subsystem */
-void fgStarsInit();
+int fgStarsInit( void );
 
 /* Draw the Stars */
-void fgStarsRender();
+void fgStarsRender( void );
 extern struct OrbElements pltOrbElements[9];
 extern struct fgTIME cur_time_params;
 
-#endif /* STARS_H */
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif /* _STARS_H */
 
 
 /* $Log$
-/* Revision 1.1  1998/01/07 03:16:20  curt
-/* Moved from .../Src/Scenery/ to .../Src/Astro/
+/* Revision 1.5  1998/04/21 17:02:33  curt
+/* Prepairing for C++ integration.
 /*
+ * Revision 1.4  1998/02/12 21:59:39  curt
+ * Incorporated code changes contributed by Charlie Hotchkiss
+ * <chotchkiss@namg.us.anritsu.com>
+ *
+ * Revision 1.3  1998/01/22 02:59:28  curt
+ * Changed #ifdef FILE_H to #ifdef _FILE_H
+ *
+ * Revision 1.2  1998/01/19 18:40:18  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:20  curt
+ * Moved from .../Src/Scenery/ to .../Src/Astro/
+ *
  * Revision 1.6  1997/10/25 03:18:29  curt
  * Incorporated sun, moon, and planet position and rendering code contributed
  * by Durk Talsma.