mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Rename stretch mode to scaling mode internally
It's been long overdue that this variable be named properly. 2.2 added integer scaling mode (thanks Ethan), 2.3 renamed it to scaling mode. Now 2.4 will properly call it what it is so people won't be confused by it. The ScreenSettings struct member is renamed from stretch to scalingMode along with the Screen class member being renamed, as well as the toggleStretchMode function being renamed to toggleScalingMode as well. Unfortunately, due to compatibility, we can't change the <stretch> XML tag.
This commit is contained in:
@@ -25,14 +25,14 @@ public:
|
||||
const SDL_PixelFormat* GetFormat(void);
|
||||
|
||||
void toggleFullScreen(void);
|
||||
void toggleStretchMode(void);
|
||||
void toggleScalingMode(void);
|
||||
void toggleLinearFilter(void);
|
||||
void toggleVSync(void);
|
||||
|
||||
bool isWindowed;
|
||||
bool isFiltered;
|
||||
bool badSignalEffect;
|
||||
int stretchMode;
|
||||
int scalingMode;
|
||||
bool vsync;
|
||||
|
||||
SDL_Window *m_window;
|
||||
|
||||
Reference in New Issue
Block a user