diff options
author | gregory guy <gregory-tde@laposte.net> | 2020-08-21 14:42:44 +0200 |
---|---|---|
committer | gregory guy <gregory-tde@laposte.net> | 2020-08-24 17:20:16 +0200 |
commit | a212e6154c5d748ef6068fc3539790d4c806bfc5 (patch) | |
tree | 75a5b5057a321546d4cb7b4ae9a220c492db7fbc /kpacman/referee.h | |
parent | a451e44f4ac9838eca11731780be425a1f46a0b8 (diff) | |
download | tdepacman-a212e6154c5d748ef6068fc3539790d4c806bfc5.tar.gz tdepacman-a212e6154c5d748ef6068fc3539790d4c806bfc5.zip |
Remove some deprecated Qt2 stuff.
TQArray vs TQMemArray.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'kpacman/referee.h')
-rw-r--r-- | kpacman/referee.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/kpacman/referee.h b/kpacman/referee.h index 4d5fd4e..c147d18 100644 --- a/kpacman/referee.h +++ b/kpacman/referee.h @@ -80,7 +80,7 @@ protected: void focusOutEvent(TQFocusEvent *); void focusInEvent(TQFocusEvent *); - void fillArray(TQArray<int> &, TQString, int); + void fillArray(TQMemArray<int> &, TQString, int); void fillStrList(TQStrList &, TQString, int); void fillMapName(); @@ -102,22 +102,22 @@ private: TQString mapDirectory; TQStrList mapName; - TQArray<int> speed; - TQArray<int> monsterIQ; - TQArray<int> fruitIQ; - TQArray<int> fruitIndex; - TQArray<int> pacmanTicks; - TQArray<int> remTicks; - TQArray<int> dangerousTicks; - TQArray<int> harmlessTicks; - TQArray<int> harmlessDurTicks; - TQArray<int> harmlessWarnTicks; - TQArray<int> arrestTicks; - TQArray<int> arrestDurTicks; - TQArray<int> fruitTicks; - TQArray<int> fruitAppearsTicks; - TQArray<int> fruitDurTicks; - TQArray<int> fruitScoreDurTicks; + TQMemArray<int> speed; + TQMemArray<int> monsterIQ; + TQMemArray<int> fruitIQ; + TQMemArray<int> fruitIndex; + TQMemArray<int> pacmanTicks; + TQMemArray<int> remTicks; + TQMemArray<int> dangerousTicks; + TQMemArray<int> harmlessTicks; + TQMemArray<int> harmlessDurTicks; + TQMemArray<int> harmlessWarnTicks; + TQMemArray<int> arrestTicks; + TQMemArray<int> arrestDurTicks; + TQMemArray<int> fruitTicks; + TQMemArray<int> fruitAppearsTicks; + TQMemArray<int> fruitDurTicks; + TQMemArray<int> fruitScoreDurTicks; int monsterScoreDurMS; int playerDurMS; @@ -135,9 +135,9 @@ private: int pointScore; int energizerScore; - TQArray<int> fruitScore; - TQArray<int> monsterScore; - TQArray<int> extraLifeScore; + TQMemArray<int> fruitScore; + TQMemArray<int> monsterScore; + TQMemArray<int> extraLifeScore; int extraLifeScoreIndex; int nextExtraLifeScore; |