mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-29 19:38:19 +00:00
Game Initialization/Create Engine: removed unused deprecated function
This commit is contained in:
parent
afc58c3ba9
commit
8413788234
@ -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_];
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user