Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

ScreenSystemLayer.h

Go to the documentation of this file.
00001 /* ScreenSystemLayer - 00002 * This screen is drawn on top of everything else, and receives updates, 00003 * but not input. 00004 */ 00005 00006 #ifndef ScreenSystemLayer_H 00007 #define ScreenSystemLayer_H 00008 00009 #include "Screen.h" 00010 #include "BitmapText.h" 00011 #include "Quad.h" 00012 00013 const int NUM_SKIPS_TO_SHOW = 5; 00014 00015 class ScreenSystemLayer : public Screen 00016 { 00017 BitmapText m_textStats; 00018 BitmapText m_textMessage; 00019 BitmapText m_textCredits[NUM_PLAYERS]; 00020 BitmapText m_textTime; 00021 BitmapText m_textSkips[NUM_SKIPS_TO_SHOW]; 00022 int m_LastSkip; 00023 Quad m_SkipBackground; 00024 00025 RageTimer SkipTimer; 00026 void AddTimestampLine( const CString &txt, const RageColor &color ); 00027 void UpdateTimestampAndSkips(); 00028 00029 public: 00030 ScreenSystemLayer(); 00031 void SystemMessage( const CString &sMessage ); 00032 void SystemMessageNoAnimate( const CString &sMessage ); 00033 void ReloadCreditsText(); 00034 void RefreshCreditsMessages(); 00035 void Update( float fDeltaTime ); 00036 }; 00037 00038 00039 #endif 00040 00041 /* 00042 * (c) 2001-2004 Chris Danford 00043 * All rights reserved. 00044 * 00045 * Permission is hereby granted, free of charge, to any person obtaining a 00046 * copy of this software and associated documentation files (the 00047 * "Software"), to deal in the Software without restriction, including 00048 * without limitation the rights to use, copy, modify, merge, publish, 00049 * distribute, and/or sell copies of the Software, and to permit persons to 00050 * whom the Software is furnished to do so, provided that the above 00051 * copyright notice(s) and this permission notice appear in all copies of 00052 * the Software and that both the above copyright notice(s) and this 00053 * permission notice appear in supporting documentation. 00054 * 00055 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00056 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00057 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00058 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00059 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00060 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00061 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00062 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00063 * PERFORMANCE OF THIS SOFTWARE. 00064 */

Generated on Thu Jan 27 20:57:33 2005 for StepMania by doxygen 1.3.7