removed switch option
This commit is contained in:
parent
ec105de863
commit
0a112e38f9
@ -56,12 +56,6 @@ void Test()
|
|||||||
{
|
{
|
||||||
//In the active loop, check events first//
|
//In the active loop, check events first//
|
||||||
engine->CheckEvents();
|
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))
|
if(engine->KeyIsPressed(SDLK_ESCAPE))
|
||||||
engine->RequestQuit();
|
engine->RequestQuit();
|
||||||
|
|
||||||
|
@ -54,12 +54,6 @@ void Test()
|
|||||||
{
|
{
|
||||||
//In the active loop, check events first//
|
//In the active loop, check events first//
|
||||||
engine->CheckEvents();
|
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))
|
if(engine->KeyIsPressed(SDLK_ESCAPE))
|
||||||
engine->RequestQuit();
|
engine->RequestQuit();
|
||||||
|
|
||||||
|
@ -55,12 +55,6 @@ void Test()
|
|||||||
{
|
{
|
||||||
//In the active loop, check events first//
|
//In the active loop, check events first//
|
||||||
engine->CheckEvents();
|
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))
|
if(engine->KeyIsPressed(SDLK_ESCAPE))
|
||||||
engine->RequestQuit();
|
engine->RequestQuit();
|
||||||
|
|
||||||
|
@ -64,12 +64,6 @@ void Test()
|
|||||||
{
|
{
|
||||||
//In the active loop, check events first//
|
//In the active loop, check events first//
|
||||||
engine->CheckEvents();
|
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))
|
if(engine->KeyIsPressed(SDLK_ESCAPE))
|
||||||
engine->RequestQuit();
|
engine->RequestQuit();
|
||||||
if(engine->KeyIsPressed(SDLK_r))
|
if(engine->KeyIsPressed(SDLK_r))
|
||||||
|
@ -41,12 +41,6 @@ void Test()
|
|||||||
{
|
{
|
||||||
//In the active loop, check events first//
|
//In the active loop, check events first//
|
||||||
engine->CheckEvents();
|
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))
|
if(engine->KeyIsPressed(SDLK_ESCAPE))
|
||||||
engine->RequestQuit();
|
engine->RequestQuit();
|
||||||
//movement//
|
//movement//
|
||||||
|
@ -52,12 +52,6 @@ void Test()
|
|||||||
{
|
{
|
||||||
//In the active loop, check events first//
|
//In the active loop, check events first//
|
||||||
engine->CheckEvents();
|
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))
|
if(engine->KeyIsPressed(SDLK_ESCAPE))
|
||||||
engine->RequestQuit();
|
engine->RequestQuit();
|
||||||
if(engine->KeyIsPressed(SDLK_1))
|
if(engine->KeyIsPressed(SDLK_1))
|
||||||
|
@ -50,12 +50,6 @@ void Test()
|
|||||||
{
|
{
|
||||||
//In the active loop, check events first//
|
//In the active loop, check events first//
|
||||||
engine->CheckEvents();
|
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))
|
if(engine->KeyIsPressed(SDLK_ESCAPE))
|
||||||
engine->RequestQuit();
|
engine->RequestQuit();
|
||||||
//pause current timer//
|
//pause current timer//
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
These are the test programs for ZEngine, all have the basic controls:
|
These are the test programs for ZEngine, all have the basic controls:
|
||||||
S - Switch Fullscreen/Windowed.
|
|
||||||
ALT-F4 or ESC- Quit Program
|
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.
|
The ZEngine Config File (tests.zcf) file may be manually edited using a text editor to change certain settings.
|
||||||
|
Loading…
Reference in New Issue
Block a user