84 case ACTIVITY_POLLUTION:
85 case ACTIVITY_FALLOUT:
89 case ACTIVITY_GEN_ROAD:
void reset_ruleset() override
Resets data about extras.
std::vector< QPixmap * > m_extra_rm_activities
std::array< QPixmap *, ACTIVITY_LAST > m_activities
void load_sprites() override
Loads the sprites in memory.
void initialize_extra(const extra_type *extra, const QString &tag, extrastyle_id style) override
Loads the extra activity and remove activity sprites.
QPixmap * activity_sprite(unit_activity id, const extra_type *extra) const
Returns the sprite used to represent a given activity on the map.
std::vector< QPixmap * > m_extra_activities
QPixmap * load_sprite(const QStringList &possible_names, bool required=false, bool verbose=true) const
Shortcut to load a sprite from the tileset.
#define fc_assert(condition)
int fc_strcasecmp(const char *str0, const char *str1)
Compare strings like strcmp(), but ignoring case.