2002-11-16 08:07:38 +00:00
|
|
|
#ifndef TRANSITIONFADE_H
|
|
|
|
|
#define TRANSITIONFADE_H
|
2001-11-04 19:34:28 +00:00
|
|
|
/*
|
|
|
|
|
-----------------------------------------------------------------------------
|
2002-08-01 03:15:27 +00:00
|
|
|
Class: TransitionFade
|
2001-11-04 19:34:28 +00:00
|
|
|
|
2002-08-01 03:15:27 +00:00
|
|
|
Desc: Fades whole screen to color.
|
2001-11-04 19:34:28 +00:00
|
|
|
|
2002-05-19 01:59:48 +00:00
|
|
|
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
|
2002-08-01 03:15:27 +00:00
|
|
|
Chris Danford
|
2001-11-04 19:34:28 +00:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
*/
|
2001-11-03 10:52:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "Transition.h"
|
2002-05-19 01:59:48 +00:00
|
|
|
#include "Quad.h"
|
2001-11-03 10:52:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
class TransitionFade : public Transition
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
TransitionFade();
|
2002-01-16 10:01:32 +00:00
|
|
|
virtual ~TransitionFade();
|
2001-11-03 10:52:42 +00:00
|
|
|
|
2002-05-19 01:59:48 +00:00
|
|
|
virtual void DrawPrimitives();
|
2001-11-03 10:52:42 +00:00
|
|
|
|
2002-01-16 10:01:32 +00:00
|
|
|
protected:
|
2002-05-19 01:59:48 +00:00
|
|
|
Quad m_rect;
|
2001-11-03 10:52:42 +00:00
|
|
|
};
|
|
|
|
|
|
2002-11-16 08:07:38 +00:00
|
|
|
|
|
|
|
|
#endif
|