Files @ r1820:335b057adac7
Branch filter:

Location: cpp/openttd-patchpack/source/namegen.h

tron
(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.
1
2
3
4
5
6
7
8
#ifndef NAMEGEN_H
#define NAMEGEN_H

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

extern TownNameGenerator * const _town_name_generators[];

#endif