MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / NextString

Method NextString

src/strings.cpp:2344–2357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2342 }
2343
2344 std::optional<std::string_view> NextString() override
2345 {
2346 if (this->i >= TEXT_TAB_END) return std::nullopt;
2347
2348 std::string_view ret = _langpack.strings[_langpack.langtab_start[this->i] + this->j];
2349
2350 this->j++;
2351 while (this->i < TEXT_TAB_END && this->j >= _langpack.langtab_num[this->i]) {
2352 this->i++;
2353 this->j = 0;
2354 }
2355
2356 return ret;
2357 }
2358
2359 bool Monospace() override
2360 {

Callers 1

FindMissingGlyphsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected