2003-01-08 23:43:54 +00:00
|
|
|
#ifndef ScreenAttract_H
|
|
|
|
|
#define ScreenAttract_H
|
2002-12-02 05:25:44 +00:00
|
|
|
/*
|
|
|
|
|
-----------------------------------------------------------------------------
|
2003-01-08 23:43:54 +00:00
|
|
|
Class: ScreenAttract
|
2002-12-02 05:25:44 +00:00
|
|
|
|
2003-01-10 02:22:07 +00:00
|
|
|
Desc: Base class for all attraction screens. This class handles input
|
|
|
|
|
and coin logic
|
2002-12-02 05:25:44 +00:00
|
|
|
|
|
|
|
|
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
|
|
|
|
|
Chris Danford
|
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "Screen.h"
|
2003-04-13 01:09:19 +00:00
|
|
|
#include "Transition.h"
|
2002-12-02 05:25:44 +00:00
|
|
|
#include "RandomSample.h"
|
2003-01-08 23:43:54 +00:00
|
|
|
#include "BGAnimation.h"
|
2002-12-02 05:25:44 +00:00
|
|
|
|
2003-01-08 23:43:54 +00:00
|
|
|
|
|
|
|
|
class ScreenAttract : public Screen
|
2002-12-02 05:25:44 +00:00
|
|
|
{
|
|
|
|
|
public:
|
2004-01-07 02:56:47 +00:00
|
|
|
ScreenAttract( CString sClassName, bool bResetGameState=true );
|
2003-01-08 23:43:54 +00:00
|
|
|
virtual ~ScreenAttract();
|
2002-12-02 05:25:44 +00:00
|
|
|
|
|
|
|
|
virtual void Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI );
|
2003-03-09 00:55:49 +00:00
|
|
|
static void AttractInput( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI, bool bTransitioning );
|
2003-01-08 23:43:54 +00:00
|
|
|
virtual void Update( float fDelta );
|
2002-12-02 05:25:44 +00:00
|
|
|
virtual void HandleScreenMessage( const ScreenMessage SM );
|
|
|
|
|
|
2003-01-10 02:22:07 +00:00
|
|
|
protected:
|
|
|
|
|
|
2004-01-17 23:14:56 +00:00
|
|
|
BGAnimation m_Background;
|
|
|
|
|
Transition m_In;
|
|
|
|
|
Transition m_Out;
|
2002-12-02 05:25:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2003-02-15 01:02:15 +00:00
|
|
|
#endif
|