(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.
This commit is contained in:
@@ -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 */
|
||||
/**
|
||||
|
Reference in New Issue
Block a user