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

ScreenEndlessBreak.h

Go to the documentation of this file.
00001 /* Class: ScreenEndlessBreak - Break periods during endless mode. */ 00002 00003 #ifndef SCREENENDLESSBREAK_H 00004 #define SCREENENDLESSBREAK_H 00005 00006 #include "Screen.h" 00007 #include "PrefsManager.h" 00008 #include "Banner.h" 00009 #include "Character.h" 00010 #include "GameState.h" 00011 #include "ThemeManager.h" 00012 #include "BitmapText.h" 00013 #include "Transition.h" 00014 00015 // Sent to ScreenGameplay so it can keep all it's data ready for when we resume play. 00016 const ScreenMessage SM_BreakInitiated = ScreenMessage(SM_User+100); 00017 const ScreenMessage SM_BreakCompleted = ScreenMessage(SM_User+101); 00018 00019 class ScreenEndlessBreak : public Screen 00020 { 00021 public: 00022 ScreenEndlessBreak( CString sName ); 00023 00024 virtual void DrawPrimitives(); 00025 virtual void Update(float fDeltaTime); 00026 virtual void Input(const DeviceInput &DeviceI, const InputEventType type, const GameInput *GameI, const MenuInput &MenuI, const StyleInput &StyleI); 00027 00028 private: 00029 Banner m_sprBreakPicture; 00030 BitmapText m_textTimeRemaining; 00031 float m_fCountdownSecs; 00032 Transition m_In; 00033 Transition m_Out; 00034 bool m_bExiting; 00035 }; 00036 #endif 00037 00038 /* 00039 * (c) 2001-2003 Kevin Slaughter 00040 * All rights reserved. 00041 * 00042 * Permission is hereby granted, free of charge, to any person obtaining a 00043 * copy of this software and associated documentation files (the 00044 * "Software"), to deal in the Software without restriction, including 00045 * without limitation the rights to use, copy, modify, merge, publish, 00046 * distribute, and/or sell copies of the Software, and to permit persons to 00047 * whom the Software is furnished to do so, provided that the above 00048 * copyright notice(s) and this permission notice appear in all copies of 00049 * the Software and that both the above copyright notice(s) and this 00050 * permission notice appear in supporting documentation. 00051 * 00052 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00053 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00054 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00055 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00056 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00057 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00058 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00059 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00060 * PERFORMANCE OF THIS SOFTWARE. 00061 */ 00062

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