diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2007-09-10 20:06:33 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2007-09-10 20:06:33 +0000 |
commit | 5c9aa34fe5f9e9c8df8afda66a231e359dc797e3 (patch) | |
tree | 92dfee9ccd89fc83dd836ef71f0e8ee70848c76c /src | |
parent | 3d49af02877f0d4f8fd9590f4f4dedb3fd3c0993 (diff) | |
download | mana-5c9aa34fe5f9e9c8df8afda66a231e359dc797e3.tar.gz mana-5c9aa34fe5f9e9c8df8afda66a231e359dc797e3.tar.bz2 mana-5c9aa34fe5f9e9c8df8afda66a231e359dc797e3.tar.xz mana-5c9aa34fe5f9e9c8df8afda66a231e359dc797e3.zip |
Fixed minimap coordinates and improved look.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/minimap.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp index 89e7eadd..a8e9dafd 100644 --- a/src/gui/minimap.cpp +++ b/src/gui/minimap.cpp @@ -83,12 +83,12 @@ void Minimap::draw(gcn::Graphics *graphics) for (bi = beings.begin(); bi != beings.end(); bi++) { Being *being = (*bi); - int dotSize = 1; + int dotSize = 2; switch (being->getType()) { case Being::LOCALPLAYER: dotSize = 3; - graphics->setColor(gcn::Color(209, 52, 61)); + graphics->setColor(gcn::Color(61, 209, 52)); break; case Being::PLAYER: @@ -106,8 +106,8 @@ void Minimap::draw(gcn::Graphics *graphics) int offset = (dotSize - 1) / 2; graphics->fillRectangle(gcn::Rectangle( - being->mX / 2 + getPadding() - offset, - being->mY / 2 + getTitleBarHeight() - offset, + being->mX / 64 + getPadding() - offset, + being->mY / 64 + getTitleBarHeight() - offset, dotSize, dotSize)); } } |