36 const unit *punit)
const
42 if (ptile ==
nullptr) {
47 if (eowner ==
nullptr) {
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.
layer_base_flags(struct tileset *ts, const QPoint &offset)
A layer when drawing the map.
struct tileset * tileset() const
struct nation_type * nation_of_player(const struct player *pplayer)
Return the nation of a player.
#define tile_has_extra(ptile, pextra)
const QPixmap * get_nation_flag_sprite(const struct tileset *t, const struct nation_type *pnation)
Return the sprite for the nation.