diff options
Diffstat (limited to 'kgoldrunner')
-rw-r--r-- | kgoldrunner/src/kgrcanvas.cpp | 6 | ||||
-rw-r--r-- | kgoldrunner/src/kgrcanvas.h | 2 | ||||
-rw-r--r-- | kgoldrunner/src/kgrfigure.cpp | 4 | ||||
-rw-r--r-- | kgoldrunner/src/kgrfigure.h | 8 | ||||
-rw-r--r-- | kgoldrunner/src/kgrgame.h | 4 |
5 files changed, 12 insertions, 12 deletions
diff --git a/kgoldrunner/src/kgrcanvas.cpp b/kgoldrunner/src/kgrcanvas.cpp index cd364d15..bd642214 100644 --- a/kgoldrunner/src/kgrcanvas.cpp +++ b/kgoldrunner/src/kgrcanvas.cpp @@ -396,8 +396,8 @@ void KGrCanvas::initView() #else TQPixmap * pm; TQPoint * pt; - TQList<TQPixmap> pmList; - TQList<TQPoint> ptList; + TQPtrList<TQPixmap> pmList; + TQPtrList<TQPoint> ptList; pt = new TQPoint (0, 0); // "Hot spot" not used in KGoldrunner. @@ -469,7 +469,7 @@ void KGrCanvas::initView() #ifdef QT3 enemySprites = new TQPtrList<TQCanvasSprite> (); #else - enemySprites = new TQList<TQCanvasSprite> (); + enemySprites = new TQPtrList<TQCanvasSprite> (); #endif enemySprites->setAutoDelete(TRUE); } diff --git a/kgoldrunner/src/kgrcanvas.h b/kgoldrunner/src/kgrcanvas.h index bf9cb1cf..884fc40e 100644 --- a/kgoldrunner/src/kgrcanvas.h +++ b/kgoldrunner/src/kgrcanvas.h @@ -96,7 +96,7 @@ private: #ifdef QT3 TQPtrList<TQCanvasSprite> * enemySprites; #else - TQList<TQCanvasSprite> * enemySprites; + TQPtrList<TQCanvasSprite> * enemySprites; #endif void initView(); diff --git a/kgoldrunner/src/kgrfigure.cpp b/kgoldrunner/src/kgrfigure.cpp index 272c571e..850de749 100644 --- a/kgoldrunner/src/kgrfigure.cpp +++ b/kgoldrunner/src/kgrfigure.cpp @@ -713,7 +713,7 @@ void KGrHero::digRight(){ #ifdef QT3 void KGrHero::setEnemyList(TQPtrList<KGrEnemy> *e) #else -void KGrHero::setEnemyList(TQList<KGrEnemy> *e) +void KGrHero::setEnemyList(TQPtrList<KGrEnemy> *e) #endif { enemies = e; @@ -1673,7 +1673,7 @@ bool KGrEnemy::willNotFall (int x, int y) #ifdef QT3 void KGrEnemy::setEnemyList(TQPtrList<KGrEnemy> *e) #else -void KGrEnemy::setEnemyList(TQList<KGrEnemy> *e) +void KGrEnemy::setEnemyList(TQPtrList<KGrEnemy> *e) #endif { enemies = e; diff --git a/kgoldrunner/src/kgrfigure.h b/kgoldrunner/src/kgrfigure.h index 70c5fbed..f25950b2 100644 --- a/kgoldrunner/src/kgrfigure.h +++ b/kgoldrunner/src/kgrfigure.h @@ -116,7 +116,7 @@ public: #ifdef QT3 void setEnemyList(TQPtrList<KGrEnemy> *); #else - void setEnemyList(TQList<KGrEnemy> *); + void setEnemyList(TQPtrList<KGrEnemy> *); #endif void init(int,int); void setKey(Direction); @@ -133,7 +133,7 @@ private: #ifdef QT3 TQPtrList<KGrEnemy> *enemies; #else - TQList<KGrEnemy> *enemies; + TQPtrList<KGrEnemy> *enemies; #endif KGrCanvas * heroView; bool standOnEnemy(); @@ -172,7 +172,7 @@ public: #ifdef QT3 void setEnemyList(TQPtrList<KGrEnemy> *); #else - void setEnemyList(TQList<KGrEnemy> *); + void setEnemyList(TQPtrList<KGrEnemy> *); #endif virtual void init(int,int); static int WALKDELAY; @@ -192,7 +192,7 @@ private: #ifdef QT3 TQPtrList<KGrEnemy> *enemies; #else - TQList<KGrEnemy> *enemies; + TQPtrList<KGrEnemy> *enemies; #endif bool standOnEnemy(); bool bumpingFriend(); diff --git a/kgoldrunner/src/kgrgame.h b/kgoldrunner/src/kgrgame.h index 29cd135d..4e420199 100644 --- a/kgoldrunner/src/kgrgame.h +++ b/kgoldrunner/src/kgrgame.h @@ -158,7 +158,7 @@ private: #ifdef QT3 TQPtrList<KGrEnemy> enemies; // The list of enemies. #else - TQList<KGrEnemy> enemies; // The list of enemies. + TQPtrList<KGrEnemy> enemies; // The list of enemies. #endif int enemyCount; // How many enemies. KGrEnemy * enemy; // One of the enemies. @@ -250,7 +250,7 @@ private: #ifdef QT3 TQPtrList<KGrCollection> collections; // List of ALL collections. #else - TQList<KGrCollection> collections; // List of ALL collections. + TQPtrList<KGrCollection> collections; // List of ALL collections. #endif KGrCollection * collection; // Collection currently in use. |