| 58 | } |
| 59 | |
| 60 | void BuildSignsList() |
| 61 | { |
| 62 | if (!this->signs.NeedRebuild()) return; |
| 63 | |
| 64 | Debug(misc, 3, "Building sign list"); |
| 65 | |
| 66 | this->signs.clear(); |
| 67 | this->signs.reserve(Sign::GetNumItems()); |
| 68 | |
| 69 | for (const Sign *si : Sign::Iterate()) this->signs.push_back(si); |
| 70 | |
| 71 | this->signs.SetFilterState(true); |
| 72 | this->FilterSignList(); |
| 73 | this->signs.RebuildDone(); |
| 74 | } |
| 75 | |
| 76 | /** Sort signs by their name */ |
| 77 | static bool SignNameSorter(const Sign * const &a, const Sign * const &b) |
no test coverage detected