summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2003-05-17 13:52:25 (UTC)
committer mickeyl <mickeyl>2003-05-17 13:52:25 (UTC)
commit1aa5c1fc6ef4b7b4e520e6265e6b53c18f025b83 (patch) (side-by-side diff)
tree6e98d8318cb9d99c9daa986e273ba6c4ed8d6dfc
parentbc581ecfb47325fc6b8c8558b596f643002401b6 (diff)
downloadopie-1aa5c1fc6ef4b7b4e520e6265e6b53c18f025b83.zip
opie-1aa5c1fc6ef4b7b4e520e6265e6b53c18f025b83.tar.gz
opie-1aa5c1fc6ef4b7b4e520e6265e6b53c18f025b83.tar.bz2
backgammon compiles again
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/games/backgammon/backgammon.pro4
-rw-r--r--noncore/games/backgammon/backgammonview.h1
-rw-r--r--noncore/games/backgammon/moveengine.cpp2
3 files changed, 4 insertions, 3 deletions
diff --git a/noncore/games/backgammon/backgammon.pro b/noncore/games/backgammon/backgammon.pro
index 6f77a14..4be9491 100644
--- a/noncore/games/backgammon/backgammon.pro
+++ b/noncore/games/backgammon/backgammon.pro
@@ -1,30 +1,30 @@
TEMPLATE = app
CONFIG = qt warn_on release
HEADERS = backgammon.h \
+ backgammonview.h \
canvasimageitem.h \
themedialog.h \
moveengine.h \
filedialog.h \
playerdialog.h \
aidialog.h \
rulesdialog.h \
- displaydialog.h \
definition.h
SOURCES = main.cpp \
backgammon.cpp \
+ backgammonview.cpp \
canvasimageitem.cpp \
themedialog.cpp \
moveengine.cpp \
filedialog.cpp \
playerdialog.cpp \
aidialog.cpp \
rulesdialog.cpp \
- displaydialog.cpp \
definition.cpp
TARGET = backgammon
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe -lstdc++
diff --git a/noncore/games/backgammon/backgammonview.h b/noncore/games/backgammon/backgammonview.h
index 52508e2..81f1973 100644
--- a/noncore/games/backgammon/backgammonview.h
+++ b/noncore/games/backgammon/backgammonview.h
@@ -13,6 +13,7 @@ signals:
void mouse(int,int);
private:
void contentsMousePressEvent(QMouseEvent* e);
};
#endif //BACKGAMMON_VIEW_H \ No newline at end of file
+
diff --git a/noncore/games/backgammon/moveengine.cpp b/noncore/games/backgammon/moveengine.cpp
index 009c449..37b73a6 100644
--- a/noncore/games/backgammon/moveengine.cpp
+++ b/noncore/games/backgammon/moveengine.cpp
@@ -1,11 +1,11 @@
#include "moveengine.h"
#include <qmessagebox.h>
-
#include <qtimer.h>
+#include <stdlib.h>
MoveEngine::MoveEngine()
: QObject()
{
int offset=7;
int a=0; //counter variable