equal
deleted
inserted
replaced
1989 void SortResolutions(int count) |
1989 void SortResolutions(int count) |
1990 { |
1990 { |
1991 qsort(_resolutions, count, sizeof(_resolutions[0]), compare_res); |
1991 qsort(_resolutions, count, sizeof(_resolutions[0]), compare_res); |
1992 } |
1992 } |
1993 |
1993 |
1994 uint16 GetDrawStringPlayerColor(byte player) |
1994 uint16 GetDrawStringPlayerColor(PlayerID player) |
1995 { |
1995 { |
1996 // Get the color for DrawString-subroutines which matches the color |
1996 // Get the color for DrawString-subroutines which matches the color |
1997 // of the player |
1997 // of the player |
1998 if (player == OWNER_SPECTATOR || player == OWNER_SPECTATOR - 1) |
1998 if (player == OWNER_SPECTATOR || player == OWNER_SPECTATOR - 1) |
1999 return 1; |
1999 return 1; |