PicPainter.cpp File Reference

#include "PicPainter.h"
#include "Pieces.h"
#include "GLWidget.h"
#include "Configuration.h"

Include dependency graph for PicPainter.cpp:


Defines

#define POLY_A   0x0001
#define POLY_B   0x0002
#define POLY_C   0x0004
#define POLY_D   0x0008
#define POLY_UA   0x0010
#define POLY_UB   0x0020
#define POLY_UC   0x0040
#define POLY_UD   0x0080

Variables

static const int half_orient_ind_pic [8][2] = { {0, 1}, {6, 4}, {7, 5}, {2, 3}, {3, 6}, {5, 0}, {4, 2}, {1, 7}}
static const int half_orient_data [8][4] = { {0, 1, 2, 3}, {3, 2, 1, 0}, {1, 2, 3, 0}, {0, 3, 2, 1}, {2, 1, 0, 3}, {1, 0, 3, 2}, {3, 0, 1, 2}, {2, 3, 0, 1}}

Define Documentation

#define POLY_A   0x0001

#define POLY_B   0x0002

#define POLY_C   0x0004

#define POLY_D   0x0008

#define POLY_UA   0x0010

#define POLY_UB   0x0020

#define POLY_UC   0x0040

#define POLY_UD   0x0080


Variable Documentation

const int half_orient_data[8][4] = { {0, 1, 2, 3}, {3, 2, 1, 0}, {1, 2, 3, 0}, {0, 3, 2, 1}, {2, 1, 0, 3}, {1, 0, 3, 2}, {3, 0, 1, 2}, {2, 3, 0, 1}} [static]

const int half_orient_ind_pic[8][2] = { {0, 1}, {6, 4}, {7, 5}, {2, 3}, {3, 6}, {5, 0}, {4, 2}, {1, 7}} [static]