From 2e5d0eb1eecc52b20d1e9f7a3ce0317b851442c4 Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 14 Mar 2022 19:36:33 +0100 Subject: Moved max texture size 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 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; }; -- cgit v1.1