Gaphics: Make frame skip a config option
When using something like Valgrind that will run mkxp 20 times slower than normal, frame skip will make the redraw loop completely grind to a halt. Set 'frameSkip' to false in the config to avert this.
This commit is contained in:
parent
c504a383ba
commit
19bb6c924e
4 changed files with 17 additions and 5 deletions
|
@ -81,6 +81,7 @@ mkxp reads configuration data from the file "mkxp.conf" contained in the current
|
|||
| defScreenW | int | 640 | Width the game window starts in (this is **not** the game resolution) |
|
||||
| defScreenH | int | 480 | Height the game window starts in |
|
||||
| fixedFramerate | int | 0 | FPS will be fixed to this amount. Ignored if 0. |
|
||||
| frameSkip | bool | true | Don't skip frames to catch up (useful eg. with Valgrind) |
|
||||
| solidFonts | bool | false | Don't use alpha blending for fonts |
|
||||
| gameFolder | string | "." | mkxp will look for all game related files here |
|
||||
| allowSymlinks | bool | false | Allow symlinks to be followed in the game folder. |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue