/* * PlanetPenguin Racer * Copyright (C) 2004-2005 Volker Stroebel * * 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. */ #include "intro.h" #include "ppogl/base/defs.h" #include "keyframe.h" #include "course_render.h" #include "gl_util.h" #include "fps.h" #include "loop.h" #include "render_util.h" #include "view.h" #include "tux.h" #include "tux_shadow.h" #include "fog.h" #include "hud.h" #include "viewfrustum.h" #include "phys_sim.h" #include "part_sys.h" #include "course_load.h" #include "joystick.h" #include "winsys.h" #include "course_mgr.h" #include "lights.h" #include "game_mgr.h" #include "bench.h" Intro::Intro() { ppogl::Vec2d start_pt = Course::getStartPt(); GameMgr::getInstance().time = 0.0; if(Benchmark::getMode()==Benchmark::PAUSED){ Course::setStartPt(Benchmark::getPosition()); }else{ for(int i=0; i