mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Rework drawing objects and fix drawing locked objects
This commit is contained in:
@@ -111,8 +111,8 @@ public:
|
||||
std::set<int3> addObject(const CGObjectInstance * object);
|
||||
|
||||
/// draws all objects on current tile (higher-level logic, unlike other draw*** methods)
|
||||
void drawObjects(QPainter & painter, int x, int y, int z, QPointF offset, const std::set<const CGObjectInstance *> & locked);
|
||||
void drawObjectAt(QPainter & painter, const CGObjectInstance * object, int x, int y, QPointF offset);
|
||||
void drawObjects(QPainter & painter, const QRectF & section, int z, std::set<const CGObjectInstance *> & locked);
|
||||
void drawObjectAt(QPainter & painter, const CGObjectInstance * object, int x, int y, QPointF offset, bool locked = false);
|
||||
|
||||
void drawMinimapTile(QPainter & painter, int x, int y, int z);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user