3463 |
3463 |
3464 if ((type == 0x0D) && (num == 10) && _cur_grffile->is_ottdfile) { |
3464 if ((type == 0x0D) && (num == 10) && _cur_grffile->is_ottdfile) { |
3465 /* Special not-TTDP-compatible case used in openttd(d/w).grf |
3465 /* Special not-TTDP-compatible case used in openttd(d/w).grf |
3466 * Missing shore sprites and initialisation of SPR_SHORE_BASE */ |
3466 * Missing shore sprites and initialisation of SPR_SHORE_BASE */ |
3467 grfmsg(2, "GraphicsNew: Loading 10 missing shore sprites from openttd(d/w).grf."); |
3467 grfmsg(2, "GraphicsNew: Loading 10 missing shore sprites from openttd(d/w).grf."); |
3468 LoadNextSprite( SPR_SHORE_BASE + 0, _file_index, _nfo_line++); // SLOPE_STEEP_S |
3468 LoadNextSprite(SPR_SHORE_BASE + 0, _file_index, _nfo_line++); // SLOPE_STEEP_S |
3469 LoadNextSprite( SPR_SHORE_BASE + 5, _file_index, _nfo_line++); // SLOPE_STEEP_W |
3469 LoadNextSprite(SPR_SHORE_BASE + 5, _file_index, _nfo_line++); // SLOPE_STEEP_W |
3470 LoadNextSprite( SPR_SHORE_BASE + 7, _file_index, _nfo_line++); // SLOPE_WSE |
3470 LoadNextSprite(SPR_SHORE_BASE + 7, _file_index, _nfo_line++); // SLOPE_WSE |
3471 LoadNextSprite( SPR_SHORE_BASE + 10, _file_index, _nfo_line++); // SLOPE_STEEP_N |
3471 LoadNextSprite(SPR_SHORE_BASE + 10, _file_index, _nfo_line++); // SLOPE_STEEP_N |
3472 LoadNextSprite( SPR_SHORE_BASE + 11, _file_index, _nfo_line++); // SLOPE_NWS |
3472 LoadNextSprite(SPR_SHORE_BASE + 11, _file_index, _nfo_line++); // SLOPE_NWS |
3473 LoadNextSprite( SPR_SHORE_BASE + 13, _file_index, _nfo_line++); // SLOPE_ENW |
3473 LoadNextSprite(SPR_SHORE_BASE + 13, _file_index, _nfo_line++); // SLOPE_ENW |
3474 LoadNextSprite( SPR_SHORE_BASE + 14, _file_index, _nfo_line++); // SLOPE_SEN |
3474 LoadNextSprite(SPR_SHORE_BASE + 14, _file_index, _nfo_line++); // SLOPE_SEN |
3475 LoadNextSprite( SPR_SHORE_BASE + 15, _file_index, _nfo_line++); // SLOPE_STEEP_E |
3475 LoadNextSprite(SPR_SHORE_BASE + 15, _file_index, _nfo_line++); // SLOPE_STEEP_E |
3476 LoadNextSprite( SPR_SHORE_BASE + 16, _file_index, _nfo_line++); // SLOPE_EW |
3476 LoadNextSprite(SPR_SHORE_BASE + 16, _file_index, _nfo_line++); // SLOPE_EW |
3477 LoadNextSprite( SPR_SHORE_BASE + 17, _file_index, _nfo_line++); // SLOPE_NS |
3477 LoadNextSprite(SPR_SHORE_BASE + 17, _file_index, _nfo_line++); // SLOPE_NS |
3478 if (_loaded_newgrf_features.shore == SHORE_REPLACE_NONE) _loaded_newgrf_features.shore = SHORE_REPLACE_ONLY_NEW; |
3478 if (_loaded_newgrf_features.shore == SHORE_REPLACE_NONE) _loaded_newgrf_features.shore = SHORE_REPLACE_ONLY_NEW; |
3479 return; |
3479 return; |
3480 } |
3480 } |
3481 |
3481 |
3482 /* Supported type? */ |
3482 /* Supported type? */ |