diff options
| author | git@eclectronics.org <git@eclectronics.org@eclectronics.org> | 2012-07-25 08:44:42 +0100 |
|---|---|---|
| committer | git@eclectronics.org <git@eclectronics.org@eclectronics.org> | 2012-07-25 08:44:42 +0100 |
| commit | 63a6974eac15fb804adc5790163049223947fac7 (patch) | |
| tree | f223889cf7fe4b4aba5688caee3a8de9bce58418 /gaunt01/src | |
| parent | 8cc12c684eaf724832cb67b950188306fa9fd0a1 (diff) | |
tiny bug in trapdoor position
Diffstat (limited to 'gaunt01/src')
| -rw-r--r-- | gaunt01/src/main.cpp | 2 | ||||
| -rw-r--r-- | gaunt01/src/testApp.cpp | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/gaunt01/src/main.cpp b/gaunt01/src/main.cpp index d8ec5c8..1f3ac12 100644 --- a/gaunt01/src/main.cpp +++ b/gaunt01/src/main.cpp @@ -6,7 +6,7 @@ int main( ){ ofAppGlutWindow window; - ofSetupOpenGL(&window, 1024,768, OF_WINDOW ); // <-------- setup the GL context + ofSetupOpenGL(&window, 1024,768, OF_FULLSCREEN ); // <-------- setup the GL context printf("%ix%i on screen %ix%i\n",ofGetWidth(),ofGetHeight(),ofGetScreenWidth(),ofGetScreenHeight()); // this kicks off the running of my app // can be OF_WINDOW or OF_FULLSCREEN diff --git a/gaunt01/src/testApp.cpp b/gaunt01/src/testApp.cpp index 8fe42cc..810ef0a 100644 --- a/gaunt01/src/testApp.cpp +++ b/gaunt01/src/testApp.cpp @@ -159,9 +159,10 @@ void testApp::setup(){ doorsounds[3].loadSound("voice falling down hole.wav"); cam.begin(); - cam.end(); - updatePlane(); + +
+ cam.end(); } @@ -801,7 +802,8 @@ void testApp::draw(){ if (gameTime>segTimes[gameState]) { gameState++; gameStart=ofGetElapsedTimef(); - gameTime=0.0f; + gameTime=0.0f;
+ updatePlane(); } break; case PLAYING: |
