00001 #ifndef SCREEN_RALLY_RACE_H 00002 #define SCREEN_RALLY_RACE_H 00003 00004 #include "ScreenOutdoors.h" 00005 #include "MercuryLight.h" 00006 #include "MercuryODE.h" 00007 #include "MercuryCamera.h" 00008 #include "MercuryLoadableModel.h" 00009 00010 class ScreenRallyRace : public ScreenOutdoors 00011 { 00012 public: 00013 ScreenRallyRace( ) { } 00014 ScreenRallyRace( const MString & name ):ScreenOutdoors( name ) { m_name = name; } 00015 virtual ~ScreenRallyRace(); 00016 00017 virtual void Init(); 00018 virtual void Update( const float dTime ); 00019 virtual void Message( int Message, PStack & data, const MString &name ); 00020 CLASS_RTTI( ScreenRallyRace, ScreenOutdoors ); 00021 private: 00022 MercuryINI m_pINI; 00023 MercuryODEWorld m_pWorld; 00024 MercuryCamera m_fCamera; 00025 }; 00026 00027 #endif 00028 00029 /* 00030 * Copyright (c) 2007, Charles Lohr 00031 * All rights reserved. 00032 * 00033 * Redistribution and use in source and binary forms, with or 00034 * without modification, are permitted provided that the following 00035 * conditions are met: 00036 * - Redistributions of source code must retain the above 00037 * copyright notice, this list of conditions and the following disclaimer. 00038 * - Redistributions in binary form must reproduce the above copyright 00039 * notice, this list of conditions and the following disclaimer in 00040 * the documentation and/or other materials provided with the distribution. 00041 * - Neither the name of the Mercury Engine nor the names of its 00042 * contributors may be used to endorse or promote products derived from 00043 * this software without specific prior written permission. 00044 * 00045 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 00046 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 00047 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 00048 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 00049 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 00050 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 00051 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 00052 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 00053 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 00054 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00055 */