server/src/common/util/language_struct.h
Enno Rehling 2367ea70ca - Rassenprefix als xml-include
- is_familiar() gab false zurück, wenn Magier nicht vorhanden war (partielles laden)
- verschiedene typecasts, die eigentlich unnötig sind
- windir nur benutzen, wenn MSCVER gesetzt
2004-08-07 07:42:22 +00:00

27 lines
588 B
C

#ifndef CLASS_LANGUAGE_STRUCT
#define CLASS_LANGUAGE_STRUCT
/* This file should not be included by anything in the server. If you
* feel that you need to include it, it's a sure sign that you're trying to
* do something BAD. */
#define SMAXHASH 512
typedef struct locale_str {
unsigned int hashkey;
struct locale_str * nexthash;
char * str;
char * key;
} locale_str;
typedef struct locale {
struct locale * next;
unsigned int hashkey;
const char * name;
struct locale_str * strings[SMAXHASH];
} locale;
extern locale * default_locale;
extern locale * locales;
#endif