(svn r2580) Change: Added {INDUSTRY} command for printing industry names instead of the old {TOWN} {STRING} way.

- The formatting of the industry name can be controlled with the string STR_INDUSTRY_FORMAT.
Change: Changed several occurences of {STRING1} into {TOWN} to get rid of townnametype being used directly.
This commit is contained in:
ludde
2005-07-15 18:30:13 +00:00
parent 843670cfdf
commit dc3ca73bd5
33 changed files with 3495 additions and 3511 deletions

View File

@@ -40,7 +40,6 @@ static void LandInfoWndProc(Window *w, WindowEvent *e)
StringID str;
if (e->event == WE_PAINT) {
int idx = 0;
int i;
DrawWindowWidgets(w);
@@ -70,8 +69,8 @@ static void LandInfoWndProc(Window *w, WindowEvent *e)
SetDParam(0, STR_01A9_NONE);
if (lid->town != NULL) {
SetDParam(0, lid->town->townnametype);
SetDParam(1, lid->town->townnameparts);
SetDParam(0, STR_TOWN);
SetDParam(1, lid->town->index);
}
DrawStringCentered(140,60, STR_01A8_LOCAL_AUTHORITY, 0);