(svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt to registers 0x100 to 0x10F.

This commit is contained in:
rubidium
2007-09-22 23:55:34 +00:00
parent aa020847af
commit 240285b8d8
7 changed files with 201 additions and 12 deletions

View File

@@ -503,7 +503,10 @@ static void IndustryViewWndProc(Window *w, WindowEvent *e)
StringID message = GetGRFStringID(ind->grf_prop.grffile->grfid, 0xD000 + callback_res);
if (message != STR_NULL && message != STR_UNDEFINED) {
y += 10;
PrepareTextRefStackUsage();
DrawString(2, y, message, 0);
StopTextRefStackUsage();
}
}
}