Daenks/Meridian59_103 — pull request #650 by skittles1 (2014-09-30 12:35:56+00:00)
Title: Object flag expansion - new bit field for player name colors and minimap dot info.

This pull request creates a new bit field, referred to in the kod code as viObjectIdentity_flags and in the client as obj->identityflags. This bit field handles the coloring of player names and any extra drawing effects for minimap dots (plan red/blue dots are still determined using the original flags).

The moved bit flags have been given new values and no longer overlap, although if space becomes an issue again we could use overlapping for the player name colors again. Players who have the black draw FX (shadow form, some illusionary forms) will send a new bit flag, PLAYER_SHADOW/PF_SHADOW for simplicity in the C code.

Refactored the code for drawing player name colors in color.c.

Also fixed a bug with one of the resources in the Armageddon spell that I found while testing colors, and made the projectile lighting color random (it said it was already, but just returned a single color).

Note that this pull request is coded to go in simultaneously with #358.