Commit b71964ae authored by Gerhard Stein's avatar Gerhard Stein

Some gamepad improvements

parent 1d756bec
......@@ -59,7 +59,7 @@ public:
int immediateIndex = 0;
//int x = 0, y = 0, w = 0, h = 0;
float x = 0.0f, y = 0.0f, w = 0.0f, h = 0.0f;
bool invisible = false;
bool invisible = true;
GsTexture mTexture;
};
......
......@@ -63,7 +63,7 @@ bool VirtualKeenControl::init()
if(!mDPad.loadEmdbeddedPicture(gDPadPng, sizeof(gDPadPng))) return false;
if(!mConfirmButton.loadEmdbeddedPicture(gButtonConfirmPng, sizeof(gButtonConfirmPng))) return false;
mConfirmButton.invisible = false;
mConfirmButton.invisible = true;
if(!mStartButton.loadEmdbeddedPicture(gButtonStartPng, sizeof(gButtonStartPng))) return false;
mStartButton.invisible = true;
......@@ -91,7 +91,7 @@ bool VirtualKeenControl::ponder()
#if SDL_VERSION_ATLEAST(2, 0, 0)
const float bottom = 0.975f;
const float top = 0.025f;
//const float top = 0.025f;
const float left = 0.025f;
const float right = 0.975f;
......
......@@ -202,7 +202,7 @@ bool GameDownloader::readGamesNode(boost::property_tree::ptree &pt)
if(gce.mVersionCode > CGVERSIONCODE)
{
gLogging.ftextOut("Game %s not supported. Required Version code %d, got %d.\n<br>",
gce.mName, CGVERSIONCODE, gce.mVersionCode );
gce.mName.c_str(), CGVERSIONCODE, gce.mVersionCode );
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment