(svn r25230) -Feature: [NewGRF] Expose sprite base of foundation and shore sprites via Action D Game Variables.

This commit is contained in:
frosch 2013-05-07 12:38:43 +00:00
parent a8ba748434
commit 71cfe3d474
1 changed files with 8 additions and 0 deletions

View File

@ -6371,6 +6371,14 @@ static uint32 GetPatchVariable(uint8 param)
case 0x14:
return MAX_TILE_HEIGHT;
/* Extra foundations base sprite */
case 0x15:
return SPR_SLOPES_BASE;
/* Shore base sprite */
case 0x16:
return SPR_SHORE_BASE;
default:
grfmsg(2, "ParamSet: Unknown Patch variable 0x%02X.", param);
return 0;