summaryrefslogtreecommitdiff
path: root/06_performance/src/oni.h
diff options
context:
space:
mode:
authorTim Redfern <tim@herge.(none)>2013-06-26 11:36:06 +0100
committerTim Redfern <tim@herge.(none)>2013-06-26 11:36:06 +0100
commit6e447e02cd9a2680bea5bd2dfe1c77fe5ae8efc2 (patch)
treef8e00e6438b1ad71fae523bc49a6185f5e459d38 /06_performance/src/oni.h
parentb6afccb0854ffc5656b2d328ac5639b0db5a0c78 (diff)
poper fadeout
Diffstat (limited to '06_performance/src/oni.h')
-rw-r--r--06_performance/src/oni.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/06_performance/src/oni.h b/06_performance/src/oni.h
index c858995..73edeee 100644
--- a/06_performance/src/oni.h
+++ b/06_performance/src/oni.h
@@ -42,6 +42,7 @@ class syncOniPlayer{
gamma=3.0f;
LUT=NULL;
makeLUT();
+ playerActive=false;
}
~syncOniPlayer(){
stop();
@@ -60,6 +61,7 @@ class syncOniPlayer{
void update();
void pause();
int getCurrentFrame();
+ float getPosition();
int getNumParticles();
void drawWindows();
void drawCloud(int step);
@@ -76,6 +78,8 @@ class syncOniPlayer{
set<int> pointPool;
float gamma;
uint8_t *LUT;
+ float startTime;
+ bool playerActive;
};
//========================================
class oniManager{
@@ -84,6 +88,7 @@ class oniManager{
void startPlayer(int num);
int getNumClips();
int getNumParticles();
+ syncOniPlayer* getCurrentPlayer();
void update();
void drawWindows();
void drawCloud(int step);