diff options
Diffstat (limited to 'Renderer.h')
-rw-r--r-- | Renderer.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -7,6 +7,7 @@ #include "Level.h" #include "Room.h" #include "PlayerStart.h" +#include "Portal.h" class Renderer { @@ -18,13 +19,14 @@ class Renderer { protected: void fillPolygon(const Polygon &polygon); void drawPolygon(const Polygon &polygon, bool close = true); - void drawCircle(const Vertex &m, float r, int n); + void drawCircle(const Vertex &m, float r, int n = 64); void drawCross(const Vertex &m, float r); void renderObject(const LevelObject &object, bool selected, bool highlighted, float scale); void renderRoom(const Room &room, bool selected, bool highlighted, float scale); void renderPlayerStart(const PlayerStart &start, bool selected, bool highlighted, float scale); + void renderPortal(const Portal &portal, bool selected, bool highlighted, float scale); public: Renderer(EditManager *editManager) { |