diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-05-14 19:00:08 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-05-14 19:00:08 +0100 |
| commit | dbf9692b03ac2485f771993184222f7170e71cf2 (patch) | |
| tree | 9a17e44304856b5daa9d91172eb40f6e1783b1da /gaunt01/src/testApp.h | |
| parent | e333ec0659a74899fbd75c5ed490089d0fd7d244 (diff) | |
working on background segmentation
Diffstat (limited to 'gaunt01/src/testApp.h')
| -rw-r--r-- | gaunt01/src/testApp.h | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/gaunt01/src/testApp.h b/gaunt01/src/testApp.h index a5ee556..01301de 100644 --- a/gaunt01/src/testApp.h +++ b/gaunt01/src/testApp.h @@ -46,6 +46,8 @@ class testApp : public ofBaseApp{ void dragEvent(ofDragInfo dragInfo); void gotMessage(ofMessage msg); + int windowWidth, windowHeight; + int mode; //utility functions @@ -91,21 +93,22 @@ class testApp : public ofBaseApp{ //vector<ofVec3f> players; trapdoor trapDoor; ofMesh ground; - + vector<ofPolyline> groundlines; ofTessellator tess; - - void makeGround(int doornumber); - + + void tessGround(int doornum); + void makeGround(int doornum); + vector<trapdoor> trapdoors; float trapdoorSize; float trapdoorSlotSize; int numtrapdoorSlots; - + int trapdoorCounter; float trapdoorTime; //time per trap door float trapdoorTimer; - + ofSoundPlayer* doorsounds; ofVec3f* testpts; @@ -114,22 +117,22 @@ class testApp : public ofBaseApp{ map<int,player> players; bool drawStats; - + bool firstframe; //for background removal float bgnum; - + ofLight light; - + ofPlane* bounds; - + vector<ofPoint> border; bool drawingborder; - + ofSoundPlayer* sounds; - + ofImage* billboards; ofVec2f scaleFactor; - + int gameState; float gameStart; float segTimes[5]; |
