Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

Foreground.h

Go to the documentation of this file.
00001 #ifndef FOREGROUND_H 00002 #define FOREGROUND_H 00003 00004 #include "ActorFrame.h" 00005 #include "song.h" 00006 class BGAnimation; 00007 00008 class Foreground: public ActorFrame 00009 { 00010 public: 00011 ~Foreground(); 00012 00013 void Unload(); 00014 00015 void LoadFromSong( const Song *pSong ); 00016 00017 virtual void Update( float fDeltaTime ); 00018 00019 protected: 00020 void LoadFromAniDir( CString sAniDir ); 00021 struct LoadedBGA 00022 { 00023 BGAnimation *m_bga; 00024 float m_fStartBeat; 00025 float m_fStopBeat; 00026 }; 00027 00028 vector<LoadedBGA> m_BGAnimations; 00029 float m_fLastMusicSeconds; 00030 const Song *m_pSong; 00031 }; 00032 00033 #endif 00034 00035 /* 00036 * (c) 2004 Glenn Maynard 00037 * All rights reserved. 00038 * 00039 * Permission is hereby granted, free of charge, to any person obtaining a 00040 * copy of this software and associated documentation files (the 00041 * "Software"), to deal in the Software without restriction, including 00042 * without limitation the rights to use, copy, modify, merge, publish, 00043 * distribute, and/or sell copies of the Software, and to permit persons to 00044 * whom the Software is furnished to do so, provided that the above 00045 * copyright notice(s) and this permission notice appear in all copies of 00046 * the Software and that both the above copyright notice(s) and this 00047 * permission notice appear in supporting documentation. 00048 * 00049 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00050 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00051 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00052 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00053 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00054 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00055 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00056 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00057 * PERFORMANCE OF THIS SOFTWARE. 00058 */

Generated on Thu Jan 27 20:57:20 2005 for StepMania by doxygen 1.3.7