From a0f7ab0f77fa81b77d03de751e4a5f4e07c49d25 Mon Sep 17 00:00:00 2001 From: Samu Laaksonen Date: Thu, 18 Oct 2012 23:58:18 +0300 Subject: Box2d precommit Added - box2d source codes to be added in project when there is no longer cba - some base ideas to display classes Improved - level loading : layer with property "solid" is now loaded tile by tile, this allows adding static rigid bodies to these items for collision detection --- src/BarDisplay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/BarDisplay.cpp') diff --git a/src/BarDisplay.cpp b/src/BarDisplay.cpp index db6136d..4b27b55 100644 --- a/src/BarDisplay.cpp +++ b/src/BarDisplay.cpp @@ -1,7 +1,7 @@ #include "BarDisplay.h" -BarDisplay::BarDisplay() : - QPixmap() +BarDisplay::BarDisplay(int w, int h) : + QPixmap(w, h) { m_partCount = 4; m_maxValue = 50; -- cgit v1.2.3