namegen.h
author KUDr
Tue, 18 Apr 2006 18:02:52 +0000
changeset 3584 1af7d6e9d1ba
parent 2436 7d5df545bd5d
child 4919 9a5b9becf31e
permissions -rw-r--r--
(svn r4470) -Fix: FS#97 ? Possible bug in Win64 versions (by michi_cc)
Doesn't fix any known bug, but the code is now bit cleaner. The proper result of subtraction of two pointers is ptrdiff_t.
2186
db48cf29b983 (svn r2701) Insert Id tags into all source files
tron
parents: 1307
diff changeset
     1
/* $Id$ */
db48cf29b983 (svn r2701) Insert Id tags into all source files
tron
parents: 1307
diff changeset
     2
1306
7768d8361d88 (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     3
#ifndef NAMEGEN_H
7768d8361d88 (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     4
#define NAMEGEN_H
7768d8361d88 (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     5
1307
74a20969a884 (svn r1811) Use char for string handling in namegen.[ch]
tron
parents: 1306
diff changeset
     6
typedef byte TownNameGenerator(char *buf, uint32 seed);
1306
7768d8361d88 (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     7
7768d8361d88 (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     8
extern TownNameGenerator * const _town_name_generators[];
7768d8361d88 (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     9
2436
7d5df545bd5d (svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
Darkvater
parents: 2186
diff changeset
    10
#endif /* NAMEGEN_H */