* (Bugfix) Fixed a script crash. This bug was also in the legacy dink

* (Windows) "Tap to continue" is no longer shown when waiting for a keypress, but will still be shown on touch-devices
* Fixed bug where any DMOD directory starting with "dink" was ignored from the internal DMOD listing screen.  Oops, that was a pretty bad one, sorry dinkcrft.

git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1489 353e56fe-9613-0410-8469-b96ad8e6f29c
This commit is contained in:
seth 2017-09-18 01:41:26 +00:00
parent 7cf47c2919
commit 0bf781e005
7 changed files with 64 additions and 13 deletions

View file

@ -537,8 +537,11 @@ void BuildShowingBMPControls(float fadeTimeMS)
pButtonEntity->GetFunction("OnOverEnd")->sig_function.connect(&GameOnStopSelect);
SetButtonClickSound(pButtonEntity, ""); //no sound
Entity *pLabel = CreateTextLabelEntity(pBG, "label", GetScreenSizeXf()/2, iPhoneMapY(285), "(tap to continue)");
SetAlignmentEntity(pLabel, ALIGNMENT_CENTER);
if (!IsDesktop())
{
Entity *pLabel = CreateTextLabelEntity(pBG, "label", GetScreenSizeXf() / 2, iPhoneMapY(285), "(tap to continue)");
SetAlignmentEntity(pLabel, ALIGNMENT_CENTER);
}
}