File diff r4911:1934a0c6e865 → r4912:d420151de4c6
functions.h
Show inline comments
 
@@ -137,13 +137,13 @@ void PlaceTreesRandomly(void);
 

	
 
void InitializeLandscapeVariables(bool only_constants);
 

	
 
/* misc.c */
 
bool IsCustomName(StringID id);
 
void DeleteName(StringID id);
 
char *GetName(int id, char *buff);
 
char *GetName(char *buff, StringID id, const char* last);
 

	
 
// AllocateNameUnique also tests if the name used is not used anywere else
 
//  and if it is used, it returns an error.
 
#define AllocateNameUnique(name, skip) RealAllocateName(name, skip, true)
 
#define AllocateName(name, skip) RealAllocateName(name, skip, false)
 
StringID RealAllocateName(const char *name, byte skip, bool check_double);