equal
deleted
inserted
replaced
96 /* misc.cpp */ |
96 /* misc.cpp */ |
97 bool IsCustomName(StringID id); |
97 bool IsCustomName(StringID id); |
98 void DeleteName(StringID id); |
98 void DeleteName(StringID id); |
99 char *GetName(char *buff, StringID id, const char* last); |
99 char *GetName(char *buff, StringID id, const char* last); |
100 |
100 |
101 /* AllocateNameUnique also tests if the name used is not used anywere else |
|
102 * and if it is used, it returns an error. */ |
|
103 #define AllocateNameUnique(name, skip) RealAllocateName(name, skip, true) |
|
104 #define AllocateName(name, skip) RealAllocateName(name, skip, false) |
101 #define AllocateName(name, skip) RealAllocateName(name, skip, false) |
105 StringID RealAllocateName(const char *name, byte skip, bool check_double); |
102 StringID RealAllocateName(const char *name, byte skip, bool check_double); |
106 void ConvertNameArray(); |
103 void ConvertNameArray(); |
107 |
104 |
108 /* misc functions */ |
105 /* misc functions */ |