-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Interpreter Stack Frame Completion
* Rename CommandEnd() to OnFinishStackFrame() This name and it's nearby comment was very misleading. The interpreter has actually always ignored CommandEnd commands. This function was only called when the index ran past end of the stack frame. * Do OnFinishStackFrame() before execution loop. Call this in one place and handle multiple stack pops. Also, don't hang on empty events. * Optimize parallel events Reset the index and never pop the base stack frame. RPG_RT does this and we avoid copying parallel event data every frame.
- Loading branch information
Showing
4 changed files
with
35 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters