Mercurial > fife-parpg
diff engine/core/model/structures/layer.i @ 356:ab41334e8a57
Added or1andov's code with a few adjustments to fix instance transparencies fixed[t:378]
Added layer transparency support
Added layer transparency to map editor
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 24 Sep 2009 18:24:47 +0000 |
parents | 7e5717105212 |
children |
line wrap: on
line diff
--- a/engine/core/model/structures/layer.i Tue Sep 22 19:03:53 2009 +0000 +++ b/engine/core/model/structures/layer.i Thu Sep 24 18:24:47 2009 +0000 @@ -77,6 +77,8 @@ Instance* getInstance(const std::string& id); void setInstancesVisible(bool vis); + void setLayerTransparency(uint8_t transparency); + uint8_t getLayerTransparency(); bool cellContainsBlockingInstance(const ModelCoordinate& cellCoordinate); void toggleInstancesVisible(); bool areInstancesVisible() const;