summaryrefslogtreecommitdiff
path: root/functions.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-06 20:53:31 +0000
committertron <tron@openttd.org>2005-02-06 20:53:31 +0000
commit27dc506a0313993c8e7dc4acf77da9649d362a58 (patch)
tree4d728c3b9f36fe992992338e2532a9f937559204 /functions.h
parentcc8fc19d4a1caab042a1b545f37eead2ff62f5ff (diff)
downloadopenttd-27dc506a0313993c8e7dc4acf77da9649d362a58.tar.xz
(svn r1832) Next byte -> char iteration: custom names
Diffstat (limited to 'functions.h')
-rw-r--r--functions.h4
1 files changed, 2 insertions, 2 deletions
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);