Home
last modified time | relevance | path

Searched refs:total_options_per_section (Results 1 – 1 of 1) sorted by relevance

/dports/games/freeorion/freeorion-0.4.10.2/util/
H A DOptionsDB.cpp322 std::unordered_map<std::string, std::size_t> total_options_per_section; in OptionsBySection() local
328 total_options_per_section[option_name.substr(0, dot_it)]++; in OptionsBySection()
345 auto section_count = total_options_per_section[section_name]; in OptionsBySection()
350 if (total_options_per_section[new_section_name] > ( 7 - section_count )) in OptionsBySection()
352 total_options_per_section[section_name]--; in OptionsBySection()
355 section_count = total_options_per_section[section_name]; in OptionsBySection()
367 for (const auto& section_it : total_options_per_section) { in OptionsBySection()
370 auto total_it = total_options_per_section.find(root_name); in OptionsBySection()
371 if (total_it == total_options_per_section.end()) in OptionsBySection()