From 8933b795003f8ad202fce6e553191be8932a37b6 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 30 May 2008 19:56:10 +0000 Subject: zlib support --- src/model/mapfile.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/model') diff --git a/src/model/mapfile.cc b/src/model/mapfile.cc index 922e2db..585f13b 100644 --- a/src/model/mapfile.cc +++ b/src/model/mapfile.cc @@ -403,6 +403,12 @@ void MapFile::make_brushface(Plane *face) color = new math::Color(0.25, 0.25, 0.25); } else if (face->texture() == "colors/black") { color = new math::Color(0, 0, 0); + } else if (face->texture() == "colors/red") { + color = new math::Color(1, 0, 0); + } else if (face->texture() == "colors/green") { + color = new math::Color(0, 1, 0); + } else if (face->texture() == "colors/blue") { + color = new math::Color(0, 0, 1); } else if (face->texture() == "common/entity") { color = 0; } else -- cgit v1.2.3