]> git.mxchange.org Git - flightgear.git/blob - Simulator/Astro/stars.hxx
Merge FG_Tools as subdirectory
[flightgear.git] / Simulator / Astro / stars.hxx
1 // stars.hxx -- data structures and routines for managing and rendering stars.
2 //
3 // Written by Curtis Olson, started August 1997.
4 //
5 // Copyright (C) 1997  Curtis L. Olson  - curt@me.umn.edu
6 //
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License as
9 // published by the Free Software Foundation; either version 2 of the
10 // License, or (at your option) any later version.
11 //
12 // This program is distributed in the hope that it will be useful, but
13 // WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 // General Public License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with this program; if not, write to the Free Software
19 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 //
21 // $Id$
22 // (Log is kept at end of this file)
23
24
25 #ifndef _STARS_HXX
26 #define _STARS_HXX
27
28
29 #ifndef __cplusplus                                                          
30 # error This library requires C++
31 #endif                                   
32
33 #include <Time/fg_time.hxx>
34
35 #define FG_STAR_LEVELS 8         // how many star transitions
36
37 // Initialize the Star Management Subsystem
38 int fgStarsInit( void );
39
40 // Draw the Stars
41 void fgStarsRender( void );
42
43 // [no longer used?] extern struct OrbElements pltOrbElements[9];
44 extern fgTIME cur_time_params;
45
46
47 #endif // _STARS_HXX
48
49
50 // $Log$
51 // Revision 1.8  1999/01/19 20:57:00  curt
52 // MacOS portability changes contributed by "Robert Puyol" <puyol@abvent.fr>
53 //
54 // Revision 1.7  1998/09/24 15:36:20  curt
55 // Converted to c++ style comments.
56 //
57 // Revision 1.6  1998/09/24 15:25:26  curt
58 // Miscellaneous tweaks.
59 //
60 //
61 // Revision 1.5  1998/09/17 18:25:13  curt
62 // Fixed output message.
63 //
64 // Revision 1.4  1998/09/15 04:26:23  curt
65 // New textured moon and rewritten/restructured Astro code contributed by Durk
66 // Talsma.
67 //
68 // Revision 1.3  1998/08/06 12:45:20  curt
69 // Modified to bring in stars in 8 increments based on magnitude, not number
70 // of stars.
71 //
72 // Revision 1.2  1998/04/28 01:19:03  curt
73 // Type-ified fgTIME and fgVIEW
74 //
75 // Revision 1.1  1998/04/22 13:21:35  curt
76 // C++ - ifing the code a bit.
77 //
78 // Revision 1.5  1998/04/21 17:02:33  curt
79 // Prepairing for C++ integration.
80 //
81 // Revision 1.4  1998/02/12 21:59:39  curt
82 // Incorporated code changes contributed by Charlie Hotchkiss
83 // <chotchkiss@namg.us.anritsu.com>
84 //
85 // Revision 1.3  1998/01/22 02:59:28  curt
86 // Changed #ifdef FILE_H to #ifdef _FILE_H
87 //
88 // Revision 1.2  1998/01/19 18:40:18  curt
89 // Tons of little changes to clean up the code and to remove fatal errors
90 // when building with the c++ compiler.
91 //
92 // Revision 1.1  1998/01/07 03:16:20  curt
93 // Moved from .../Src/Scenery/ to .../Src/Astro/
94 //
95 // Revision 1.6  1997/10/25 03:18:29  curt
96 // Incorporated sun, moon, and planet position and rendering code contributed
97 // by Durk Talsma.
98 //
99 // Revision 1.5  1997/09/18 16:20:09  curt
100 // At dusk/dawn add/remove stars in stages.
101 //
102 // Revision 1.4  1997/09/05 01:36:00  curt
103 // Working on getting stars right.
104 //
105 // Revision 1.3  1997/08/29 17:55:28  curt
106 // Worked on properly aligning the stars.
107 //
108 // Revision 1.2  1997/08/27 21:32:30  curt
109 // Restructured view calculation code.  Added stars.
110 //
111 // Revision 1.1  1997/08/27 03:34:50  curt
112 // Initial revision.
113 //
114