J :
* Fix u32 into JButtons. * Add a few comments. * Remove useless variables.
This commit is contained in:
+1
-9
@@ -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
@@ -28,7 +28,7 @@ JGuiObject::~JGuiObject()
|
||||
}
|
||||
|
||||
|
||||
bool JGuiObject::Leaving(u32 key __attribute__((unused)))
|
||||
bool JGuiObject::Leaving(JButton key __attribute__((unused)))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user