31 extrastyle_id style)
override;
34 const QPoint &offset = QPoint());
36 std::vector<drawn_sprite>
39 const unit *punit)
const override;
void initialize_extra(const extra_type *extra, const QString &tag, extrastyle_id style) override
Loads sprites for the extra if it has ESTYLE_SINGLE1/2 or ESTYLE_3LAYER.
void set_sprite(const extra_type *extra, const QString &tag, const QPoint &offset=QPoint())
std::vector< drawn_sprite > fill_sprite_array(const tile *ptile, const tile_edge *pedge, const tile_corner *pcorner, const unit *punit) const override
Returns the list of sprites drawn by this layer somewhere on the map.
void reset_ruleset() override
Resets cached data that depends on the ruleset.
layer_special(struct tileset *ts, mapview_layer layer)
virtual ~layer_special()=default
std::array< std::unique_ptr< drawn_sprite >, MAX_EXTRA_TYPES > m_sprites
A layer when drawing the map.