差が uniqになるような座標の差分. [詳細]
#include <offset32.h>
Public メソッド | |
Offset32Base (Square to, Square from) | |
Offset32Base (int dx, int dy) | |
unsigned int | index () const |
bool | isValid () const |
template<Player P> | |
const Offset32Base | blackOffset32 () const |
Player P からみた offset を黒番のものに変更する. | |
const Offset32Base | operator- () const |
Static Public 変数 | |
static const unsigned int | SIZE = (MAX-MIN+1) |
Private 型 | |
enum | { MIN = -(Width*32+Width), MAX = (Width*32+Width) } |
Private メソッド | |
Offset32Base (int o) | |
int | dx (Offset32Base offset32) |
int | dy (Offset32Base offset32) |
Private 変数 | |
int | offset32 |
差が uniqになるような座標の差分.
x*32+y同士の差を取る ちょっとだけ溢れても良い
offset32.h の 16 行で定義されています。
anonymous enum [private] |
offset32.h の 18 行で定義されています。
osl::Offset32Base< Width, Width2 >::Offset32Base | ( | int | o | ) | [inline, explicit, private] |
osl::Offset32Base< Width, Width2 >::Offset32Base | ( | Square | to, | |
Square | from | |||
) | [inline] |
osl::Offset32Base< Width, Width2 >::Offset32Base | ( | int | dx, | |
int | dy | |||
) | [inline] |
offset32.h の 37 行で定義されています。
const Offset32Base osl::Offset32Base< Width, Width2 >::blackOffset32 | ( | ) | const [inline] |
Player P からみた offset を黒番のものに変更する.
offset32.h の 52 行で定義されています。
参照先 osl::BLACK, osl::Offset32Base< Width, Width2 >::offset32, と osl::Offset32Base< Width, Width2 >::Offset32Base().
int osl::Offset32Base< Width, Width2 >::dx | ( | Offset32Base< Width, Width2 > | offset32 | ) | [private] |
int osl::Offset32Base< Width, Width2 >::dy | ( | Offset32Base< Width, Width2 > | offset32 | ) | [private] |
unsigned int osl::Offset32Base< Width, Width2 >::index | ( | ) | const [inline] |
offset32.h の 40 行で定義されています。
参照先 osl::Offset32Base< Width, Width2 >::offset32.
参照元 osl::progress::Effect5x3Table::countShortEffect(), osl::PtypeTable::effect(), osl::effect_util::Neighboring8Direct::Table::findNearest(), osl::progress::Effect5x3Table::getBlockEffect(), osl::PtypeTable::getEffect(), osl::progress::Effect5x3Table::getLongEffect(), osl::BoardTable::getShortOffset(), osl::BoardTable::getShortOffsetNotKnight(), osl::effect_util::Neighboring8Direct::Table::hasEffectOrAdditional(), osl::PtypeTable::init(), osl::effect_util::Neighboring8Direct::Table::init(), osl::BoardTable::setDirections(), osl::BoardTable::setKnightDirections(), osl::progress::Effect5x3Table::setupBlockEffect(), osl::progress::Effect5x3Table::setupLongEffect(), osl::progress::Effect5x3Table::setupShortEffect(), と osl::BoardTable::spaceCounts().
bool osl::Offset32Base< Width, Width2 >::isValid | ( | ) | const [inline] |
const Offset32Base osl::Offset32Base< Width, Width2 >::operator- | ( | ) | const [inline] |
int osl::Offset32Base< Width, Width2 >::offset32 [private] |
const unsigned int osl::Offset32Base< Width, Width2 >::SIZE = (MAX-MIN+1) [static] |
offset32.h の 23 行で定義されています。