Codechange: Use std::string for most of the user-settable custom names.

This commit is contained in:
Michael Lutz
2020-05-17 23:31:59 +02:00
parent 9b6f5e3bb8
commit 63ccb36ef3
41 changed files with 160 additions and 177 deletions

View File

@@ -14,12 +14,13 @@
#include "viewport_type.h"
#include "core/pool_type.hpp"
#include "company_type.h"
#include <string>
typedef Pool<Sign, SignID, 16, 64000> SignPool;
extern SignPool _sign_pool;
struct Sign : SignPool::PoolItem<&_sign_pool> {
char *name;
std::string name;
TrackedViewportSign sign;
int32 x;
int32 y;