diff options
| author | Comment <tim@gray.(none)> | 2012-11-30 13:30:48 +0000 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2012-11-30 13:30:48 +0000 |
| commit | bbeed54d2c0572d9fc12edab14781dd544dc149a (patch) | |
| tree | eec54a5a9741513c545abec4c750a85e1eb7e259 /vfg/src/music.h | |
| parent | 7ae1f870faebb65e9ee3a064fc43ef2fc6955a84 (diff) | |
demo v0.9
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;
|
