From 02ea6cebf13e7a61bf049ab70d16c6248e9d2643 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Wed, 19 Jul 2006 19:52:48 +0000 Subject: Fixed radar dot size of local player and the color of the [TARGET] string. --- src/engine.cpp | 1 + src/gui/minimap.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/engine.cpp b/src/engine.cpp index ba28fcc9..c5cf5c1a 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -243,6 +243,7 @@ void Engine::draw(Graphics *graphics) if ((target = player_node->getTarget())) { graphics->setFont(speechFont); + graphics->setColor(gcn::Color(255, 255, 255)); int dy = (target->getType() == Being::PLAYER) ? 90 : 52; graphics->drawText("[TARGET]", target->getPixelX() - map_x + 15, diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp index 9d414b8b..db6d4f15 100644 --- a/src/gui/minimap.cpp +++ b/src/gui/minimap.cpp @@ -106,6 +106,7 @@ void Minimap::draw(gcn::Graphics *graphics) graphics->fillRectangle(gcn::Rectangle( being->mX / 2 + getPadding() - offset, - being->mY / 2 + getTitleBarHeight() - offset, 1, 1)); + being->mY / 2 + getTitleBarHeight() - offset, + dotSize, dotSize)); } } -- cgit v1.2.3-70-g09d2