/* 
 * PlanetPenguin Racer 
 * Copyright (C) 2004-2005 Volker Stroebel <volker@planetpenguin.de>
 *
 * Copyright (C) 1999-2001 Jasmin F. Patry
 * 
 * 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., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */

#ifndef _COURSE_RENDER_H_
#define _COURSE_RENDER_H_

ppogl::Vec3d* get_course_normals();
void reset_course_list();
void calc_normals();
void setup_course_tex_gen();
void render_course();
void draw_background(double fov, double aspect);
void draw_sky(const ppogl::Vec3d& pos);
void draw_elements() ;
void set_course_clipping(bool state);
void set_course_eye_point(const ppogl::Vec3d& pt);
void set_course_fog(bool state);
void draw_fog_plane();

#endif // _COURSE_RENDER_H_
