Rename Qt4 directory to Qt

This commit is contained in:
nhmall
2019-12-07 17:07:50 +01:00
committed by Patric Mueller
parent 4b7c8d5f0f
commit 3073a588eb
68 changed files with 5750 additions and 5750 deletions
+37
View File
@@ -0,0 +1,37 @@
// Copyright (c) Warwick Allison, 1999.
// Qt4 conversion copyright (c) Ray Chason, 2012-2014.
// NetHack may be freely redistributed. See license for details.
// qt_click.h -- a mouse click buffer
#ifndef QT4CLICK_H
#define QT4CLICK_H
namespace nethack_qt_ {
class NetHackQtClickBuffer {
public:
NetHackQtClickBuffer();
bool Empty() const;
bool Full() const;
void Put(int x, int y, int mod);
int NextX() const;
int NextY() const;
int NextMod() const;
void Get();
private:
enum { maxclick=64 };
struct ClickRec {
int x,y,mod;
} click[maxclick];
int in,out;
};
} // namespace nethack_qt_
#endif