Files
itgmania212121/stepmania/src/BGAnimation.h
T

39 lines
844 B
C++
Raw Normal View History

#ifndef BGANIMATION_H
#define BGANIMATION_H
2002-09-29 05:06:18 +00:00
/*
-----------------------------------------------------------------------------
Class: BGAnimation
2004-02-01 03:14:37 +00:00
Desc: An ActorFrame that loads itself
2002-09-29 05:06:18 +00:00
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Ben Nordstrom
Chris Danford
-----------------------------------------------------------------------------
*/
2004-01-25 22:22:40 +00:00
#include "ActorScroller.h"
2002-09-29 05:06:18 +00:00
2004-02-01 03:14:37 +00:00
class BGAnimation : public ActorScroller
2002-09-29 05:06:18 +00:00
{
public:
BGAnimation( bool Generic=false );
2002-09-29 05:06:18 +00:00
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
2003-11-07 20:43:03 +00:00
float GetLengthSeconds() const { return m_fLengthSeconds; }
2003-03-05 08:48:35 +00:00
2002-09-29 05:06:18 +00:00
protected:
2003-03-05 02:52:40 +00:00
float m_fLengthSeconds;
bool m_bGeneric;
2002-09-29 05:06:18 +00:00
};
#endif