diff options
author | neoraider <devnull@localhost> | 2008-02-08 22:21:01 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-02-08 22:21:01 +0100 |
commit | acb1721e94a49a4941bb11dfc2f832c3848aa204 (patch) | |
tree | 6398053a11b46242974ae171d700418bd42c92b8 /Renderer.h | |
parent | a39525ca36e2c002332f914907f74061533c2b04 (diff) | |
download | zoomedit-acb1721e94a49a4941bb11dfc2f832c3848aa204.tar zoomedit-acb1721e94a49a4941bb11dfc2f832c3848aa204.zip |
zoomedit: Implemented Rotate tool; added simple gates.
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) { |