summaryrefslogtreecommitdiff
path: root/src/game/GameModel.cpp
diff options
context:
space:
mode:
authorSavely Skresanov <savask@yandex.ru>2012-08-05 13:37:18 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-05 15:19:30 (GMT)
commit6e324c82e2a81d22b4ee09637be64d9b4c24bf1d (patch)
tree5bb33a6b4d074d4cbc87f8558053e40eff03a11d /src/game/GameModel.cpp
parent3030d675169d240fcc833a93c0c5ca5b3b95ebc8 (diff)
downloadpowder-6e324c82e2a81d22b4ee09637be64d9b4c24bf1d.zip
powder-6e324c82e2a81d22b4ee09637be64d9b4c24bf1d.tar.gz
Added triangle brush, fixes #47
Diffstat (limited to 'src/game/GameModel.cpp')
-rw-r--r--src/game/GameModel.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/GameModel.cpp b/src/game/GameModel.cpp
index 9a9e807..c56c195 100644
--- a/src/game/GameModel.cpp
+++ b/src/game/GameModel.cpp
@@ -7,6 +7,7 @@
#include "interface/Point.h"
#include "Brush.h"
#include "EllipseBrush.h"
+#include "TriangleBrush.h"
#include "client/Client.h"
#include "game/DecorationTool.h"
#include "GameModelException.h"
@@ -222,6 +223,7 @@ void GameModel::BuildMenus()
//Set default brush palette
brushList.push_back(new EllipseBrush(ui::Point(4, 4)));
brushList.push_back(new Brush(ui::Point(4, 4)));
+ brushList.push_back(new TriangleBrush(ui::Point(4, 4)));
//Set default tools
activeTools[0] = menuList[SC_POWDERS]->GetToolList()[0];
@@ -801,4 +803,4 @@ void GameModel::notifyQuickOptionsChanged()
{
observers[i]->NotifyQuickOptionsChanged(this);
}
-} \ No newline at end of file
+}