summaryrefslogtreecommitdiff
path: root/gaunt01/src/testApp.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2012-04-20 03:36:39 +0100
committerTim Redfern <tim@eclectronics.org>2012-04-20 03:36:39 +0100
commitde766399e2442fbc438123c1c8763e0ae90e6158 (patch)
tree1456a1882ead58c9ac99a74c99bde3cd11de7813 /gaunt01/src/testApp.h
parenteaaa8f65e00d6c094206b55c06425715d80aa014 (diff)
numerous problems
Diffstat (limited to 'gaunt01/src/testApp.h')
-rw-r--r--gaunt01/src/testApp.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/gaunt01/src/testApp.h b/gaunt01/src/testApp.h
index dd52d76..a5ee556 100644
--- a/gaunt01/src/testApp.h
+++ b/gaunt01/src/testApp.h
@@ -3,6 +3,7 @@
#include <set>
#include "ofMain.h"
+#include "tesselator.h"
#include "ofxOpenCv.h"
#include "ofxRay.h"
@@ -90,6 +91,22 @@ class testApp : public ofBaseApp{
//vector<ofVec3f> players;
trapdoor trapDoor;
ofMesh ground;
+
+ vector<ofPolyline> groundlines;
+ ofTessellator tess;
+
+ void makeGround(int doornumber);
+
+ vector<trapdoor> trapdoors;
+ float trapdoorSize;
+ float trapdoorSlotSize;
+ int numtrapdoorSlots;
+
+ int trapdoorCounter;
+ float trapdoorTime; //time per trap door
+ float trapdoorTimer;
+
+ ofSoundPlayer* doorsounds;
ofVec3f* testpts;