summaryrefslogtreecommitdiffstats
path: root/src/ui/map.h
diff options
context:
space:
mode:
authorerihel <erihel@gmail.com>2012-08-17 22:43:07 +0200
committererihel <erihel@gmail.com>2012-08-17 22:43:07 +0200
commitc2464d4c71bbc0154287f0b0441aef05e27cf084 (patch)
treed000ff46f5b9e505c94a8e6532668a57c7f78e2a /src/ui/map.h
parent10b2c562fb7635f9850f1441f08ba8b1a71e31e1 (diff)
downloadcolobot-c2464d4c71bbc0154287f0b0441aef05e27cf084.tar.gz
colobot-c2464d4c71bbc0154287f0b0441aef05e27cf084.tar.bz2
colobot-c2464d4c71bbc0154287f0b0441aef05e27cf084.zip
* changes to ui classes
Diffstat (limited to 'src/ui/map.h')
-rw-r--r--src/ui/map.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/ui/map.h b/src/ui/map.h
index efdf54b..693398c 100644
--- a/src/ui/map.h
+++ b/src/ui/map.h
@@ -19,16 +19,14 @@
#pragma once
-#include "ui/control.h"
-#include "object/object.h"
+#include <ui/control.h>
+#include <object/object.h>
+
+#include <common/event.h>
-class CD3DEngine;
class CTerrain;
class CWater;
-class CRobotMain;
-
-
const int MAPMAXOBJECT = 100;
@@ -62,10 +60,10 @@ struct MapObject
class CMap : public CControl
{
public:
- CMap(CInstanceManager* iMan);
+ CMap();
~CMap();
- bool Create(Math::Point pos, Math::Point dim, int icon, EventMsg eventMsg);
+ bool Create(Math::Point pos, Math::Point dim, int icon, EventType eventMsg);
bool EventProcess(const Event &event);
void Draw();