summaryrefslogtreecommitdiffhomepage
path: root/Stars45/GameWinDX9.h
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/GameWinDX9.h')
-rw-r--r--Stars45/GameWinDX9.h8
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;