summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
123ca72)
dunno if that's the right amount, but should be something along those lines
if (trigger->map) {
ctrl->PushState(new ColorFade(this, 0, 500, true));
ctrl->PushState(new TransitionState(this, trigger->map, trigger->target));
if (trigger->map) {
ctrl->PushState(new ColorFade(this, 0, 500, true));
ctrl->PushState(new TransitionState(this, trigger->map, trigger->target));
- ctrl->PushState(new ColorFade(this, 0, 500, false));
+ ColorFade *fadeOut(new ColorFade(this, 0, 500, false));
+ fadeOut->SetLeadOutTime(500);
+ ctrl->PushState(fadeOut);