From 01954b1d34a42fa4a51a3e0d690ba4ad5a1f8298 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 13 Mar 2022 18:08:09 +0100 Subject: Moved palette to GameWinDX9 --- Stars45/GameWinDX9.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Stars45/GameWinDX9.h') 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]; }; -- cgit v1.1