Files @ r5520:aa1247f0561e
Branch filter:

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

Darkvater
(svn r7823) -Fix (r7384 / r7368 / r3757 / r7388): News windows could still cause crashes because
DeleteVehicleNews shuffles around _news_items which can wreak havoc with the NewsItem*
of a currently open news window. While here also correctly update _current_news and
_forced_news for the same reasons. Should really work now.
/* $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 */