From 6984d6cd31d3ceb270a7caa75c4ed757788eb50b Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 6 Feb 2005 20:53:31 +0000 Subject: (svn r1832) Next byte -> char iteration: custom names --- functions.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'functions.h') diff --git a/functions.h b/functions.h index 164c5f634..44be4f8c4 100644 --- a/functions.h +++ b/functions.h @@ -159,13 +159,13 @@ void InitializeLandscapeVariables(bool only_constants); /* misc.c */ void DeleteName(StringID id); -byte *GetName(int id, byte *buff); +char *GetName(int id, char *buff); // 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 byte *name, byte skip, bool check_double); +StringID RealAllocateName(const char *name, byte skip, bool check_double); void ConvertDayToYMD(YearMonthDay *ymd, uint16 date); uint ConvertYMDToDay(uint year, uint month, uint day); uint ConvertIntDate(uint date); -- cgit v1.2.3-54-g00ecf