1998-09-24 15:36:19 +00:00
|
|
|
// stars.hxx -- data structures and routines for managing and rendering stars.
|
|
|
|
//
|
|
|
|
// Written by Curtis Olson, started August 1997.
|
|
|
|
//
|
|
|
|
// Copyright (C) 1997 Curtis L. Olson - curt@me.umn.edu
|
|
|
|
//
|
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU General Public License as
|
|
|
|
// published by the Free Software Foundation; either version 2 of the
|
|
|
|
// License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful, but
|
|
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
// General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with this program; if not, write to the Free Software
|
|
|
|
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
//
|
|
|
|
// $Id$
|
1998-01-07 03:16:15 +00:00
|
|
|
|
|
|
|
|
1998-04-22 13:21:26 +00:00
|
|
|
#ifndef _STARS_HXX
|
|
|
|
#define _STARS_HXX
|
1998-01-07 03:16:15 +00:00
|
|
|
|
|
|
|
|
1998-04-22 13:21:26 +00:00
|
|
|
#ifndef __cplusplus
|
|
|
|
# error This library requires C++
|
1998-04-21 17:02:27 +00:00
|
|
|
#endif
|
|
|
|
|
1998-09-15 04:26:07 +00:00
|
|
|
#include <Time/fg_time.hxx>
|
1998-04-21 17:02:27 +00:00
|
|
|
|
1998-09-24 15:36:19 +00:00
|
|
|
#define FG_STAR_LEVELS 8 // how many star transitions
|
1998-01-07 03:16:15 +00:00
|
|
|
|
1998-09-24 15:36:19 +00:00
|
|
|
// Initialize the Star Management Subsystem
|
1998-02-12 21:58:27 +00:00
|
|
|
int fgStarsInit( void );
|
1998-01-07 03:16:15 +00:00
|
|
|
|
1998-09-24 15:36:19 +00:00
|
|
|
// Draw the Stars
|
1998-01-19 18:40:15 +00:00
|
|
|
void fgStarsRender( void );
|
1998-04-28 01:18:59 +00:00
|
|
|
|
1999-01-19 20:57:00 +00:00
|
|
|
// [no longer used?] extern struct OrbElements pltOrbElements[9];
|
1998-04-28 01:18:59 +00:00
|
|
|
extern fgTIME cur_time_params;
|
1998-01-07 03:16:15 +00:00
|
|
|
|
1998-04-21 17:02:27 +00:00
|
|
|
|
1998-09-24 15:36:19 +00:00
|
|
|
#endif // _STARS_HXX
|
1998-01-07 03:16:15 +00:00
|
|
|
|
|
|
|
|