From bbeed54d2c0572d9fc12edab14781dd544dc149a Mon Sep 17 00:00:00 2001 From: Comment Date: Fri, 30 Nov 2012 13:30:48 +0000 Subject: demo v0.9 --- vfg/src/music.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'vfg/src/music.h') diff --git a/vfg/src/music.h b/vfg/src/music.h index 3a9f299..8733bb1 100755 --- a/vfg/src/music.h +++ b/vfg/src/music.h @@ -144,7 +144,7 @@ class lyricscore: public score { } } - void draw(); + void draw(float hOffs); private: map lyrics; ofTrueTypeFont font; @@ -157,8 +157,8 @@ class musicscore: public score { musicscore(); void parseMidi(string filename); void setTimeframe(int millis); - void drawNotes(levelscore *levels); - void drawFlakes(levelscore *levels,float scale); + void drawNotes(float hOffs,levelscore *levels); + void drawFlakes(float hOffs,levelscore *levels,float scale); void playerControl(int key); void makeFlakes(int threshStart,int threshEnd,levelscore *levels); void printNotes(); @@ -189,8 +189,8 @@ class song { void setTimeframe(int millis); void setFlakeThresh(int tS,int tE); void setKeyThresh(int millis); - void drawNotes(); - void draw(float scale); + void drawNotes(float hOffs); + void draw(float hOffs,float scale); int missedNote(); int hitNote(); bool isPlaying; -- cgit v1.2.3