project_files/frontlib/model/team.h
changeset 7227 1c859f572d72
parent 7224 5143861c83bd
child 7230 240620f46dd7
equal deleted inserted replaced
7224:5143861c83bd 7227:1c859f572d72
    77 /**
    77 /**
    78  * Write the team to an ini file. Attempts to retain extra ini settings
    78  * Write the team to an ini file. Attempts to retain extra ini settings
    79  * that were already present. Note that not all fields of a team struct
    79  * that were already present. Note that not all fields of a team struct
    80  * are stored in the ini, some are only used intermittently to store
    80  * are stored in the ini, some are only used intermittently to store
    81  * information about a team in the context of a game.
    81  * information about a team in the context of a game.
       
    82  *
       
    83  * The flib_team can handle "difficulty" on a per-hog basis, but it
       
    84  * is only written per-team in the team file. The difficulty of the
       
    85  * first hog is used for the entire team when writing.
    82  */
    86  */
    83 int flib_team_to_ini(const char *filename, const flib_team *team);
    87 int flib_team_to_ini(const char *filename, const flib_team *team);
    84 void flib_team_destroy(flib_team *team);
    88 void flib_team_destroy(flib_team *team);
    85 
    89 
    86 #endif /* TEAM_H_ */
    90 #endif /* TEAM_H_ */