Files
itgmania212121/stepmania/src/BGAnimation.h
T

52 lines
1.1 KiB
C++
Raw Normal View History

#ifndef BGANIMATION_H
#define BGANIMATION_H
2002-09-29 05:06:18 +00:00
/*
-----------------------------------------------------------------------------
Class: BGAnimation
Desc: Particles that play in the background of ScreenGameplay
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Ben Nordstrom
Chris Danford
-----------------------------------------------------------------------------
*/
#include "GameConstantsAndTypes.h"
#include "ActorFrame.h"
class BGAnimationLayer;
class BGAnimation : public ActorFrame
{
public:
BGAnimation();
virtual ~BGAnimation();
void Unload();
void LoadFromStaticGraphic( CString sPath );
void LoadFromAniDir( CString sAniDir );
void LoadFromMovie( CString sMoviePath, bool bLoop, bool bRewind );
void LoadFromVisualization( CString sMoviePath );
2002-09-29 05:06:18 +00:00
virtual void Update( float fDeltaTime );
virtual void DrawPrimitives();
virtual void SetDiffuse( const RageColor &c );
2002-09-29 05:06:18 +00:00
void GainingFocus();
void LosingFocus();
2003-03-05 08:48:35 +00:00
float GetLengthSeconds() { return m_fLengthSeconds; }
2002-09-29 05:06:18 +00:00
protected:
2003-01-03 05:56:28 +00:00
vector<BGAnimationLayer*> m_Layers;
2003-03-05 02:52:40 +00:00
float m_fLengthSeconds;
2002-09-29 05:06:18 +00:00
};
#endif