My Project
|
#include <square.h>
Public Member Functions | |
RelativeKingX (int ix, int iox, bool a, Ptype p) | |
bool | match (const NumEffectState &state, Move move, const RatingEnv &) const |
![]() | |
Feature (const std::string &name) | |
virtual | ~Feature () |
virtual bool | effectiveInCheck () const |
const std::string & | name () const |
Static Public Member Functions | |
static const std::string | name (int x, int old_x, bool, Ptype) |
static int | makeX (bool attack, const NumEffectState &state, Move move) |
static int | makeOldX (bool attack, const NumEffectState &state, Move move) |
static int | index (bool attack, const NumEffectState &state, Move move) |
Private Attributes | |
int | x |
int | old_x |
Ptype | ptype |
bool | attack |
|
inline |
|
inlinestatic |
Definition at line 72 of file square.h.
References attack, makeOldX(), makeX(), old_x, osl::Move::ptype(), ptype, osl::PTYPE_MAX, osl::PTYPE_PIECE_MIN, and x.
Referenced by osl::rating::RelativeKingXGroup::findMatch().
|
inlinestatic |
Definition at line 59 of file square.h.
References osl::alt(), attack, osl::Move::from(), osl::Move::isDrop(), osl::SimpleState::kingSquare(), osl::Move::player(), and osl::Square::x().
|
inlinestatic |
Definition at line 53 of file square.h.
References osl::alt(), attack, osl::SimpleState::kingSquare(), osl::Move::player(), osl::Move::to(), and osl::Square::x().
|
inlinevirtual |
Implements osl::rating::Feature.
Definition at line 66 of file square.h.
References attack, makeOldX(), makeX(), old_x, osl::Move::ptype(), ptype, and x.
|
static |
Definition at line 7 of file square.cc.
References osl::PtypeTable::getCsaName(), and osl::Ptype_Table.
|
private |
|
private |
|
private |
|
private |