diff options
Diffstat (limited to 'gaunt01/src/testApp.h')
| -rw-r--r-- | gaunt01/src/testApp.h | 12 |
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; }; |
