Freeciv-3.3
Loading...
Searching...
No Matches
Data Structures | Macros
traits.h File Reference
#include "specenum_gen.h"

Go to the source code of this file.

Data Structures

struct  ai_trait
 
struct  trait_limits
 

Macros

#define SPECENUM_NAME   trait
 
#define SPECENUM_VALUE0   TRAIT_EXPANSIONIST
 
#define SPECENUM_VALUE0NAME   "Expansionist"
 
#define SPECENUM_VALUE1   TRAIT_TRADER
 
#define SPECENUM_VALUE1NAME   "Trader"
 
#define SPECENUM_VALUE2   TRAIT_AGGRESSIVE
 
#define SPECENUM_VALUE2NAME   "Aggressive"
 
#define SPECENUM_VALUE3   TRAIT_BUILDER
 
#define SPECENUM_VALUE3NAME   "Builder"
 
#define SPECENUM_COUNT   TRAIT_COUNT
 
#define TRAIT_DEFAULT_VALUE   50
 
#define TRAIT_MAX_VALUE   (TRAIT_DEFAULT_VALUE * TRAIT_DEFAULT_VALUE)
 
#define TRAIT_MAX_VALUE_SR   (TRAIT_DEFAULT_VALUE)
 

Macro Definition Documentation

◆ SPECENUM_COUNT

#define SPECENUM_COUNT   TRAIT_COUNT

Definition at line 29 of file traits.h.

◆ SPECENUM_NAME

#define SPECENUM_NAME   trait

Definition at line 20 of file traits.h.

◆ SPECENUM_VALUE0

#define SPECENUM_VALUE0   TRAIT_EXPANSIONIST

Definition at line 21 of file traits.h.

◆ SPECENUM_VALUE0NAME

#define SPECENUM_VALUE0NAME   "Expansionist"

Definition at line 22 of file traits.h.

◆ SPECENUM_VALUE1

#define SPECENUM_VALUE1   TRAIT_TRADER

Definition at line 23 of file traits.h.

◆ SPECENUM_VALUE1NAME

#define SPECENUM_VALUE1NAME   "Trader"

Definition at line 24 of file traits.h.

◆ SPECENUM_VALUE2

#define SPECENUM_VALUE2   TRAIT_AGGRESSIVE

Definition at line 25 of file traits.h.

◆ SPECENUM_VALUE2NAME

#define SPECENUM_VALUE2NAME   "Aggressive"

Definition at line 26 of file traits.h.

◆ SPECENUM_VALUE3

#define SPECENUM_VALUE3   TRAIT_BUILDER

Definition at line 27 of file traits.h.

◆ SPECENUM_VALUE3NAME

#define SPECENUM_VALUE3NAME   "Builder"

Definition at line 28 of file traits.h.

◆ TRAIT_DEFAULT_VALUE

#define TRAIT_DEFAULT_VALUE   50

Definition at line 32 of file traits.h.

◆ TRAIT_MAX_VALUE

#define TRAIT_MAX_VALUE   (TRAIT_DEFAULT_VALUE * TRAIT_DEFAULT_VALUE)

Definition at line 33 of file traits.h.

◆ TRAIT_MAX_VALUE_SR

#define TRAIT_MAX_VALUE_SR   (TRAIT_DEFAULT_VALUE)

Definition at line 34 of file traits.h.