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

GrooveGraph.h

Go to the documentation of this file.
00001 /* GrooveGraph - The song's GrooveGraph displayed in SelectSong. */ 00002 00003 #ifndef GROOVE_GRAPH_H 00004 #define GROOVE_GRAPH_H 00005 00006 #include "ActorFrame.h" 00007 #include "Sprite.h" 00008 #include "GameConstantsAndTypes.h" 00009 #include "Difficulty.h" 00010 class Song; 00011 00012 00013 class GrooveGraph : public ActorFrame 00014 { 00015 public: 00016 GrooveGraph(); 00017 00018 void SetFromSong( Song* pSong ); // NULL means no Song 00019 00020 void TweenOnScreen(); 00021 void TweenOffScreen(); 00022 00023 protected: 00024 00025 class Mountain : public Actor 00026 { 00027 public: 00028 Mountain(); 00029 00030 virtual void Update( float fDeltaTime ); 00031 virtual void DrawPrimitives(); 00032 00033 void SetValues( float fNewValues[] ); 00034 00035 float m_fPercentTowardNew; 00036 float m_fValuesNew[NUM_DIFFICULTIES]; 00037 float m_fValuesOld[NUM_DIFFICULTIES]; 00038 }; 00039 00040 Sprite m_sprBase; 00041 Mountain m_Mountains[NUM_RADAR_CATEGORIES]; 00042 }; 00043 00044 #endif 00045 00046 /* 00047 * (c) 2003-2004 Chris Danford 00048 * All rights reserved. 00049 * 00050 * Permission is hereby granted, free of charge, to any person obtaining a 00051 * copy of this software and associated documentation files (the 00052 * "Software"), to deal in the Software without restriction, including 00053 * without limitation the rights to use, copy, modify, merge, publish, 00054 * distribute, and/or sell copies of the Software, and to permit persons to 00055 * whom the Software is furnished to do so, provided that the above 00056 * copyright notice(s) and this permission notice appear in all copies of 00057 * the Software and that both the above copyright notice(s) and this 00058 * permission notice appear in supporting documentation. 00059 * 00060 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00061 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00062 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00063 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00064 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00065 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00066 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00067 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00068 * PERFORMANCE OF THIS SOFTWARE. 00069 */

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