* Fix u32 into JButtons.
* Add a few comments.
* Remove useless variables.
This commit is contained in:
jean.chalard
2010-02-24 17:28:17 +00:00
parent 3ac6bc3ec3
commit 39c5a3d465
38 changed files with 58 additions and 63 deletions
+1 -9
View File
@@ -24,7 +24,6 @@
//////////////////////////////////////////////////////////////////////////
#if defined (WIN32) // WIN32 specific code
#include "../../Dependencies/include/png.h"
#include "../../Dependencies/include/fmod.h"
u8 JGE::GetAnalogX()
@@ -44,7 +43,6 @@ u8 JGE::GetAnalogY()
#elif defined (LINUX) // Unix specific code
#include <sys/time.h>
#include "png.h"
#include "../Dependencies/include/fmod.h"
@@ -253,7 +251,7 @@ void JGE::Init()
void JGE::SetDelta(float delta)
{
mDeltaTime = (float)delta;
mDeltaTime = delta;
}
float JGE::GetDelta()
@@ -279,12 +277,6 @@ void JGE::Init()
mDebug = false;
#endif
#if defined (WIN32) || defined (LINUX)
tickFrequency = 120;
#else
tickFrequency = sceRtcGetTickResolution();
#endif
if (mDebug)
pspDebugScreenInit(); // do this so that we can use pspDebugScreenPrintf
+1 -1
View File
@@ -28,7 +28,7 @@ JGuiObject::~JGuiObject()
}
bool JGuiObject::Leaving(u32 key __attribute__((unused)))
bool JGuiObject::Leaving(JButton key __attribute__((unused)))
{
return true;
}