add song boundary marker

add "just barely"
This commit is contained in:
Chris Danford
2005-04-27 21:46:35 +00:00
parent 2836bc7c81
commit 5d398f4ad3
6 changed files with 102 additions and 34 deletions
+7 -2
View File
@@ -3,6 +3,7 @@
#include "ActorFrame.h"
#include "RageTexture.h"
#include "AutoActor.h"
struct StageStats;
struct PlayerStageStats;
@@ -12,10 +13,10 @@ class GraphDisplay: public ActorFrame
public:
GraphDisplay();
~GraphDisplay() { Unload(); }
void Load( const CString &TexturePath, float height );
void Load( const CString &sTexturePath, float fInitialHeight, const CString &sJustBarelyPath );
void Unload();
void LoadFromStageStats( const StageStats &ss, const PlayerStageStats &s );
void LoadFromStageStats( const StageStats &ss, const PlayerStageStats &s, const CString &sSongBoundaryPath );
void Update( float fDeltaTime );
void DrawPrimitives();
@@ -28,9 +29,13 @@ private:
float m_LastValues[VALUE_RESOLUTION];
float m_Position;
RectF m_quadVertices;
RageSpriteVertex Slices[4*(VALUE_RESOLUTION-1)];
RageTexture *m_pTexture;
AutoActor m_sprJustBarely;
vector<AutoActor*> m_vpSongBoundaries;
};
#endif