From 71cfe3d474e75c25df37c3947bfaa04b917c603e Mon Sep 17 00:00:00 2001 From: frosch Date: Tue, 7 May 2013 12:38:43 +0000 Subject: (svn r25230) -Feature: [NewGRF] Expose sprite base of foundation and shore sprites via Action D Game Variables. --- src/newgrf.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/newgrf.cpp') diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 854ad165e..91220b204 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -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; -- cgit v1.2.3-54-g00ecf