diff options
author | Aki <please@ignore.pl> | 2022-03-31 23:41:46 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-31 23:41:46 +0200 |
commit | 8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e (patch) | |
tree | fa3ba288acb3f589e16700256ade2b25c73526c9 /Stars45/GameWinDX9.h | |
parent | ac54470e8aeddc2acf9ae215241c77a2bf7e33e3 (diff) | |
download | starshatter-8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e.zip starshatter-8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e.tar.gz starshatter-8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e.tar.bz2 |
Moved HINST and HWND from Game to GameWinDX9
Diffstat (limited to 'Stars45/GameWinDX9.h')
-rw-r--r-- | Stars45/GameWinDX9.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Stars45/GameWinDX9.h b/Stars45/GameWinDX9.h index 9f31ce1..43fc71d 100644 --- a/Stars45/GameWinDX9.h +++ b/Stars45/GameWinDX9.h @@ -35,12 +35,17 @@ public: virtual bool SetupPalette(); virtual bool LoadPalette(PALETTEENTRY* pal, BYTE* inv); + virtual int Run() override; + int MaxTexSize() const; int MaxTexAspect() const; Color GetScreenColor() const; int GetScreenWidth() const; int GetScreenHeight() const; + HINSTANCE GetHINST(); + HWND GetHWND(); + void SetMaxTexSize(int n); void SetScreenColor(Color c); @@ -54,6 +59,9 @@ protected: int max_tex_size; Color screen_color; + HINSTANCE hInst; + HWND hwnd; + bool is_windowed; bool is_active; bool is_device_lost; |