19 #define IFF_COLOR_SELECTION 0
20 #define IFF_COLOR_MESSAGE 1
21 #define IFF_COLOR_TAGGED 2
22 #define MAX_IFF_COLORS (MAX_IFFS + 3)
25 #define IFFF_SUPPORT_ALLOWED (1 << 0) // this IFF can call for support
26 #define IFFF_EXEMPT_FROM_ALL_TEAMS_AT_WAR (1 << 1) // self-explanatory
27 #define IFFF_ORDERS_HIDDEN (1 << 2) // the HUD will not show a targeted ship's orders
28 #define IFFF_ORDERS_SHOWN (1 << 3) // the HUD will show a targeted ship's orders (friendly has by default)
29 #define IFFF_WING_NAME_HIDDEN (1 << 4) // the HUD will not show a targeted ship's name if it is in a wing
30 #define MAX_IFF_FLAGS 5
color * iff_get_color_by_team(int team, int seen_from_team, int is_bright)
int iff_get_mask(int team)
int iff_get_alpha_value(bool is_bright)
int iff_get_attackee_mask(int attacker_team)
iff_info Iff_info[MAX_IFFS]
GLdouble GLdouble GLdouble r
int iff_x_attacks_y(int team_x, int team_y)
int iff_init_color(int r, int g, int b)
int radar_iff_color[5][2][4]
color * iff_get_color(int color_index, int is_bright)
int iff_lookup(char *iff_name)
color * iff_get_color_by_team_and_object(int team, int seen_from_team, int is_bright, object *objp)
int attackee_bitmask_all_teams_at_war
GLboolean GLboolean GLboolean b
int iff_get_attacker_mask(int attackee_team)
int iff_matches_mask(int team, int mask)
char iff_name[NAME_LENGTH]
int observed_color_index[MAX_IFFS]