diff options
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]; |
