Change: Add placeholders for unimplemented NewGRF station properties.

This commit is contained in:
Peter Nelson 2023-05-01 12:02:11 +01:00 committed by PeterN
parent 7a86615007
commit d6f35a9fd6
1 changed files with 9 additions and 0 deletions

View File

@ -2095,6 +2095,8 @@ static ChangeInfoResult StationChangeInfo(uint stid, int numinfo, int prop, Byte
statspec->animation.triggers = buf->ReadWord();
break;
/* 0x19 road routing (not implemented) */
case 0x1A: { // Advanced sprite layout
uint16 tiles = buf->ReadExtendedByte();
statspec->renderdata.clear(); // delete earlier loaded stuff
@ -2115,6 +2117,13 @@ static ChangeInfoResult StationChangeInfo(uint stid, int numinfo, int prop, Byte
break;
}
case 0x1B: // Minimum bridge height (not implemented)
buf->ReadWord();
buf->ReadWord();
buf->ReadWord();
buf->ReadWord();
break;
default:
ret = CIR_UNKNOWN;
break;