Age | Commit message (Collapse) | Author |
|
With \x, we sometimes had to do the "" trick, as the length is not
predefined. With C++11 bringing \u to the specs, which has a preset
length, we no longer need the "" trick.
We set the strings to u8, to ensure all compilers use UTF-8 encoding
for the \u characters.
This was triggered by newer CLangs, which start to warn if you
use "" in the middle of a string, wondering if that was your
intention. It is a good question. And this is our answer :)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
replace word function since we never want to add a '\0' anyway, and we know the exact length too
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
GenerateTownName in all cases.
|
|
iterating all just created town names (MJP)
|
|
Eagle_rainbow)
|
|
wasn't really working
|
|
|
|
|
|
|
|
arguments to FormatString
|
|
array around in FormatString and friends
|
|
|
|
townnames on map generation, so they are controlled by the generation-seed as well.
|
|
if a header require a header make it include that header
|
|
|
|
town name before its creation (original patch by Terkhen)
|
|
|