00001 /* ScreenStage - Shows the stage number. */ 00002 00003 #ifndef SCREEN_STAGE_H 00004 #define SCREEN_STAGE_H 00005 00006 #include "Screen.h" 00007 #include "Transition.h" 00008 #include "Sprite.h" 00009 #include "Character.h" 00010 #include "BitmapText.h" 00011 #include "ActorUtil.h" 00012 00013 class ScreenStage : public Screen 00014 { 00015 public: 00016 ScreenStage( CString sName ); 00017 00018 virtual void HandleScreenMessage( const ScreenMessage SM ); 00019 virtual void Update( float fDeltaTime ); 00020 virtual void MenuBack( PlayerNumber pn ); 00021 00022 private: 00023 Transition m_In, m_Out, m_Back; 00024 AutoActor m_Overlay; // overlays all elements except bitmaptexts 00025 BitmapText m_SongTitle; 00026 BitmapText m_Artist; 00027 00028 // elements that cannot be created with BGAnimation 00029 Sprite m_sprCharacterIcon[NUM_PLAYERS]; 00030 00031 bool m_bZeroDeltaOnNextUpdate; 00032 }; 00033 00034 #endif 00035 00036 /* 00037 * (c) 2001-2004 Chris Danford 00038 * All rights reserved. 00039 * 00040 * Permission is hereby granted, free of charge, to any person obtaining a 00041 * copy of this software and associated documentation files (the 00042 * "Software"), to deal in the Software without restriction, including 00043 * without limitation the rights to use, copy, modify, merge, publish, 00044 * distribute, and/or sell copies of the Software, and to permit persons to 00045 * whom the Software is furnished to do so, provided that the above 00046 * copyright notice(s) and this permission notice appear in all copies of 00047 * the Software and that both the above copyright notice(s) and this 00048 * permission notice appear in supporting documentation. 00049 * 00050 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00051 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00052 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00053 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00054 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00055 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00056 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00057 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00058 * PERFORMANCE OF THIS SOFTWARE. 00059 */