mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Factor out screen settings to ScreenSettings struct
It's a bit annoying to pass each screen setting individually, would be nice if we could just wrap it up in a nice struct and pass that instead.
This commit is contained in:
@@ -3,18 +3,12 @@
|
||||
|
||||
#include <SDL.h>
|
||||
|
||||
#include "ScreenSettings.h"
|
||||
|
||||
class Screen
|
||||
{
|
||||
public:
|
||||
void init(
|
||||
int windowWidth,
|
||||
int windowHeight,
|
||||
bool fullscreen,
|
||||
bool useVsync,
|
||||
int stretch,
|
||||
bool linearFilter,
|
||||
bool badSignal
|
||||
);
|
||||
void init(const ScreenSettings& settings);
|
||||
|
||||
void LoadIcon();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user