Files
itgmania212121/stepmania/src/BGAnimation.h
T
Chris Danford cfe1f9ec67 Add parameters to BackgroundChange: fRate, bFadeLast, bRewindMovie, bLoop.
I don't like how this changes the syntax for the #BGCHANGES tag in an SM file.  I will think more about this - it's important to finalize it quickly.
2003-04-14 04:10:01 +00:00

52 lines
1.1 KiB
C++

#ifndef BGANIMATION_H
#define BGANIMATION_H
/*
-----------------------------------------------------------------------------
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 );
virtual void Update( float fDeltaTime );
virtual void DrawPrimitives();
virtual void SetDiffuse( const RageColor &c );
void GainingFocus( float fRate, bool bRewindMovie, bool bLoop );
void LosingFocus();
float GetLengthSeconds() { return m_fLengthSeconds; }
protected:
vector<BGAnimationLayer*> m_Layers;
float m_fLengthSeconds;
};
#endif