(svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call.

Patch heavily based on BiBB's work (FS#1383)
This commit is contained in:
belugas
2007-11-04 00:08:57 +00:00
parent 9e69fc8114
commit 56e6282f2f
37 changed files with 408 additions and 383 deletions

View File

@@ -75,7 +75,7 @@ static void SignListWndProc(Window *w, WindowEvent *e)
/* No signs? */
if (w->vscroll.count == 0) {
DrawString(2, y, STR_304A_NONE, 0);
DrawString(2, y, STR_304A_NONE, TC_FROMSTRING);
return;
}
@@ -90,7 +90,7 @@ static void SignListWndProc(Window *w, WindowEvent *e)
DrawPlayerIcon(si->owner, 4, y + 1);
SetDParam(0, si->index);
DrawString(22, y, STR_SIGN_NAME, 8);
DrawString(22, y, STR_SIGN_NAME, TC_YELLOW);
y += 10;
}
}
@@ -321,3 +321,4 @@ void ShowRenameSignWindow(const Sign *si)
}