project_files/frontlib/model/cfg.h
changeset 7271 5608ac657362
parent 7230 240620f46dd7
child 7275 15f722e0b96f
equal deleted inserted replaced
7269:5b0aeef8ba2a 7271:5608ac657362
    22 typedef struct {
    22 typedef struct {
    23     char *name;
    23     char *name;
    24     int bitmaskIndex;
    24     int bitmaskIndex;
    25 } flib_cfg_mod_meta;
    25 } flib_cfg_mod_meta;
    26 
    26 
       
    27 /**
       
    28  * The order of the meta information in the arrays is the same as the order
       
    29  * of the mod/setting information in the net protocol messages.
       
    30  */
    27 typedef struct {
    31 typedef struct {
    28 	int _referenceCount;
    32 	int _referenceCount;
    29 	int settingCount;
    33 	int settingCount;
    30 	int modCount;
    34 	int modCount;
    31     flib_cfg_setting_meta *settings;
    35     flib_cfg_setting_meta *settings;
    34 
    38 
    35 typedef struct {
    39 typedef struct {
    36 	int _referenceCount;
    40 	int _referenceCount;
    37     flib_cfg_meta *meta;
    41     flib_cfg_meta *meta;
    38 
    42 
    39     char *schemeName;
    43     char *name;
    40     int *settings;
    44     int *settings;
    41     bool *mods;
    45     bool *mods;
    42 } flib_cfg;
    46 } flib_cfg;
    43 
    47 
    44 /**
    48 /**