]> git.mxchange.org Git - flightgear.git/blob - Astro/sky.h
065698635d273d71dbd29a70cc26ac3e3dd6f102
[flightgear.git] / Astro / sky.h
1 /**************************************************************************
2  * sky.h -- model sky with an upside down "bowl"
3  *
4  * Written by Curtis Olson, started December 1997.
5  *
6  * Copyright (C) 1997  Curtis L. Olson  - curt@infoplane.com
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License as
10  * published by the Free Software Foundation; either version 2 of the
11  * License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21  *
22  * $Id$
23  * (Log is kept at end of this file)
24  **************************************************************************/
25
26
27 #ifndef _SKY_H
28 #define _SKY_H
29
30
31 #ifdef __cplusplus                                                          
32 extern "C" {                            
33 #endif                                   
34
35
36 /* (Re)generate the display list */
37 void fgSkyInit( void );
38
39 /* (Re)calculate the sky colors at each vertex */
40 void fgSkyColorsInit( void );
41
42 /* Draw the Sky */
43 void fgSkyRender( void );
44
45
46 #ifdef __cplusplus
47 }
48 #endif
49
50
51 #endif /* _SKY_H */
52
53
54 /* $Log$
55 /* Revision 1.4  1998/04/21 17:02:32  curt
56 /* Prepairing for C++ integration.
57 /*
58  * Revision 1.3  1998/01/22 02:59:28  curt
59  * Changed #ifdef FILE_H to #ifdef _FILE_H
60  *
61  * Revision 1.2  1998/01/19 18:40:17  curt
62  * Tons of little changes to clean up the code and to remove fatal errors
63  * when building with the c++ compiler.
64  *
65  * Revision 1.1  1998/01/07 03:16:19  curt
66  * Moved from .../Src/Scenery/ to .../Src/Astro/
67  *
68  * Revision 1.2  1997/12/22 23:45:49  curt
69  * First stab at sunset/sunrise sky glow effects.
70  *
71  * Revision 1.1  1997/12/17 23:14:31  curt
72  * Initial revision.
73  * Begin work on rendering the sky. (Rather than just using a clear screen.)
74  *
75  */