bool has_handicap(const struct player *pplayer, enum handicap_type htype)
AI players may have handicaps - allowing them to cheat or preventing them from using certain algorith...
void handicaps_set(struct player *pplayer, QBitArray *handicaps)
Set player handicaps.
const char * handicap_desc(enum handicap_type htype, bool *inverted)
Return a short (translated) string describing the handicap, for help.
void handicaps_init(struct player *pplayer)
Initialize handicaps for player.
void handicaps_close(struct player *pplayer)
Free resources associated with player handicaps.