comparison 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
comparison
equal deleted inserted replaced
355:8b125ec749d7 356:ab41334e8a57
75 std::vector<Instance*> getInstances(const std::string& identifier); 75 std::vector<Instance*> getInstances(const std::string& identifier);
76 std::vector<Instance*> getInstancesAt(Location& loc, bool use_exactcoordinates=false); 76 std::vector<Instance*> getInstancesAt(Location& loc, bool use_exactcoordinates=false);
77 Instance* getInstance(const std::string& id); 77 Instance* getInstance(const std::string& id);
78 78
79 void setInstancesVisible(bool vis); 79 void setInstancesVisible(bool vis);
80 void setLayerTransparency(uint8_t transparency);
81 uint8_t getLayerTransparency();
80 bool cellContainsBlockingInstance(const ModelCoordinate& cellCoordinate); 82 bool cellContainsBlockingInstance(const ModelCoordinate& cellCoordinate);
81 void toggleInstancesVisible(); 83 void toggleInstancesVisible();
82 bool areInstancesVisible() const; 84 bool areInstancesVisible() const;
83 85
84 void setPathingStrategy(PathingStrategy strategy); 86 void setPathingStrategy(PathingStrategy strategy);