Add: settings to limit your fast-forward game speed

By default this setting is set to 2500% normal game speed.
This commit is contained in:
Patric Stout
2021-02-28 15:41:03 +01:00
committed by Charles Pigott
parent 73fd634209
commit c3dc27e37e
17 changed files with 84 additions and 69 deletions

View File

@@ -54,7 +54,7 @@ extern byte _support8bpp;
extern CursorVars _cursor;
extern bool _ctrl_pressed; ///< Is Ctrl pressed?
extern bool _shift_pressed; ///< Is Shift pressed?
extern byte _fast_forward;
extern uint16 _game_speed;
extern bool _left_button_down;
extern bool _left_button_clicked;
@@ -73,6 +73,7 @@ void HandleTextInput(const char *str, bool marked = false, const char *caret = n
void HandleCtrlChanged();
void HandleMouseEvents();
void UpdateWindows();
void ChangeGameSpeed(bool enable_fast_forward);
void DrawMouseCursor();
void ScreenSizeChanged();