Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-05-30 19:56:10 +0000
committerStijn Buys <ingar@osirion.org>2008-05-30 19:56:10 +0000
commit8933b795003f8ad202fce6e553191be8932a37b6 (patch)
treebfb460cbf9261b44deabfd469046a14a95c8d16c /src/model/mapfile.cc
parentf71901eeab126bb4b7e2552dd2edf0b34632c683 (diff)
zlib support
Diffstat (limited to 'src/model/mapfile.cc')
-rw-r--r--src/model/mapfile.cc6
1 files changed, 6 insertions, 0 deletions
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