src/newgrf_gui.cpp
changeset 10126 48162ce1b642
parent 10115 e162dbf901d2
child 10145 849ba8b8626b
equal deleted inserted replaced
10125:8f12703df400 10126:48162ce1b642
    96 			SetDParamStr(1, buff);
    96 			SetDParamStr(1, buff);
    97 		} else {
    97 		} else {
    98 			SetDParam(0, STR_01A9_NONE);
    98 			SetDParam(0, STR_01A9_NONE);
    99 		}
    99 		}
   100 		y += DrawStringMultiLine(x, y, STR_NEWGRF_PARAMETER, w, bottom - y);
   100 		y += DrawStringMultiLine(x, y, STR_NEWGRF_PARAMETER, w, bottom - y);
   101 	}
   101 
   102 
   102 		/* Draw the palette of the NewGRF */
   103 	/* Draw the palette of the NewGRF */
   103 		SetDParamStr(0, c->windows_paletted ? "Windows" : "DOS");
   104 	SetDParamStr(0, c->windows_paletted ? "Windows" : "DOS");
   104 		y += DrawStringMultiLine(x, y, STR_NEWGRF_PALETTE, w, bottom - y);
   105 	y += DrawStringMultiLine(x, y, STR_NEWGRF_PALETTE, w, bottom - y);
   105 	}
   106 
   106 
   107 	/* Show flags */
   107 	/* Show flags */
   108 	if (c->status == GCS_NOT_FOUND)        y += DrawStringMultiLine(x, y, STR_NEWGRF_NOT_FOUND, w, bottom - y);
   108 	if (c->status == GCS_NOT_FOUND)        y += DrawStringMultiLine(x, y, STR_NEWGRF_NOT_FOUND, w, bottom - y);
   109 	if (c->status == GCS_DISABLED)         y += DrawStringMultiLine(x, y, STR_NEWGRF_DISABLED, w, bottom - y);
   109 	if (c->status == GCS_DISABLED)         y += DrawStringMultiLine(x, y, STR_NEWGRF_DISABLED, w, bottom - y);
   110 	if (HasBit(c->flags, GCF_COMPATIBLE)) y += DrawStringMultiLine(x, y, STR_NEWGRF_COMPATIBLE_LOADED, w, bottom - y);
   110 	if (HasBit(c->flags, GCF_COMPATIBLE)) y += DrawStringMultiLine(x, y, STR_NEWGRF_COMPATIBLE_LOADED, w, bottom - y);