Files
itgmania212121/stepmania/src/BGAnimation.h
T

54 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 );
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 );
void GainingFocus( float fRate, bool bRewindMovie, bool bLoop );
2002-09-29 05:06:18 +00:00
void LosingFocus();
2003-03-05 08:48:35 +00:00
float GetLengthSeconds() { return m_fLengthSeconds; }
2003-07-10 03:37:13 +00:00
void PlayOffCommand();
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