Codechange: convert C-style GetTownName API to std::string returning API
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
#include "core/random_func.hpp"
|
||||
#include "townname_type.h"
|
||||
|
||||
char *GetTownName(char *buff, const TownNameParams *par, uint32 townnameparts, const char *last);
|
||||
char *GetTownName(char *buff, const Town *t, const char *last);
|
||||
std::string GetTownName(const TownNameParams *par, uint32 townnameparts);
|
||||
std::string GetTownName(const Town *t);
|
||||
bool VerifyTownName(uint32 r, const TownNameParams *par, TownNames *town_names = nullptr);
|
||||
bool GenerateTownName(Randomizer &randomizer, uint32 *townnameparts, TownNames *town_names = nullptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user