2001-11-04 19:34:28 +00:00
|
|
|
/*
|
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
File: TransitionStarWipe.cpp
|
2001-11-03 10:52:42 +00:00
|
|
|
|
2001-11-04 19:34:28 +00:00
|
|
|
Desc: Shooting start across the screen leave a black trail.
|
|
|
|
|
|
2002-05-19 01:59:48 +00:00
|
|
|
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
|
2001-11-04 19:34:28 +00:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
*/
|
2001-11-03 10:52:42 +00:00
|
|
|
|
|
|
|
|
#ifndef _TransitionStarWipe_H_
|
|
|
|
|
#define _TransitionStarWipe_H_
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "Transition.h"
|
2002-05-19 01:59:48 +00:00
|
|
|
#include "Quad.h"
|
2001-11-03 10:52:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
class TransitionStarWipe : public Transition
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
TransitionStarWipe();
|
|
|
|
|
~TransitionStarWipe();
|
|
|
|
|
|
2002-05-19 01:59:48 +00:00
|
|
|
virtual void DrawPrimitives();
|
2001-11-03 10:52:42 +00:00
|
|
|
|
2002-05-19 01:59:48 +00:00
|
|
|
void OpenWipingRight( ScreenMessage send_when_done );
|
|
|
|
|
void OpenWipingLeft( ScreenMessage send_when_done );
|
|
|
|
|
void CloseWipingRight(ScreenMessage send_when_done );
|
|
|
|
|
void CloseWipingLeft( ScreenMessage send_when_done );
|
2001-11-03 10:52:42 +00:00
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
void LoadNewStarSprite( CString sFileName );
|
|
|
|
|
|
|
|
|
|
Sprite m_sprStar;
|
|
|
|
|
int m_iStarWidth;
|
|
|
|
|
int m_iStarHeight;
|
2002-01-16 10:01:32 +00:00
|
|
|
|
2002-05-19 01:59:48 +00:00
|
|
|
Quad m_rect;
|
2001-11-03 10:52:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2002-11-16 20:19:35 +00:00
|
|
|
#endif
|