-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
don't speed up
fastloop()
under accelerated time
Instead of simply running the game in tighter loops, multiply resource calculations by game speed. This is only done for `fastloop()` for now as most other code is tightly build around the timings of `midloop()` and `longloop()`. In a few places a `++` was replaced by `4*time_multiplier` to account for the loop running 4 times per second and `time_multiplier` being 0.25 under normal game speed.
- Loading branch information
Showing
3 changed files
with
19 additions
and
23 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