(svn r26313) -Codechange: use a set for finding unique town names instead of iterating all just created town names (MJP)

This commit is contained in:
rubidium
2014-02-06 21:06:59 +00:00
parent c7629735a3
commit 9f6b8aea49
4 changed files with 29 additions and 15 deletions

View File

@@ -17,6 +17,10 @@
#include "newgrf_townname.h"
#include "town_type.h"
#include <set>
#include <string>
typedef std::set<std::string> TownNames;
/**
* Struct holding a parameters used to generate town name.