summaryrefslogtreecommitdiff
path: root/noncore/games/backgammon/moveengine.h
Unidiff
Diffstat (limited to 'noncore/games/backgammon/moveengine.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/backgammon/moveengine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/games/backgammon/moveengine.h b/noncore/games/backgammon/moveengine.h
index a2d4a52..4c39a04 100644
--- a/noncore/games/backgammon/moveengine.h
+++ b/noncore/games/backgammon/moveengine.h
@@ -1,29 +1,29 @@
1#ifndef MOVEENGINE_H 1#ifndef MOVEENGINE_H
2#define MOVEENGINE_H 2#define MOVEENGINE_H
3 3
4#include <qobject.h>
5#include "definition.h" 4#include "definition.h"
5#include <qobject.h>
6 6
7class MoveEngine : public QObject 7class MoveEngine : public QObject
8{ 8{
9 Q_OBJECT 9 Q_OBJECT
10private: 10private:
11 //normal pieses 11 //normal pieses
12 int x_coord[26]; //26 posssible x-positions or piece is not on the board 12 int x_coord[26]; //26 posssible x-positions or piece is not on the board
13 int yup_coord[15]; // the 15 posssible y-positions on the upper half of the board 13 int yup_coord[15]; // the 15 posssible y-positions on the upper half of the board
14 int ylow_coord[15]; // the 15 posssible y-positions on the lower half of the board 14 int ylow_coord[15]; // the 15 posssible y-positions on the lower half of the board
15 int z_coord[15]; //the 15 possible z-positionson the board 15 int z_coord[15]; //the 15 possible z-positionson the board
16 //finshed pieces 16 //finshed pieces
17 int x_fin1[3]; 17 int x_fin1[3];
18 int x_fin2[3]; 18 int x_fin2[3];
19 int y_fin[5]; 19 int y_fin[5];
20 int z_fin; 20 int z_fin;
21 //the board population 21 //the board population
22 // |12|11|10|09|08|07|06|05|04|03|02|01|00| 22 // |12|11|10|09|08|07|06|05|04|03|02|01|00|
23 // ======================================= 23 // =======================================
24 // |13|14|15|16|17|18|19|20|21|22|23|24|25| 24 // |13|14|15|16|17|18|19|20|21|22|23|24|25|
25 // endzones 26 player1, 27 player 2 25 // endzones 26 player1, 27 player 2
26 Population population[28]; 26 Population population[28];
27 AISettings ai; 27 AISettings ai;
28 //move information 28 //move information
29 int player; 29 int player;