#include <kisen.h>
Static Public Member Functions | |
static Square | convertSquare (int pos) |
static Move | convertMove (state::SimpleState const &state, int c0, int c1) |
static int | convertSquare (Square pos) |
|
static |
Definition at line 25 of file kisen.cc.
References osl::alt(), osl::BISHOP, osl::captured(), convertSquare(), count, osl::GOLD, osl::Move::INVALID(), osl::Piece::isEmpty(), osl::Piece::isPiece(), osl::KING, osl::KNIGHT, osl::LANCE, osl::Piece::owner(), osl::PAWN, osl::promote(), osl::Piece::ptype(), osl::PTYPE_EMPTY, osl::ROOK, and osl::SILVER.
Referenced by osl::record::KisenFile::getMoves().
|
static |
Definition at line 15 of file kisen.cc.
Referenced by convertMove().
|
static |
Definition at line 20 of file kisen.cc.
References osl::Square::x(), and osl::Square::y().