2002-11-16 08:07:38 +00:00
|
|
|
#ifndef TIPDISPLAY_H
|
|
|
|
|
#define TIPDISPLAY_H
|
2002-01-16 10:01:32 +00:00
|
|
|
/*
|
|
|
|
|
-----------------------------------------------------------------------------
|
2002-08-20 21:00:56 +00:00
|
|
|
Class: TipDisplay
|
2002-01-16 10:01:32 +00:00
|
|
|
|
2002-08-20 21:00:56 +00:00
|
|
|
Desc: A BitmapText that cycles through messages.
|
2002-01-16 10:01:32 +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-20 21:00:56 +00:00
|
|
|
Chris Danford
|
2002-01-16 10:01:32 +00:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "Sprite.h"
|
|
|
|
|
#include "Song.h"
|
|
|
|
|
#include "ActorFrame.h"
|
|
|
|
|
#include "BitmapText.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class TipDisplay : public ActorFrame
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
TipDisplay();
|
|
|
|
|
void SetTips( CStringArray &arrayTips );
|
|
|
|
|
|
2002-02-24 01:43:11 +00:00
|
|
|
virtual void Update( float fDeltaTime );
|
2002-01-16 10:01:32 +00:00
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
BitmapText m_textTip;
|
|
|
|
|
|
|
|
|
|
CStringArray m_arrayTips;
|
2002-07-23 01:41:40 +00:00
|
|
|
int m_iCurTipIndex;
|
2002-01-16 10:01:32 +00:00
|
|
|
|
2002-07-23 01:41:40 +00:00
|
|
|
float m_fSecsUntilSwitch;
|
2002-01-16 10:01:32 +00:00
|
|
|
};
|
2002-11-16 08:07:38 +00:00
|
|
|
|
|
|
|
|
#endif
|