head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.14 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.12 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.10 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.8 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.6 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.4 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.2 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.1.0.26 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.24 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.22 pkgsrc-2008Q1:1.1.0.20 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.18 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.16 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.14 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.12 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.10 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.8 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.6 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.4 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.0.2 pkgsrc-2005Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2008.09.16.16.07.34; author wiz; state dead; branches; next 1.1; 1.1 date 2005.12.12.15.16.36; author joerg; state Exp; branches; next ; desc @@ 1.2 log @Remove remaining qt1 and qt2 packages, as announced on pkgsrc-users on Sep 7 2008. No complaints received. @ text @$NetBSD: patch-ac,v 1.1 2005/12/12 15:16:36 joerg Exp $ --- QwSpriteField-template.cpp.orig 2005-12-12 15:06:17.000000000 +0000 +++ QwSpriteField-template.cpp @@@@ -325,8 +325,8 @@@@ This is the default when the sprite is c template void QwMobilePositionedSprite::adoptSpritefieldBounds() { - if (spritefield) { - bounds(0,0,spritefield->width()-1,spritefield->height()-1); + if (this->spritefield) { + bounds(0,0,this->spritefield->width()-1,this->spritefield->height()-1); } else { // Simple default so programmer can see the problem bounds(0,0,50,50); @@@@ -373,8 +373,8 @@@@ happen if the bounds action is set to Ig template bool QwMobilePositionedSprite::outOfBounds() { - return (exact_x()b_right) - || (exact_y()b_bottom); + return (this->exact_x()exact_x()>b_right) + || (this->exact_y()exact_y()>b_bottom); } /*! @@@@ -459,7 +459,7 @@@@ multiplied by the current velocity of th template void QwMobilePositionedSprite::forward(COORD multiplier) { - QwPositionedSprite::moveTo(exact_x()+multiplier*dx, exact_y()+multiplier*dy); + QwPositionedSprite::moveTo(this->exact_x()+multiplier*dx, this->exact_y()+multiplier*dy); } /*! @@@@ -473,9 +473,9 @@@@ has already been dealt with. template Pix QwMobilePositionedSprite::forwardHits(COORD multiplier, int frme) const { - int ix = int(exact_x()+multiplier*dx); - int iy = int(exact_y()+multiplier*dy); - if (ix == x() && iy == y()) + int ix = int(this->exact_x()+multiplier*dx); + int iy = int(this->exact_y()+multiplier*dy); + if (ix == this->x() && iy == this->y()) return 0; return QwPositionedSprite::neighbourhood((COORD)ix, (COORD)iy, frme); } @@@@ -491,9 +491,9 @@@@ has already been dealt with. template Pix QwMobilePositionedSprite::forwardHits(COORD multiplier) const { - int ix = int(exact_x()+multiplier*dx); - int iy = int(exact_y()+multiplier*dy); - if (ix == x() && iy == y()) + int ix = int(this->exact_x()+multiplier*dx); + int iy = int(this->exact_y()+multiplier*dy); + if (ix == this->x() && iy == this->y()) return 0; return QwPositionedSprite::neighbourhood(ix, iy); } @@@@ -507,7 +507,7 @@@@ the given index. template void QwMobilePositionedSprite::forward(COORD multiplier, int frme) { - moveTo(exact_x()+multiplier*dx, exact_y()+multiplier*dy, frme); + moveTo(this->exact_x()+multiplier*dx, this->exact_y()+multiplier*dy, frme); } /*! @ 1.1 log @Fix GCC 3.4 by adding explicit this for template calls. @ text @d1 1 a1 1 $NetBSD$ @