comparison engine/core/model/structures/layer.i @ 255:51cc05d862f2

Merged editor_rewrite branch to trunk. This contains changes that may break compatibility against existing clients. For a list of changes that may affect your client, see: http://wiki.fifengine.de/Changes_to_pychan_and_FIFE_in_editor_rewrite_branch
author cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 08 Jun 2009 16:00:02 +0000
parents 98541d3b9220
children 7e5717105212
comparison
equal deleted inserted replaced
254:10b5f7f36dd4 255:51cc05d862f2
69 bool addInstance(Instance* instance, const ExactModelCoordinate& p); 69 bool addInstance(Instance* instance, const ExactModelCoordinate& p);
70 void deleteInstance(Instance* object); 70 void deleteInstance(Instance* object);
71 71
72 const std::vector<Instance*>& getInstances() const; 72 const std::vector<Instance*>& getInstances() const;
73 std::vector<Instance*> getInstances(const std::string& identifier); 73 std::vector<Instance*> getInstances(const std::string& identifier);
74 std::vector<Instance*> getInstancesAt(Location& loc, bool use_exactcoordinates=false);
74 Instance* getInstance(const std::string& id); 75 Instance* getInstance(const std::string& id);
75 76
76 void setInstancesVisible(bool vis); 77 void setInstancesVisible(bool vis);
77 bool cellContainsBlockingInstance(const ModelCoordinate& cellCoordinate); 78 bool cellContainsBlockingInstance(const ModelCoordinate& cellCoordinate);
78 void toggleInstancesVisible(); 79 void toggleInstancesVisible();