2005-02-17 05:56:29 +00:00
|
|
|
/* ScreenStage - Shows the stage number. Deprecated. Replaced by ScreenSplash */
|
2002-05-20 08:59:37 +00:00
|
|
|
|
2005-02-17 05:56:29 +00:00
|
|
|
#ifndef ScreenStage_H
|
|
|
|
|
#define ScreenStage_H
|
2002-05-20 08:59:37 +00:00
|
|
|
|
|
|
|
|
#include "Screen.h"
|
2003-04-13 01:09:19 +00:00
|
|
|
#include "Transition.h"
|
2005-01-17 04:10:50 +00:00
|
|
|
#include "ActorUtil.h"
|
2005-03-12 00:31:25 +00:00
|
|
|
#include "ThemeMetric.h"
|
2002-05-20 08:59:37 +00:00
|
|
|
|
|
|
|
|
class ScreenStage : public Screen
|
|
|
|
|
{
|
|
|
|
|
public:
|
2005-02-23 06:29:05 +00:00
|
|
|
virtual void Init();
|
2002-05-20 08:59:37 +00:00
|
|
|
|
|
|
|
|
virtual void HandleScreenMessage( const ScreenMessage SM );
|
2004-05-22 01:17:09 +00:00
|
|
|
virtual void Update( float fDeltaTime );
|
2006-09-15 01:47:24 +00:00
|
|
|
virtual void MenuBack( const InputEventPlus &input );
|
2002-05-20 08:59:37 +00:00
|
|
|
|
|
|
|
|
private:
|
2005-03-12 00:31:25 +00:00
|
|
|
ThemeMetric<bool> ALLOW_BACK;
|
|
|
|
|
|
2005-03-20 06:14:41 +00:00
|
|
|
Transition m_In, m_Out, m_Cancel;
|
2005-06-19 22:48:58 +00:00
|
|
|
AutoActor m_sprOverlay;
|
2002-05-20 08:59:37 +00:00
|
|
|
};
|
|
|
|
|
|
2004-06-08 05:22:33 +00:00
|
|
|
#endif
|
2002-05-20 08:59:37 +00:00
|
|
|
|
2004-06-08 05:22:33 +00:00
|
|
|
/*
|
|
|
|
|
* (c) 2001-2004 Chris Danford
|
|
|
|
|
* All rights reserved.
|
|
|
|
|
*
|
|
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
|
|
|
* copy of this software and associated documentation files (the
|
|
|
|
|
* "Software"), to deal in the Software without restriction, including
|
|
|
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|
|
|
|
* distribute, and/or sell copies of the Software, and to permit persons to
|
|
|
|
|
* whom the Software is furnished to do so, provided that the above
|
|
|
|
|
* copyright notice(s) and this permission notice appear in all copies of
|
|
|
|
|
* the Software and that both the above copyright notice(s) and this
|
|
|
|
|
* permission notice appear in supporting documentation.
|
|
|
|
|
*
|
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
|
|
|
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
|
|
|
|
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
|
|
|
|
|
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT
|
|
|
|
|
* OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
|
|
|
|
* OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
|
|
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
|
*/
|