summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-07-19 19:52:48 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-07-19 19:52:48 +0000
commit02ea6cebf13e7a61bf049ab70d16c6248e9d2643 (patch)
tree9d349410b207d7954b3583304d91edbfca91d06a
parent28e8649ac5f14e2a1d05edf8dff5d9a367efbf40 (diff)
downloadmana-client-02ea6cebf13e7a61bf049ab70d16c6248e9d2643.tar.gz
mana-client-02ea6cebf13e7a61bf049ab70d16c6248e9d2643.tar.bz2
mana-client-02ea6cebf13e7a61bf049ab70d16c6248e9d2643.tar.xz
mana-client-02ea6cebf13e7a61bf049ab70d16c6248e9d2643.zip
Fixed radar dot size of local player and the color of the [TARGET] string.
-rw-r--r--ChangeLog22
-rw-r--r--src/engine.cpp1
-rw-r--r--src/gui/minimap.cpp3
3 files changed, 15 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index 04aba908..57071921 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
2006-07-19 Bjørn Lindeijer <bjorn@lindeijer.nl>
* tmw.cbp: Added Code::Blocks project file.
+ * src/gui/minimap.cpp: Fixed dot size of local player.
+ * src/engine.cpp: Fixed color of "[TARGET]".
2006-07-19 Eugenio Favalli <elvenprogrammer@gmail.com>
@@ -25,21 +27,21 @@
specified in the downloaded resources.txt file, and in the order
in which they are mentioned (the top one being the most
significant).
-
-2006-07-17 Frode Lindeijer <f.lindeijer@gmail.com>
+
+2006-07-17 Frode Lindeijer <f.lindeijer@gmail.com>
* Added shorts to items.png
-
+
2006-07-12 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/newskill.cpp: Fixed up a string comparison that caused a
warning with GCC 4.2.
-2006-07-12 Frode Lindeijer <f.lindeijer@gmail.com>
+2006-07-12 Frode Lindeijer <f.lindeijer@gmail.com>
* /tmw/trunk/data/graphics/sprites/item001.png: Completed the cotton
shirt equipment graphic.
-
+
2006-07-06 Philipp Sehmisch <tmw@crushnet.org>
* src/animation.cpp, src/animation.h, src/being.cpp, src/being.h,
@@ -53,19 +55,19 @@
* data/graphics/sprites/Makefile.am: Added new files.
* src/animation.cpp: Added missing return value...
* src/Makefile.am: Added new files.
-
+
2006-07-05 Bjørn Lindeijer <bjorn@lindeijer.nl>
* data/graphics/sprites/monster0.xml: Fixed frame size of maggot.
* src/being.h: drawName should be virtual, lest we want names to be
drawn.
-
+
2006-07-03 Philipp Sehmisch <tmw@crushnet.org>
* src/spriteset.cpp, src/spriteset.h: Spriteset::get() doesn't crash
anymore when requesting a sprite outside of the spriteset. (it returns
NULL instead and logs a warning).
-
+
2006-07-03 Philipp Sehmisch <tmw@crushnet.org>
* src/being.cpp: Fixed a compiler issue reported by Pajarico.
@@ -74,7 +76,7 @@
* tools/Reorganize.java: Added tool used for reorganizing and
auto-cropping the monster spritesets.
-
+
2006-07-03 Philipp Sehmisch <tmw@crushnet.org>
* src/main.cpp, src/engine.cpp: Removed some no longer required old
@@ -238,7 +240,7 @@
Equipment window now show all the slots, and adapted visible shirts to
head (middle) equipments.
-2006-06-27 Frode Lindeijer <f.lindeijer@gmail.com>
+2006-06-27 Frode Lindeijer <f.lindeijer@gmail.com>
* /tmw/trunk/data/graphics/sprites/player_male_base.png:
Fixed transparency issue with the north punching frames
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));
}
}