2 Copyright (c) 2006 Paolo Capriotti <p.capriotti@sns.it>
3 (c) 2006 Maurizio Monge <maurizio.monge@kdemail.net>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
11 #ifndef POSITIONINFO_H
12 #define POSITIONINFO_H
16 #include <boost/shared_ptr.hpp>
20 #include "icsgamedata.h"
26 IsolatedPosition
= -3,
27 ObservingExamined
= -2,
32 UnknownRelation
= -255
35 class CaptureIndexes
{
42 WhiteQueenCastle
= 12,
44 BlackQueenCastle
= 14,
51 StartingIncrement
= 21,
64 std::vector
<AbstractPiece::Ptr
> row
;
65 explicit PositionRow(VariantInfo
* variant
, const QString
& str
);
68 static QRegExp pattern
;
71 PositionInfo(const std::map
<int, ICSGameData
>& games
, const QString
&);
79 AbstractPosition::Ptr position
;
80 Point enPassantSquare
;
90 #endif // POSITIONINFO_H