mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-11 08:49:50 +00:00
(svn r25230) -Feature: [NewGRF] Expose sprite base of foundation and shore sprites via Action D Game Variables.
This commit is contained in:
parent
a8ba748434
commit
71cfe3d474
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user