Files @ r5731:f5f88f3094dd
Branch filter:

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

Darkvater
(svn r8274) -Codechange (r8151): Move the automatic semaphore/signal checks inside the CMD_ functions where they are supposed to be. Achieve this by adding a seperate bit to p1/p2 to hold the CTRL-modifier. While here, use proper types, and 'unify' the parameter bit-meanings. 0 - ctrl-pressed, 1 - signal/semaphore, 2-4 - trackbits, 5 - remove (internal), 24-31 - drag density.
/* $Id$ */

#ifndef NAMEGEN_H
#define NAMEGEN_H

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

extern TownNameGenerator * const _town_name_generators[];

#endif /* NAMEGEN_H */