diff options
author | Aki <please@ignore.pl> | 2022-03-20 00:32:25 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-20 00:37:05 +0100 |
commit | 32d1aea1790b79ae465048d49e98ba8bc78c2c5c (patch) | |
tree | 9832059a59fb9ae22e41dcceb776760ba0e3cd41 /Stars45/GameWinDX9.h | |
parent | a13a9405a3516c03218e710a353cce7557b2dee2 (diff) | |
download | starshatter-32d1aea1790b79ae465048d49e98ba8bc78c2c5c.zip starshatter-32d1aea1790b79ae465048d49e98ba8bc78c2c5c.tar.gz starshatter-32d1aea1790b79ae465048d49e98ba8bc78c2c5c.tar.bz2 |
Moved screen color and size functions to GameWinDX9
Diffstat (limited to 'Stars45/GameWinDX9.h')
-rw-r--r-- | Stars45/GameWinDX9.h | 7 |
1 files changed, 7 insertions, 0 deletions
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; |