summaryrefslogtreecommitdiffstats
path: root/src/mainmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainmap.h')
-rw-r--r--src/mainmap.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/mainmap.h b/src/mainmap.h
new file mode 100644
index 0000000..68befa1
--- /dev/null
+++ b/src/mainmap.h
@@ -0,0 +1,52 @@
+// mainmap.h
+
+#ifndef _MAINMAP_H_
+#define _MAINMAP_H_
+
+
+class CInstanceManager;
+class CEvent;
+class CD3DEngine;
+class CInterface;
+class CObject;
+
+
+
+class CMainMap
+{
+public:
+ CMainMap(CInstanceManager* iMan);
+ ~CMainMap();
+
+ void UpdateMap();
+ void CreateMap();
+ void SetFixImage(char *filename);
+ void FloorColorMap(D3DCOLORVALUE floor, D3DCOLORVALUE water);
+ void ShowMap(BOOL bShow);
+ void DimMap();
+ float RetZoomMap();
+ void ZoomMap(float zoom);
+ void ZoomMap();
+ void MapEnable(BOOL bEnable);
+ BOOL RetShowMap();
+ BOOL RetFixImage();
+ CObject* DetectMap(FPOINT pos, BOOL &bInMap);
+ void SetHilite(CObject* pObj);
+ void SetToy(BOOL bToy);
+ void SetFixParam(float zoom, float ox, float oy, float angle, int mode, BOOL bDebug);
+
+protected:
+ void CenterMap();
+
+protected:
+ CInstanceManager* m_iMan;
+ CEvent* m_event;
+ CD3DEngine* m_engine;
+ CInterface* m_interface;
+
+ int m_mapMode;
+ BOOL m_bFixImage;
+};
+
+
+#endif //_MAINMAP_H_