Freeciv21
Develop your civilization from humble roots to a global empire
mapdef Struct Reference

Public Attributes

char maparg [MAX_LEN_MAPARG]
 
char error [MAX_LEN_MAPDEF]
 
enum mapimg_status status
 
QByteArray format
 
int zoom
 
int turns
 
bool layers [MAPIMG_LAYER_COUNT]
 
struct {
   enum show_player   show
 
   union {
      char   name [MAX_LEN_NAME]
 
      int   id
 
      bv_player   plrbv
 
   } 
 
   bv_player   checked_plrbv
 
player
 
bv_mapdef_arg args
 
bool colortest
 

Detailed Description

Definition at line 228 of file mapimg.cpp.

Member Data Documentation

◆ args

bv_mapdef_arg mapdef::args

Definition at line 247 of file mapimg.cpp.

Referenced by mapimg_define(), and mapimg_define_arg().

◆ checked_plrbv

bv_player mapdef::checked_plrbv

◆ colortest

bool mapdef::colortest

Definition at line 248 of file mapimg.cpp.

Referenced by img_save(), and mapdef_new().

◆ error

char mapdef::error[MAX_LEN_MAPDEF]

Definition at line 230 of file mapimg.cpp.

Referenced by mapimg_checkplayers(), mapimg_define_arg(), mapimg_isvalid(), and mapimg_show().

◆ format

QByteArray mapdef::format

Definition at line 232 of file mapimg.cpp.

Referenced by img_save(), mapimg_colortest(), mapimg_def2str(), and mapimg_define_arg().

◆ id

int mapdef::id

Definition at line 240 of file mapimg.cpp.

Referenced by mapimg_checkplayers(), mapimg_def2str(), mapimg_define_arg(), and mapimg_show().

◆ layers

bool mapdef::layers[MAPIMG_LAYER_COUNT]

◆ maparg

char mapdef::maparg[MAX_LEN_MAPARG]

Definition at line 229 of file mapimg.cpp.

Referenced by mapimg_def2str(), and mapimg_define().

◆ name

char mapdef::name[MAX_LEN_NAME]

Definition at line 239 of file mapimg.cpp.

Referenced by mapimg_checkplayers(), mapimg_def2str(), mapimg_define_arg(), and mapimg_show().

◆ 

◆ plrbv

bv_player mapdef::plrbv

◆ show

◆ status

enum mapimg_status mapdef::status

◆ turns

int mapdef::turns

Definition at line 234 of file mapimg.cpp.

Referenced by mapimg_create(), mapimg_def2str(), mapimg_define_arg(), and mapimg_help().

◆ zoom

int mapdef::zoom