summaryrefslogtreecommitdiffstats
path: root/kpacman/board.h
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-08-17 20:03:11 +0200
committergregory guy <gregory-tde@laposte.net>2020-08-17 20:03:11 +0200
commit503fddb48f2229ecc6ed6930a99c4d740ff979e5 (patch)
tree81206d9572927fd636b43a00005808cec6c0ce3e /kpacman/board.h
parente0031ac458d4f414ae583a709d48c4cb0f14b09e (diff)
downloadtdepacman-503fddb48f2229ecc6ed6930a99c4d740ff979e5.tar.gz
tdepacman-503fddb48f2229ecc6ed6930a99c4d740ff979e5.zip
Second step, convert to tqt3 libraries.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'kpacman/board.h')
-rw-r--r--kpacman/board.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/kpacman/board.h b/kpacman/board.h
index fffde95..061cbd8 100644
--- a/kpacman/board.h
+++ b/kpacman/board.h
@@ -1,10 +1,10 @@
#ifndef BOARD_H
#define BOARD_H
-#include <qarray.h>
-#include <qstring.h>
-#include <qlist.h>
-#include <qrect.h>
+#include <ntqarray.h>
+#include <ntqstring.h>
+#include <ntqlist.h>
+#include <ntqrect.h>
#define OUT -1
@@ -37,12 +37,12 @@ enum Image { None, Intro, Demo, Level, File };
#define pacmanBit 0x0040
#define monsterBit 0x0100
-class Board : public QArray<int>
+class Board : public TQArray<int>
{
public:
Board (int size);
~Board() {};
- void init(Image image, QString levelName=0);
+ void init(Image image, TQString levelName=0);
void setup(const uchar *buf);
void set(int pos, Square sq, int m = 0);
@@ -78,8 +78,8 @@ private:
bool inBounds(int pos);
int sz; // size of board
- QString map;
- QString mapName; // Filename of the latest loaded map
+ TQString map;
+ TQString mapName; // Filename of the latest loaded map
int prisonEntry; // position of prisonentry
int prisonExit; // position of prisonexit