Mercurial > hg > openttd
view src/namegen.h @ 5787:26da4d1baaed draft
(svn r8339) -Fix(r8331): MSVC seems to be a little more strict (or less intelligent) then other compilers when it comes to operator precedence.
A copy of code from train_gui.cpp to build_vehicle_gui.cpp was not exactly the same.
The earlier version did not require parenthesis to specify correct operator precedence.
author | belugas <belugas@openttd.org> |
---|---|
date | Mon, 22 Jan 2007 02:59:50 +0000 |
parents | eabf4b86aed6 |
children | bcf98ba27bbf |
line wrap: on
line source
/* $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 */