1 /**************************************************************************
2 * sky.hxx -- model sky with an upside down "bowl"
4 * Written by Curtis Olson, started December 1997.
6 * Copyright (C) 1997 Curtis L. Olson - curt@infoplane.com
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.
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.
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.
23 * (Log is kept at end of this file)
24 **************************************************************************/
32 # error This library requires C++
36 /* (Re)generate the display list */
37 void fgSkyInit( void );
39 /* (Re)calculate the sky colors at each vertex */
40 void fgSkyColorsInit( void );
43 void fgSkyRender( void );
50 /* Revision 1.1 1998/04/22 13:21:33 curt
51 /* C++ - ifing the code a bit.
53 * Revision 1.4 1998/04/21 17:02:32 curt
54 * Prepairing for C++ integration.
56 * Revision 1.3 1998/01/22 02:59:28 curt
57 * Changed #ifdef FILE_H to #ifdef _FILE_H
59 * Revision 1.2 1998/01/19 18:40:17 curt
60 * Tons of little changes to clean up the code and to remove fatal errors
61 * when building with the c++ compiler.
63 * Revision 1.1 1998/01/07 03:16:19 curt
64 * Moved from .../Src/Scenery/ to .../Src/Astro/
66 * Revision 1.2 1997/12/22 23:45:49 curt
67 * First stab at sunset/sunrise sky glow effects.
69 * Revision 1.1 1997/12/17 23:14:31 curt
71 * Begin work on rendering the sky. (Rather than just using a clear screen.)