mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-07-26 22:07:07 +00:00
chore: also add Java GUI conditionals against the intro autoskip
unnecessary code that isn't used in any UI-ful case
This commit is contained in:
parent
2e1d4bbaca
commit
c1955fd208
|
|
@ -2,7 +2,7 @@
|
||||||
#include "UI.h"
|
#include "UI.h"
|
||||||
#include "UIScene_Intro.h"
|
#include "UIScene_Intro.h"
|
||||||
|
|
||||||
#ifndef _ENABLEIGGY
|
#if !defined _ENABLEIGGY || !defined ENABLE_JAVA_GUIS
|
||||||
static int s_introTickCount = 0;
|
static int s_introTickCount = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
@ -12,7 +12,7 @@ UIScene_Intro::UIScene_Intro(int iPad, void *initData, UILayer *parentLayer) : U
|
||||||
initialiseMovie();
|
initialiseMovie();
|
||||||
m_bIgnoreNavigate = false;
|
m_bIgnoreNavigate = false;
|
||||||
m_bAnimationEnded = false;
|
m_bAnimationEnded = false;
|
||||||
#ifndef _ENABLEIGGY
|
#if !defined _ENABLEIGGY || !defined ENABLE_JAVA_GUIS
|
||||||
s_introTickCount = 0;
|
s_introTickCount = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
@ -171,7 +171,7 @@ void UIScene_Intro::handleGainFocus(bool navBack)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef _ENABLEIGGY
|
#if !defined _ENABLEIGGY || !defined ENABLE_JAVA_GUIS
|
||||||
void UIScene_Intro::tick()
|
void UIScene_Intro::tick()
|
||||||
{
|
{
|
||||||
// Call base tick first (processes Iggy ticking)
|
// Call base tick first (processes Iggy ticking)
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ public:
|
||||||
virtual void handleTouchInput(unsigned int iPad, S32 x, S32 y, int iId, bool bPressed, bool bRepeat, bool bReleased);
|
virtual void handleTouchInput(unsigned int iPad, S32 x, S32 y, int iId, bool bPressed, bool bRepeat, bool bReleased);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _ENABLEIGGY
|
#if !defined _ENABLEIGGY || !defined ENABLE_JAVA_GUIS
|
||||||
virtual void tick();
|
virtual void tick();
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue