From 6e447e02cd9a2680bea5bd2dfe1c77fe5ae8efc2 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Wed, 26 Jun 2013 11:36:06 +0100 Subject: poper fadeout --- 06_performance/src/oni.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to '06_performance/src/oni.h') 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 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); -- cgit v1.2.3