Freeciv-3.3: /fast/freeciv/nightly/main/server/setcompat.h File Reference

Freeciv-3.3

Loading...
Searching...
No Matches
Macros | Functions
setcompat.h File Reference

Go to the source code of this file.

## Macros

#define | setcompat_current_name_from_previous(_old_name_) setcompat_S3_2_name_from_S3_1(_old_name_)
#define | setcompat_current_val_from_previous(_set_, _old_val_) setcompat_S3_2_val_from_S3_1(_set_, _old_val_)

## Functions

const char * | setcompat_S3_2_name_from_S3_1 (const char *old_name)
const char * | setcompat_S3_2_val_from_S3_1 (struct setting *pset, const char *val)

## Macro Definition Documentation

## ◆ setcompat_current_name_from_previous

#define setcompat_current_name_from_previous | ( |  | _old_name_ | ) | setcompat_S3_2_name_from_S3_1(_old_name_)

Definition at line 20 of file setcompat.h.

## ◆ setcompat_current_val_from_previous

#define setcompat_current_val_from_previous | ( |  | _set_,
|  |  | _old_val_
| ) |  | setcompat_S3_2_val_from_S3_1(_set_, _old_val_)

Definition at line 22 of file setcompat.h.

## Function Documentation

## ◆ setcompat_S3_2_name_from_S3_1()

const char * setcompat_S3_2_name_from_S3_1 | ( | const char * | old_name | ) |

Find a 3.2 name of the setting with the given 3.1 name.

Definition at line 62 of file setcompat.c.

Referenced by compat_load_030200().

## ◆ setcompat_S3_2_val_from_S3_1()

const char * setcompat_S3_2_val_from_S3_1 | ( | struct setting * | pset,
|  | const char * | val
| ) |  |

Find a 3.2 value of the setting with the given 3.1 value.

Definition at line 70 of file setcompat.c.