#include "GlobDefs.h"
#include <QtGui>
#include <QMessageBox>
#include <QDomDocument>
#include <QFile>
#include "general.h"
#include "Pieces.h"
#include "Texture.h"
#include "CubeDoc.h"
#include "GLWidget.h"
#include "MainWindow.h"
Include dependency graph for Pieces.cpp:
Classes | |
struct | PoolStats |
PoolStats is the datum of the poolStats list which holds the optimal sizes of MyAllcator pools. More... | |
Defines | |
#define | TEX_BUF_SIZE (TEX_X * TEX_Y * 4) |
Functions | |
QImage | endianSwapped (const QImage &src, int n) |
Variables | |
static PicDef::PathPoint | pathway [17] |
static PoolStats | poolStats [] |
#define TEX_BUF_SIZE (TEX_X * TEX_Y * 4) |
QImage endianSwapped | ( | const QImage & | src, | |
int | n | |||
) |
PicDef::PathPoint pathway[17] [static] |
Initial value:
{ {{0, 0}, {true, {0,0}, {1,0}}, {1,0, 1,1} }, {{1, 0}, {false,{2,0}, {2,1}}, {2,0, 2,1} }, {{2, 0}, {false,{3,0}, {3,1}}, {3,0, 3,1} }, {{3, 0}, {false,{4,0}, {4,1}}, {4,0, 4,1} }, {{4, 0}, {true, {5,0}, {5,1}}, {5,1, 4,1} }, {{4, 1}, {false,{5,2}, {4,2}}, {5,2, 4,2} }, {{4, 2}, {false,{5,3}, {4,3}}, {5,3, 4,3} }, {{4, 3}, {false,{5,4}, {4,4}}, {5,4, 4,4} }, {{4, 4}, {true, {5,5}, {4,5}}, {4,5, 4,4} }, {{3, 4}, {false,{3,5}, {3,4}}, {3,5, 3,4} }, {{2, 4}, {false,{2,5}, {2,4}}, {2,5, 2,4} }, {{1, 4}, {false,{1,5}, {1,4}}, {1,5, 1,4} }, {{0, 4}, {true, {0,5}, {0,4}}, {0,4, 1,4} }, {{0, 3}, {false,{0,3}, {1,3}}, {0,3, 1,3} }, {{0, 2}, {false,{0,2}, {1,2}}, {0,2, 1,2} }, {{0, 1}, {false,{0,1}, {1,1}}, {0,1, 1,1} }, {{0, 0}, {false,{-1,-1},{-1,-1}},{-1,-1,-1,-1}} }
Initial value:
{ { 100, 100, 0 }, { 300, 370, 300 }, { 1200, 1500, 1200 }, { 4500, 6000, 4500 }, { 17950, 23900, 17950 }}