Freeciv-3.2
Loading...
Searching...
No Matches
Data Fields
client_option Struct Reference

Data Fields

struct option base_option
 
const charname
 
const chardescription
 
const charhelp_text
 
enum client_option_category category
 
enum gui_type specific
 
union { 
 
   struct { 
 
      bool *const   pvalue 
 
      const bool   def 
 
   }   boolean 
 
   struct { 
 
      int *const   pvalue 
 
      const int   def 
 
      const int   min 
 
      const int   max 
 
   }   integer 
 
   struct { 
 
      char *const   pvalue 
 
      const size_t   size 
 
      const char *const   def 
 
      const struct strvec *(*const   val_accessor )(const struct option *) 
 
   }   string 
 
   struct { 
 
      int *const   pvalue 
 
      const int   def 
 
      struct strvec *   support_names 
 
      struct strvec *   pretty_names 
 
      const struct copt_val_name *(*const   name_accessor )(int value) 
 
   }   enumerator 
 
   struct { 
 
      unsigned *const   pvalue 
 
      const unsigned   def 
 
      struct strvec *   support_names 
 
      struct strvec *   pretty_names 
 
      const struct copt_val_name *(*const   name_accessor )(int value) 
 
   }   bitwise 
 
   struct { 
 
      char *const   pvalue 
 
      const size_t   size 
 
      const char *const   def 
 
      const char *const   target 
 
   }   font 
 
   struct { 
 
      struct ft_color *const   pvalue 
 
      const struct ft_color   def 
 
   }   color 
 
   struct { 
 
      struct video_mode *const   pvalue 
 
      const struct video_mode   def 
 
   }   video_mode 
 
};  
 

Detailed Description

Definition at line 1426 of file options.c.

Field Documentation

◆ [union]

union { ... } client_option

◆ base_option

struct option client_option::base_option

Definition at line 1427 of file options.c.

◆ [struct]

struct { ... } client_option::bitwise

◆ [struct]

struct { ... } client_option::boolean

◆ category

enum client_option_category client_option::category

Definition at line 1432 of file options.c.

◆ [struct]

struct { ... } client_option::color

◆ def [1/6]

const bool client_option::def

Definition at line 1439 of file options.c.

◆ def [2/6]

const int client_option::def

Definition at line 1444 of file options.c.

◆ def [3/6]

const char* const client_option::def

Definition at line 1450 of file options.c.

◆ def [4/6]

const unsigned client_option::def

Definition at line 1467 of file options.c.

◆ def [5/6]

const struct ft_color client_option::def

Definition at line 1481 of file options.c.

◆ def [6/6]

const struct video_mode client_option::def

Definition at line 1486 of file options.c.

◆ description

const char* client_option::description

Definition at line 1430 of file options.c.

◆ [struct]

struct { ... } client_option::enumerator

◆ [struct]

struct { ... } client_option::font

Referenced by client_option_font_set().

◆ help_text

const char* client_option::help_text

Definition at line 1431 of file options.c.

◆ [struct]

struct { ... } client_option::integer

Referenced by client_option_int_set().

◆ max

const int client_option::max

Definition at line 1444 of file options.c.

Referenced by client_option_next_valid().

◆ min

const int client_option::min

Definition at line 1444 of file options.c.

◆ name

const char* client_option::name

Definition at line 1429 of file options.c.

Referenced by client_option_name().

◆ name_accessor

const struct copt_val_name *(*const client_option::name_accessor) (int value)

Definition at line 1461 of file options.c.

◆ pretty_names

struct strvec * client_option::pretty_names

Definition at line 1461 of file options.c.

◆ pvalue [1/6]

bool* const client_option::pvalue

Definition at line 1438 of file options.c.

◆ pvalue [2/6]

int* const client_option::pvalue

Definition at line 1443 of file options.c.

◆ pvalue [3/6]

char* const client_option::pvalue

Definition at line 1448 of file options.c.

◆ pvalue [4/6]

unsigned* const client_option::pvalue

Definition at line 1466 of file options.c.

◆ pvalue [5/6]

struct ft_color* const client_option::pvalue

Definition at line 1480 of file options.c.

◆ pvalue [6/6]

struct video_mode* const client_option::pvalue

Definition at line 1485 of file options.c.

◆ size

const size_t client_option::size

Definition at line 1449 of file options.c.

◆ specific

enum gui_type client_option::specific

Definition at line 1433 of file options.c.

◆ [struct]

struct { ... } client_option::string

Referenced by client_option_load().

◆ support_names

struct strvec* client_option::support_names

Definition at line 1461 of file options.c.

◆ target

const char* const client_option::target

Definition at line 1476 of file options.c.

◆ val_accessor

const struct strvec *(*const client_option::val_accessor) (const struct option *)

Definition at line 1450 of file options.c.

◆ [struct]

struct { ... } client_option::video_mode