diff options
Diffstat (limited to 'src/ui/target.h')
-rw-r--r-- | src/ui/target.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/ui/target.h b/src/ui/target.h index 0b5b67d..1f7f256 100644 --- a/src/ui/target.h +++ b/src/ui/target.h @@ -18,11 +18,21 @@ #pragma once +#include <string> #include <ui/control.h> +#include <common/misc.h> +#include <common/iman.h> +#include <common/restext.h> #include <common/event.h> +#include <graphics/engine/engine.h> + +#include <object/robotmain.h> +#include <object/object.h> + + namespace Ui { class CTarget : public CControl @@ -35,7 +45,7 @@ class CTarget : public CControl bool EventProcess(const Event &event); void Draw(); - bool GetTooltip(Math::Point pos, char* name); + bool GetTooltip(Math::Point pos, std::string &name); protected: CObject* DetectFriendObject(Math::Point pos); |