From 0a112e38f98189510f43cc41b56b670264367848 Mon Sep 17 00:00:00 2001 From: James Turk Date: Sun, 22 Dec 2002 06:06:46 +0000 Subject: [PATCH] removed switch option --- test/ZFontTest.cpp | 6 ------ test/ZImageTest.cpp | 6 ------ test/ZMouseTest.cpp | 6 ------ test/ZMusicTest.cpp | 6 ------ test/ZRectTest.cpp | 6 ------ test/ZSoundTest.cpp | 6 ------ test/ZTimerTest.cpp | 6 ------ test/bin/readme.txt | 1 - 8 files changed, 43 deletions(-) diff --git a/test/ZFontTest.cpp b/test/ZFontTest.cpp index 0891a96..8b2e9af 100644 --- a/test/ZFontTest.cpp +++ b/test/ZFontTest.cpp @@ -56,12 +56,6 @@ void Test() { //In the active loop, check events first// engine->CheckEvents(); - if(engine->KeyIsPressed(SDLK_s)) - { - //code to toggle screen// - engine->SetupDisplay(engine->Width(),engine->Height(),engine->BPP(),!engine->IsFullscreen()); - engine->CreateDisplay("ZImage Test"); - } if(engine->KeyIsPressed(SDLK_ESCAPE)) engine->RequestQuit(); diff --git a/test/ZImageTest.cpp b/test/ZImageTest.cpp index 57d7b34..e478b29 100644 --- a/test/ZImageTest.cpp +++ b/test/ZImageTest.cpp @@ -54,12 +54,6 @@ void Test() { //In the active loop, check events first// engine->CheckEvents(); - if(engine->KeyIsPressed(SDLK_s)) - { - //code to toggle screen// - engine->SetupDisplay(engine->Width(),engine->Height(),engine->BPP(),!engine->IsFullscreen()); - engine->CreateDisplay("ZImage Test"); - } if(engine->KeyIsPressed(SDLK_ESCAPE)) engine->RequestQuit(); diff --git a/test/ZMouseTest.cpp b/test/ZMouseTest.cpp index 6c608d0..048af60 100644 --- a/test/ZMouseTest.cpp +++ b/test/ZMouseTest.cpp @@ -55,12 +55,6 @@ void Test() { //In the active loop, check events first// engine->CheckEvents(); - if(engine->KeyIsPressed(SDLK_s)) - { - //code to toggle screen// - engine->SetupDisplay(engine->Width(),engine->Height(),engine->BPP(),!engine->IsFullscreen()); - engine->CreateDisplay("ZEngine Mouse Test"); - } if(engine->KeyIsPressed(SDLK_ESCAPE)) engine->RequestQuit(); diff --git a/test/ZMusicTest.cpp b/test/ZMusicTest.cpp index eae56cd..87ba6c5 100644 --- a/test/ZMusicTest.cpp +++ b/test/ZMusicTest.cpp @@ -64,12 +64,6 @@ void Test() { //In the active loop, check events first// engine->CheckEvents(); - if(engine->KeyIsPressed(SDLK_s)) - { - //code to toggle screen// - engine->SetupDisplay(engine->Width(),engine->Height(),engine->BPP(),!engine->IsFullscreen()); - engine->CreateDisplay("ZMusic Test"); - } if(engine->KeyIsPressed(SDLK_ESCAPE)) engine->RequestQuit(); if(engine->KeyIsPressed(SDLK_r)) diff --git a/test/ZRectTest.cpp b/test/ZRectTest.cpp index dfb3369..ffc7774 100644 --- a/test/ZRectTest.cpp +++ b/test/ZRectTest.cpp @@ -41,12 +41,6 @@ void Test() { //In the active loop, check events first// engine->CheckEvents(); - if(engine->KeyIsPressed(SDLK_s)) - { - //code to toggle screen// - engine->SetupDisplay(engine->Width(),engine->Height(),engine->BPP(),!engine->IsFullscreen()); - engine->CreateDisplay("ZRect Test"); - } if(engine->KeyIsPressed(SDLK_ESCAPE)) engine->RequestQuit(); //movement// diff --git a/test/ZSoundTest.cpp b/test/ZSoundTest.cpp index 4011493..ccbfc7b 100644 --- a/test/ZSoundTest.cpp +++ b/test/ZSoundTest.cpp @@ -52,12 +52,6 @@ void Test() { //In the active loop, check events first// engine->CheckEvents(); - if(engine->KeyIsPressed(SDLK_s)) - { - //code to toggle screen// - engine->SetupDisplay(engine->Width(),engine->Height(),engine->BPP(),!engine->IsFullscreen()); - engine->CreateDisplay("ZSound Test"); - } if(engine->KeyIsPressed(SDLK_ESCAPE)) engine->RequestQuit(); if(engine->KeyIsPressed(SDLK_1)) diff --git a/test/ZTimerTest.cpp b/test/ZTimerTest.cpp index 23b853b..1b951fb 100644 --- a/test/ZTimerTest.cpp +++ b/test/ZTimerTest.cpp @@ -50,12 +50,6 @@ void Test() { //In the active loop, check events first// engine->CheckEvents(); - if(engine->KeyIsPressed(SDLK_s)) - { - //code to toggle screen// - engine->SetupDisplay(engine->Width(),engine->Height(),engine->BPP(),!engine->IsFullscreen()); - engine->CreateDisplay("ZImage Test"); - } if(engine->KeyIsPressed(SDLK_ESCAPE)) engine->RequestQuit(); //pause current timer// diff --git a/test/bin/readme.txt b/test/bin/readme.txt index 56b3eb7..9973e5c 100644 --- a/test/bin/readme.txt +++ b/test/bin/readme.txt @@ -1,5 +1,4 @@ These are the test programs for ZEngine, all have the basic controls: -S - Switch Fullscreen/Windowed. ALT-F4 or ESC- Quit Program The ZEngine Config File (tests.zcf) file may be manually edited using a text editor to change certain settings.