#include "C4Include.h"
#include "control/C4PlayerInfo.h"
#include "control/C4Teams.h"
#include "lib/StdColors.h"
#include "lib/C4Random.h"
Go to the source code of this file.
Classes | |
class | C4PlayerInfoListAttributeConflictResolver |
Functions | |
DWORD | GenerateRandomPlayerColor (int32_t iTry) |
bool | IsColorConflict (DWORD dwClr1, DWORD dwClr2) |
Variables | |
const int32_t | C4MaxPlayerColorChangeTries = 100 |
const int32_t | C4MaxPlayerNameChangeTries = 100 |
DWORD GenerateRandomPlayerColor | ( | int32_t | iTry | ) |
Definition at line 32 of file C4PlayerInfoConflicts.cpp.
References C4RGB, and UnsyncedRandom().
Referenced by C4Team::RecheckColor().
Definition at line 39 of file C4PlayerInfoConflicts.cpp.
References RGB2rgb(), rgb2xyY(), and xy2upvp().
Referenced by C4Team::RecheckColor().
const int32_t C4MaxPlayerColorChangeTries = 100 |
Definition at line 27 of file C4PlayerInfoConflicts.cpp.
const int32_t C4MaxPlayerNameChangeTries = 100 |
Definition at line 28 of file C4PlayerInfoConflicts.cpp.