src/namegen.h
author bjarni
Mon, 05 Feb 2007 21:16:56 +0000
changeset 6192 c6adfc929c6b
parent 5726 8f399788f6c9
child 6303 84c215fc8eb8
permissions -rw-r--r--
(svn r8605) -Codechange: [OSX] changed all objective C to objective C++
This will permanently solve the issue where compilation on OSX broke because C++ code was added to some header files

-Note: (important if you develop mac specific code)
taken from http://developer.apple.com/releasenotes/Cocoa/Objective-C++.html
gdb lacks an integrated C++ with Objective-C parser. This means that gdb won't be able to evaluate expressions that contain both C++ and Objective-C constructs.
gdb assumes that the language for ".mm" files is C++.
you can change it to objective C by typing: (gdb) set language objc
Mixing C++ and objective C has some limitation (see link for all of them)
2186
461a2aff3486 (svn r2701) Insert Id tags into all source files
tron
parents: 1307
diff changeset
     1
/* $Id$ */
461a2aff3486 (svn r2701) Insert Id tags into all source files
tron
parents: 1307
diff changeset
     2
1306
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     3
#ifndef NAMEGEN_H
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     4
#define NAMEGEN_H
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     5
4919
8ac0256c6009 (svn r6895) - Fix (r6884): Add 'last' parameter to the town name generators.
peter1138
parents: 2436
diff changeset
     6
typedef byte TownNameGenerator(char *buf, uint32 seed, const char *last);
1306
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     7
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     8
extern TownNameGenerator * const _town_name_generators[];
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     9
2436
177cb6a8339f (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 */