summaryrefslogtreecommitdiff
path: root/noncore/games/backgammon/moveengine.cpp
authorwaspe <waspe>2003-05-16 16:34:55 (UTC)
committer waspe <waspe>2003-05-16 16:34:55 (UTC)
commit11b6ce5ac500dce757ccdd0a5f5b5ecd7fb866c8 (patch) (unidiff)
tree3013dbafcb4e1f919e104204d1288f0309da5641 /noncore/games/backgammon/moveengine.cpp
parent75f1e9815410e75a6f9ae76d8db716c0c315ea45 (diff)
downloadopie-11b6ce5ac500dce757ccdd0a5f5b5ecd7fb866c8.zip
opie-11b6ce5ac500dce757ccdd0a5f5b5ecd7fb866c8.tar.gz
opie-11b6ce5ac500dce757ccdd0a5f5b5ecd7fb866c8.tar.bz2
*** empty log message ***
Diffstat (limited to 'noncore/games/backgammon/moveengine.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/backgammon/moveengine.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/noncore/games/backgammon/moveengine.cpp b/noncore/games/backgammon/moveengine.cpp
index 8106b3f..009c449 100644
--- a/noncore/games/backgammon/moveengine.cpp
+++ b/noncore/games/backgammon/moveengine.cpp
@@ -1,20 +1,18 @@
1#include "moveengine.h" 1#include "moveengine.h"
2 2
3#include <qmessagebox.h> 3#include <qmessagebox.h>
4 4
5#include <qtimer.h> 5#include <qtimer.h>
6 6
7#include <stdlib.h>
8
9MoveEngine::MoveEngine() 7MoveEngine::MoveEngine()
10 : QObject() 8 : QObject()
11{ 9{
12 int offset=7; 10 int offset=7;
13 int a=0; //counter variable 11 int a=0; //counter variable
14 int xfill[]={210,185,170,155,140,125,110,85,70,55,40,25,10,10,25,40,55,70,85,110,125,140,155,170,185,210}; 12 int xfill[]={210,185,170,155,140,125,110,85,70,55,40,25,10,10,25,40,55,70,85,110,125,140,155,170,185,210};
15 for(a=0;a<26;a++) 13 for(a=0;a<26;a++)
16 { 14 {
17 x_coord[a]=xfill[a]; 15 x_coord[a]=xfill[a];
18 } 16 }
19 17
20 int yfill[]={10,25,40,55,70,10+offset,25+offset,40+offset,55+offset,25,40,55, 25+offset,40+offset,40}; 18 int yfill[]={10,25,40,55,70,10+offset,25+offset,40+offset,55+offset,25,40,55, 25+offset,40+offset,40};