Freeciv21
Develop your civilization from humble roots to a global empire
name_translation.h File Reference
#include "fc_types.h"
+ Include dependency graph for name_translation.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  name_translation
 

Macros

#define vernacular   _private_vernacular_
 
#define rulename   _private_rulename_
 
#define translated   _private_translated_
 
#define NAME_INIT
 

Functions

static void name_init (struct name_translation *ptrans)
 
static void names_set (struct name_translation *ptrans, const char *domain, const char *vernacular_name, const char *rule_name)
 
static void name_set (struct name_translation *ptrans, const char *domain, const char *vernacular_name)
 
static const char * untranslated_name (const struct name_translation *ptrans)
 
static const char * rule_name_get (const struct name_translation *ptrans)
 
static const char * name_translation_get (const struct name_translation *ptrans)
 

Macro Definition Documentation

◆ NAME_INIT

#define NAME_INIT
Value:
{ \
nullptr, "\0", "\0" \
}

Definition at line 32 of file name_translation.h.

◆ rulename

#define rulename   _private_rulename_

Definition at line 18 of file name_translation.h.

◆ translated

#define translated   _private_translated_

Definition at line 19 of file name_translation.h.

◆ vernacular

#define vernacular   _private_vernacular_

Definition at line 17 of file name_translation.h.

Function Documentation

◆ name_init()

static void name_init ( struct name_translation ptrans)
inlinestatic

Definition at line 40 of file name_translation.h.

Referenced by multipliers_init(), and nation_type::nation_type().

◆ name_set()

◆ name_translation_get()

◆ names_set()

◆ rule_name_get()

◆ untranslated_name()