2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 15:47:46 +00:00

Add editor portion of rendering flow

This commit is contained in:
Jack Andersen
2016-01-04 13:58:38 -10:00
parent 06eadd587e
commit 6e3614ec28
9 changed files with 71 additions and 52 deletions

View File

@@ -447,9 +447,9 @@ bool ModalWindow::skipBuildInAnimation()
return true;
}
void ModalWindow::close()
void ModalWindow::close(bool skipAnimation)
{
m_phase = Phase::BuildOut;
m_phase = skipAnimation ? Phase::Done : Phase::BuildOut;
m_frame = 0;
}