AllianceMapImage.create2D(256, 1, IMAGE_R8G8B8);
AllianceMapImage.lock(LOCK_WRITE);
Color acolor(0, 0, 0);
Color nato(0, 0, 255);
Color wp(255, 0, 0);
REP(256)
{
AllianceMapImage.color(i, 0, acolor);
}
AllianceMapImage.color(1, 0, nato); // Canada
AllianceMapImage.color(2, 0, nato); // USA
AllianceMapImage.color(36, 0, nato); // UK
AllianceMapImage.color(47, 0, wp); // Poland
AllianceMapImage.color(48, 0, wp); // Russia
AllianceMapImage.color(66, 0, wp); // Hungary
AllianceMapImage.unlock();
GetShaderImage(8"ProvinceMapImage")->set(ProvinceMapImage);
GetShaderImage(8"AllianceImage")->set(AllianceMapImage);