namegen.h
author tron
Sun, 15 May 2005 18:50:55 +0000
changeset 1820 9b6458526480
parent 1307 e009b42d00b4
child 2186 461a2aff3486
permissions -rw-r--r--
(svn r2324) Introduce _cmd_text for passing strings with a command instead of abusing _decode_parameters as text buffer. This should prevent several possible buffer overruns and is a bit cleaner to use. As bonus it reduces the size of most command packets by 79 bytes.
#ifndef NAMEGEN_H
#define NAMEGEN_H

typedef byte TownNameGenerator(char *buf, uint32 seed);

extern TownNameGenerator * const _town_name_generators[];

#endif