summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-04-21 21:46:37 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-04-21 21:46:37 (GMT)
commit96506610b276be1b4bc1cbc462d991237750fc62 (patch)
treec05e6d55d2a0aa2ad178cfa30f00041a104d6fed /src/game/GameView.cpp
parent75a9460c835f4ebea501a89d23e0c5f46da985cc (diff)
downloadpowder-96506610b276be1b4bc1cbc462d991237750fc62.zip
powder-96506610b276be1b4bc1cbc462d991237750fc62.tar.gz
Clean out graphics, add openGL graphics in seperate file, change brush to use unsigned char rather than boolean for bitmap/outline
Diffstat (limited to 'src/game/GameView.cpp')
-rw-r--r--src/game/GameView.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index 219c6ee..7e04c6e 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -857,9 +857,8 @@ void GameView::OnDraw()
ren->draw_air();
ren->render_parts();
ren->render_fire();
- //ren->draw_grav();
+ ren->draw_grav();
ren->DrawWalls();
- ren->FinaliseParts();
if(activeBrush && currentMouse.X > 0 && currentMouse.X < XRES && currentMouse.Y > 0 && currentMouse.Y < YRES)
{
if(drawMode==DrawRect && isMouseDown)
@@ -875,8 +874,9 @@ void GameView::OnDraw()
activeBrush->RenderPoint(g, c->PointTranslate(currentMouse));
}
}
- ren->RenderZoom();
ren->DrawSigns();
+ ren->FinaliseParts();
+ ren->RenderZoom();
if(selectMode!=SelectNone)
{