Game Initialization/Create Engine: removed unused deprecated function

This commit is contained in:
Charles Dang 2017-09-07 08:45:02 +11:00
parent afc58c3ba9
commit 8413788234
2 changed files with 0 additions and 14 deletions

View file

@ -505,17 +505,6 @@ void create_engine::reset_level_filters()
level_name_filter_ = "";
}
std::vector<std::string> create_engine::extras_menu_item_names(const MP_EXTRA extra_type) const
{
std::vector<std::string> names;
for(extras_metadata_ptr extra : get_const_extras_by_type(extra_type)) {
names.push_back(extra->name);
}
return names;
}
level& create_engine::current_level() const
{
return *type_map_.at(current_level_type_.v).games[current_level_index_];

View file

@ -342,9 +342,6 @@ public:
std::vector<size_t> get_filtered_level_indices(level::TYPE type) const;
/** DEPRECATED */
std::vector<std::string> extras_menu_item_names(const MP_EXTRA extra_type) const;
level& current_level() const;
const extras_metadata& current_extra(const MP_EXTRA extra_type) const;