mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-01-24 17:26:41 +00:00
better way to skip the logo; do post-load transitions in a single place now
This commit is contained in:
parent
b9798a1889
commit
e00940b2ae
2 changed files with 6 additions and 9 deletions
|
@ -62,14 +62,7 @@ void BitBlotLogo::doShortBitBlot()
|
|||
|
||||
void BitBlotLogo::getOut()
|
||||
{
|
||||
#ifdef AQUARIA_DEMO
|
||||
dsq->title();
|
||||
#else
|
||||
if (dsq->user.demo.intro != 0)
|
||||
dsq->enqueueJumpState("Intro");
|
||||
else
|
||||
dsq->title();
|
||||
#endif
|
||||
}
|
||||
|
||||
void BitBlotLogo::applyState()
|
||||
|
|
|
@ -1339,7 +1339,7 @@ void DSQ::init()
|
|||
// Don't do transitions for a faster start up in dev mode
|
||||
if (!isDeveloperKeys())
|
||||
{
|
||||
float trans = 0.5;
|
||||
float trans = 0.2f;
|
||||
overlay->alpha.interpolateTo(1, trans);
|
||||
run(trans);
|
||||
}
|
||||
|
@ -1363,7 +1363,11 @@ void DSQ::init()
|
|||
setInputGrab(user.system.grabInput);
|
||||
|
||||
// Go directly to the title in dev mode
|
||||
if(isDeveloperKeys() || (dsq->user.demo.shortLogos && !dsq->user.demo.intro))
|
||||
if(isDeveloperKeys())
|
||||
title();
|
||||
else if (dsq->user.demo.intro != 0)
|
||||
enqueueJumpState("Intro");
|
||||
else if(dsq->user.demo.shortLogos)
|
||||
title();
|
||||
else
|
||||
enqueueJumpState("BitBlotLogo");
|
||||
|
|
Loading…
Reference in a new issue