summaryrefslogtreecommitdiff
path: root/gaunt01/src/testApp.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2012-04-16 18:35:55 +0100
committerTim Redfern <tim@eclectronics.org>2012-04-16 18:35:55 +0100
commit3411448d999ce36b5fcb14ca4829435308cbd70a (patch)
treed102c6c3cea107f365328343c7b8d2258e3bf527 /gaunt01/src/testApp.h
parent5c0480c311760f800ccdff4868e8fe0746d8f2b5 (diff)
player class
Diffstat (limited to 'gaunt01/src/testApp.h')
-rw-r--r--gaunt01/src/testApp.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/gaunt01/src/testApp.h b/gaunt01/src/testApp.h
index 50187bd..7ef1e3a 100644
--- a/gaunt01/src/testApp.h
+++ b/gaunt01/src/testApp.h
@@ -10,6 +10,7 @@
#include "trapdoor.h"
#include "bird.h"
+#include "player.h"
//#define _USE_LIVE_VIDEO // uncomment this to use a live camera
// otherwise, we'll use a movie file
@@ -54,6 +55,7 @@ class testApp : public ofBaseApp{
ofxCvColorImage colorImg;
ofxCvFloatImage accumImg;
+ ofxCvGrayscaleImage bgImg;
ofxCvGrayscaleImage grayImage;
ofxCvGrayscaleImage grayBg;
@@ -76,19 +78,19 @@ class testApp : public ofBaseApp{
ofVec2f pos;
- vector<ofVec3f> players;
+ //vector<ofVec3f> players;
trapdoor trapDoor;
ofMesh ground;
ofVec3f* testpts;
- ofTessellator tesselator;
- ofMesh player;
- ofPolyline playeroutline;
-
bird Bird;
+ map<int,player> players;
bool drawStats;
+
+ bool firstframe; //for background removal
+ float bgnum;
};