diff options
author | Aki <please@ignore.pl> | 2022-03-13 18:08:09 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-13 18:08:09 +0100 |
commit | 01954b1d34a42fa4a51a3e0d690ba4ad5a1f8298 (patch) | |
tree | 00c7c8677eae54441a910af9ade2a79d09e64d65 /Stars45/GameWinDX9.h | |
parent | adb04f7316f9b2f7871b91b62d3bd920194bf97d (diff) | |
download | starshatter-01954b1d34a42fa4a51a3e0d690ba4ad5a1f8298.zip starshatter-01954b1d34a42fa4a51a3e0d690ba4ad5a1f8298.tar.gz starshatter-01954b1d34a42fa4a51a3e0d690ba4ad5a1f8298.tar.bz2 |
Moved palette 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 719bc04..9151bcd 100644 --- a/Stars45/GameWinDX9.h +++ b/Stars45/GameWinDX9.h @@ -20,6 +20,14 @@ public: virtual bool Init(HINSTANCE hi, HINSTANCE hpi, LPSTR cmdline, int nCmdShow); virtual bool InitApplication(HINSTANCE hInstance); virtual bool InitInstance(HINSTANCE hInstance, int nCmdShow); + virtual bool InitGame(); + + virtual bool SetupPalette(); + virtual bool LoadPalette(PALETTEENTRY* pal, BYTE* inv); + +protected: + PALETTEENTRY standard_palette[256]; + BYTE inverse_palette[32768]; }; |