mirror of https://github.com/skeeto/pixelcity.git
Re-submit of an existing change, because svn is telling me r14 changes aren't there: Added more variety to tower-type buildings. Prevented the "steps" look those
buildings were sometimes prone to have.
This commit is contained in:
parent
ba38e19c04
commit
f66a2e8da7
|
@ -64,8 +64,7 @@ CBuilding::CBuilding (int type, int x, int y, int height, int width, int depth,
|
|||
_have_trim = false;
|
||||
_roof_tiers = 0;
|
||||
//Pick a color for logos & roof lights
|
||||
//_trim_color = WorldLightColor (seed);
|
||||
_trim_color = glRgbaFromHsl (0.5f, 1.0f, 0.9f);
|
||||
_trim_color = WorldLightColor (seed);
|
||||
_mesh = new CMesh; //The main textured mesh for the building
|
||||
_mesh_flat = new CMesh; //Flat-color mesh for untextured detail items.
|
||||
switch (type) {
|
||||
|
|
Loading…
Reference in New Issue