diff options
author | peter1138 <peter1138@openttd.org> | 2008-01-12 19:58:06 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-01-12 19:58:06 +0000 |
commit | ab8382c0db353d9d1ba6b7a9690d56aa2415258c (patch) | |
tree | f23fb584e594e0c9ff5a9ad650d97c493714078d /src/functions.h | |
parent | a222fe2e86d2736217f3bba43b28e95297b8d71e (diff) | |
download | openttd-ab8382c0db353d9d1ba6b7a9690d56aa2415258c.tar.xz |
(svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
Diffstat (limited to 'src/functions.h')
-rw-r--r-- | src/functions.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/functions.h b/src/functions.h index 1badf9dfc..e7053f71a 100644 --- a/src/functions.h +++ b/src/functions.h @@ -35,12 +35,7 @@ void InitializeLandscapeVariables(bool only_constants); /* misc.cpp */ bool IsCustomName(StringID id); -void DeleteName(StringID id); -char *GetName(char *buff, StringID id, const char *last); - -#define AllocateName(name, skip) RealAllocateName(name, skip, false) -StringID RealAllocateName(const char *name, byte skip, bool check_double); -void ConvertNameArray(); +char *CopyFromOldName(StringID id); /* misc functions */ /** |