#ifndef BGANIMATIONLAYER_H #define BGANIMATIONLAYER_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 "Sprite.h" const int MAX_TILES_WIDE = 11; const int MAX_TILES_HIGH = 8; const int MAX_SPRITES = MAX_TILES_WIDE*MAX_TILES_HIGH; class BGAnimationLayer { public: BGAnimationLayer(); virtual ~BGAnimationLayer() { } void LoadFromStaticGraphic( CString sPath ); void LoadFromAniLayerFile( CString sPath, CString sSongBGPath ); void LoadFromMovie( CString sMoviePath, bool bLoop, bool bRewind ); void LoadFromVisualization( CString sMoviePath ); virtual void Update( float fDeltaTime ); virtual void Draw(); virtual void SetDiffuse( RageColor c ) { for(int i=0; i