mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-06-28 15:38:30 +02:00
This includes: - Removing the constructor in favor of actually being able to see that there's an actual function called being made initializing the struct - Removing the use of a reference in Screen::init() in favor of using a pointer - Adding the struct qualifier everywhere (it's not much typing), although technically you could typedef it in C, but I'd rather much not typedef just to remove a tag qualifier
18 lines
316 B
C
18 lines
316 B
C
#ifndef SCREENSETTINGS_H
|
|
#define SCREENSETTINGS_H
|
|
|
|
struct ScreenSettings
|
|
{
|
|
int windowWidth;
|
|
int windowHeight;
|
|
bool fullscreen;
|
|
bool useVsync;
|
|
int scalingMode;
|
|
bool linearFilter;
|
|
bool badSignal;
|
|
};
|
|
|
|
void ScreenSettings_default(struct ScreenSettings* _this);
|
|
|
|
#endif /* SCREENSETTINGS_H */
|