Provides more color variety, also allows for forcefully changing default colors on the client.
Summarize what's being changed (include any screenshots, code, or other media if available):
Basically all it does is change the location of where netcolors are stored to remove the limitation of static array length. It also overwrite the limitation logic from >= kMaxColors to != kMaxColors; changed kMaxColors from 18 to -2. Also implemented an api endpoint api/colors to allow loading colors from the serverside, this may be deactivated by setting the reloadColorsInterval to -1.
Confirm the following:
[x] I have tested these changes (by compiling, running, and playing) and have seen no unintended differences in gameplay
Why:
Provides more color variety, also allows for forcefully changing default colors on the client.
Summarize what's being changed (include any screenshots, code, or other media if available):
Basically all it does is change the location of where netcolors are stored to remove the limitation of static array length. It also overwrite the limitation logic from >= kMaxColors to != kMaxColors; changed kMaxColors from 18 to -2. Also implemented an api endpoint api/colors to allow loading colors from the serverside, this may be deactivated by setting the reloadColorsInterval to -1.
Confirm the following: