Codechange: Use std::string for most of the user-settable custom names.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user