This repository has been archived by the owner on Sep 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimized main loop, fixed in-world menu bug
I have applied to large optimizations to the main loop to make it run more efficiently. Firstly, the program will now check if one of the menu states has changed overall and act upon that, rather than checking each. Secondly I have organized tickone and ticktwo, and I have changed the priorities of the the igm and the time scale (I swapped them). Lastly, I have resolved the bug where the combat menus (and alike) are uncontrollable by limiting the frametime to the minMenus variable.
- Loading branch information
Showing
3 changed files
with
25 additions
and
7 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
Binary file not shown.
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