mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
now able to press SPACE to continue on hints that wait for you to press A
and the hints what wait for you to move the gamepad stick now just skip instantly
This commit is contained in:
parent
923e4bb362
commit
6e45386b95
|
|
@ -66,7 +66,7 @@ bool ControllerTask::isCompleted()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
bAllComplete = false;
|
bAllComplete = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
iCurrent++;
|
iCurrent++;
|
||||||
|
|
@ -87,7 +87,7 @@ bool ControllerTask::isCompleted()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
bAllComplete = false;
|
bAllComplete = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
iCurrent++;
|
iCurrent++;
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
#include "TutorialConstraints.h"
|
#include "TutorialConstraints.h"
|
||||||
#include "InfoTask.h"
|
#include "InfoTask.h"
|
||||||
#include "..\..\..\Minecraft.World\Material.h"
|
#include "..\..\..\Minecraft.World\Material.h"
|
||||||
|
#include "..\..\KeyboardMouseInput.h"
|
||||||
|
|
||||||
InfoTask::InfoTask(Tutorial *tutorial, int descriptionId, int promptId /*= -1*/, bool requiresUserInput /*= false*/,
|
InfoTask::InfoTask(Tutorial *tutorial, int descriptionId, int promptId /*= -1*/, bool requiresUserInput /*= false*/,
|
||||||
int iMapping /*= 0*/, ETelemetryChallenges telemetryEvent /*= eTelemetryTutorial_NoEvent*/)
|
int iMapping /*= 0*/, ETelemetryChallenges telemetryEvent /*= eTelemetryTutorial_NoEvent*/)
|
||||||
|
|
@ -65,7 +66,7 @@ bool InfoTask::isCompleted()
|
||||||
bool current = (*it).second;
|
bool current = (*it).second;
|
||||||
if(!current)
|
if(!current)
|
||||||
{
|
{
|
||||||
if( InputManager.GetValue(pMinecraft->player->GetXboxPad(), (*it).first) > 0 )
|
if( InputManager.GetValue(pMinecraft->player->GetXboxPad(), (*it).first) > 0 || KMInput.IsKeyDown(VK_SPACE))
|
||||||
{
|
{
|
||||||
(*it).second = true;
|
(*it).second = true;
|
||||||
bAllComplete=true;
|
bAllComplete=true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue