diff options
Diffstat (limited to 'vfg/src/music.h')
| -rwxr-xr-x | vfg/src/music.h | 10 |
1 files changed, 5 insertions, 5 deletions
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<int,lyric*> 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;
|
