summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/graphic/graphic.cpp1
-rw-r--r--src/gui/chat.cpp8
2 files changed, 4 insertions, 5 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp
index b5dce7a2..c1cde98a 100644
--- a/src/graphic/graphic.cpp
+++ b/src/graphic/graphic.cpp
@@ -306,7 +306,6 @@ void Engine::draw()
int sy = y - camera_y;
#ifdef DEBUG
- textprintf_ex(buffer, font, sx*32, sy*32+40, makecol(255, 255, 255), -1, "%i,%i | %i", x, y, being->frame);
rect(buffer, sx*32, sy*32, sx*32+32, sy*32+32, makecol(0,0,255));
#endif
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index 29a6a5bb..4d1f23ce 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -108,25 +108,25 @@ void ChatBox::draw(gcn::Graphics *graphics)
switch (line.own) {
case BY_GM:
graphics->setColor(gcn::Color(97, 156, 236)); // GM Bue
- graphics->drawText("Global announcement: ", 1, texty);
+ graphics->drawText("Global announcement: ", 5, texty);
graphics->setColor(gcn::Color(39, 197, 39)); // Green
graphics->drawText(line.text, 100, texty);
break;
case BY_PLAYER:
graphics->setColor(gcn::Color(255, 246, 98)); // Yellow
- graphics->drawText(line.nick, 1, texty);
+ graphics->drawText(line.nick, 5, texty);
graphics->setColor(gcn::Color(255, 255, 255)); // White
graphics->drawText(line.text, 100, texty);
break;
case BY_OTHER:
graphics->setColor(gcn::Color(97, 156, 236)); // GM Bue
- graphics->drawText(line.nick, 1, texty);
+ graphics->drawText(line.nick, 5, texty);
graphics->setColor(gcn::Color(39, 197, 39)); // Green
graphics->drawText(line.text, 100, texty);
break;
default:
graphics->setColor(gcn::Color(83, 233, 246)); // Light blue
- graphics->drawText(line.text, 1, texty);
+ graphics->drawText(line.text, 5, texty);
}
if (i >= n) {