diff options
author | Aki <please@ignore.pl> | 2022-03-14 19:36:33 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-14 19:36:33 +0100 |
commit | 2e5d0eb1eecc52b20d1e9f7a3ce0317b851442c4 (patch) | |
tree | a1e7873c9086e5d1f4be8092d775e6127f5c388c /Stars45/GameWinDX9.h | |
parent | 92f7c58068c6a7bfe0b32af5c1ace6bdde2f3951 (diff) | |
download | starshatter-2e5d0eb1eecc52b20d1e9f7a3ce0317b851442c4.zip starshatter-2e5d0eb1eecc52b20d1e9f7a3ce0317b851442c4.tar.gz starshatter-2e5d0eb1eecc52b20d1e9f7a3ce0317b851442c4.tar.bz2 |
Moved max texture size 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 5193a77..002983a 100644 --- a/Stars45/GameWinDX9.h +++ b/Stars45/GameWinDX9.h @@ -27,10 +27,17 @@ public: virtual bool SetupPalette(); virtual bool LoadPalette(PALETTEENTRY* pal, BYTE* inv); + int MaxTexSize() const; + int MaxTexAspect() const; + + void SetMaxTexSize(int n); + protected: PALETTEENTRY standard_palette[256]; BYTE inverse_palette[32768]; + int max_tex_size; + private: static GameWinDX9* instance; }; |