00001 #ifndef _SCREEN_TITLE_H 00002 #define _SCREEN_TITLE_H 00003 00004 #include "MercuryScreen.h" 00005 #include "MercuryText.h" 00006 #include "MercuryLight.h" 00007 00009 class ScreenHgTitle : public MercuryScreen 00010 { 00011 public: 00012 ScreenHgTitle( ):MercuryScreen( ) { } 00013 ScreenHgTitle( const MString & name ):MercuryScreen( name ) { m_name = name; } 00014 virtual ~ScreenHgTitle(); 00015 virtual void Update( const float dTime ); 00016 virtual void Init(); 00017 virtual void Message( int Message, PStack & data, const MString & name ); 00018 CLASS_RTTI( ScreenHgTitle, MercuryScreen ); 00019 private: 00020 MercuryModel* m_mercury; 00021 MercurySprite m_logo; 00022 MercuryLight m_light; 00023 float fTotalTime; 00024 int m_iDirection; 00025 }; 00026 00027 #endif 00028 00029 /* 00030 * Copyright (c) 2005-2006, Joshua Allen 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 */