From 8acf0129e10f2b7ce3ec377df4b5cb95d8d93a62 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Thu, 28 Nov 2013 15:57:34 +0100 Subject: BiomeVisualiser: The biome settings are read from a file. --- Tools/BiomeVisualiser/BiomeViewWnd.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'Tools/BiomeVisualiser/BiomeViewWnd.h') diff --git a/Tools/BiomeVisualiser/BiomeViewWnd.h b/Tools/BiomeVisualiser/BiomeViewWnd.h index 88e808ab3..e3f70c7e6 100644 --- a/Tools/BiomeVisualiser/BiomeViewWnd.h +++ b/Tools/BiomeVisualiser/BiomeViewWnd.h @@ -3,6 +3,12 @@ // Declares the cBiomeViewWnd class representing the window that displays biomes + + + + +#pragma once + #include "WndProcThunk.h" #include "BiomeRenderer.h" #include "BiomeCache.h" @@ -12,6 +18,13 @@ +// fwd: +class cBiomeGen; + + + + + class cBiomeViewWnd { public: @@ -26,9 +39,15 @@ protected: cBiomeRenderer m_Renderer; cPixmap m_Pixmap; + /// The generator that is to be visualised + cBiomeGen * m_BiomeGen; + bool m_IsLButtonDown; POINT m_MouseDown; + + void InitBiomeView(void); + LRESULT WndProc(HWND a_Wnd, UINT a_Msg, WPARAM wParam, LPARAM lParam); // Message handlers: -- cgit v1.2.3