Freeciv-3.3: /fast/freeciv/nightly/main/common/sex.c File Reference

Freeciv-3.3

Loading...
Searching...
No Matches
Functions
sex.c File Reference
`#include "fcintl.h"`
`#include "support.h"`
`#include "sex.h"`

Go to the source code of this file.

## Functions

sex_t | sex_by_name (const char *name)
const char * | sex_rule_name (sex_t kind)
const char * | sex_name_translation (sex_t kind)
const char * | sex_name_mnemonic (sex_t kind, const char *mnemonic)

## Function Documentation

## ◆ sex_by_name()

sex_t sex_by_name | ( | const char * | name | ) |

Return sex by the name provided

Definition at line 27 of file sex.c.

Referenced by load_ruleset_nations(), and sg_load_player_main().

## ◆ sex_name_mnemonic()

const char * sex_name_mnemonic | ( | sex_t | kind,
|  | const char * | mnemonic
| ) |  |

Return translated name of the sex with a mnemonic placed on it

Definition at line 74 of file sex.c.

Referenced by create_races_dialog().

## ◆ sex_name_translation()

const char * sex_name_translation | ( | sex_t | kind | ) |

Return translated name of the sex.

Definition at line 60 of file sex.c.

Referenced by change_sex_callback(), popup_races_dialog(), races_dialog::races_dialog(), and select_random_leader().

## ◆ sex_rule_name()

const char * sex_rule_name | ( | sex_t | kind | ) |

Return name of the sex.

Definition at line 43 of file sex.c.

Referenced by save_nation(), sex_name_translation(), and sg_save_player_main().