From 32d1aea1790b79ae465048d49e98ba8bc78c2c5c Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 20 Mar 2022 00:32:25 +0100 Subject: Moved screen color and size functions to GameWinDX9 --- Stars45/GameWinDX9.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Stars45/GameWinDX9.h') diff --git a/Stars45/GameWinDX9.h b/Stars45/GameWinDX9.h index 002983a..50484ff 100644 --- a/Stars45/GameWinDX9.h +++ b/Stars45/GameWinDX9.h @@ -7,6 +7,7 @@ #ifndef GameWinDX9_h #define GameWinDX9_h +#include "Color.h" #include "Game.h" #include "Types.h" @@ -29,14 +30,20 @@ public: int MaxTexSize() const; int MaxTexAspect() const; + Color GetScreenColor() const; + int GetScreenWidth() const; + int GetScreenHeight() const; void SetMaxTexSize(int n); + void SetScreenColor(Color c); + protected: PALETTEENTRY standard_palette[256]; BYTE inverse_palette[32768]; int max_tex_size; + Color screen_color; private: static GameWinDX9* instance; -- cgit v1.1