#include <disasmtomoves.h>
Public Member Functions | |
fixedPositions_c (const disassemblerNode_c *nd, const std::vector< unsigned int > &pieces, unsigned int pc) | |
fixedPositions_c (const fixedPositions_c *nd) | |
~fixedPositions_c (void) | |
virtual float | getX (unsigned int piece) |
the x-positions of the piece is returned | |
virtual float | getY (unsigned int piece) |
the y-positions of the piece is returned | |
virtual float | getZ (unsigned int piece) |
the z-positions of the piece is returned | |
virtual float | getA (unsigned int piece) |
the alpha value of the piece (0 invisible, 1 opaque) | |
virtual bool | moving (unsigned int piece) |
piece moving at this time | |
Private Member Functions | |
fixedPositions_c (const fixedPositions_c &) | |
void | operator= (const fixedPositions_c &) |
Private Attributes | |
int * | x |
int * | y |
int * | z |
bool * | visible |
unsigned int | pieces |
fixedPositions_c::fixedPositions_c | ( | const disassemblerNode_c * | nd, | |
const std::vector< unsigned int > & | pieces, | |||
unsigned int | pc | |||
) |
References bt_assert, disassemblerNode_c::getX(), disassemblerNode_c::getY(), disassemblerNode_c::getZ(), pieces, visible, x, y, and z.
fixedPositions_c::fixedPositions_c | ( | const fixedPositions_c * | nd | ) |
fixedPositions_c::fixedPositions_c | ( | const fixedPositions_c & | ) | [private] |
float fixedPositions_c::getA | ( | unsigned int | piece | ) | [virtual] |
the alpha value of the piece (0 invisible, 1 opaque)
Implements piecePositions_c.
References visible.
float fixedPositions_c::getX | ( | unsigned int | piece | ) | [virtual] |
float fixedPositions_c::getY | ( | unsigned int | piece | ) | [virtual] |
float fixedPositions_c::getZ | ( | unsigned int | piece | ) | [virtual] |
bool fixedPositions_c::moving | ( | unsigned int | piece | ) | [virtual] |
void fixedPositions_c::operator= | ( | const fixedPositions_c & | ) | [private] |
unsigned int fixedPositions_c::pieces [private] |
Referenced by fixedPositions_c(), getX(), getY(), and getZ().
bool* fixedPositions_c::visible [private] |
Referenced by fixedPositions_c(), getA(), and ~fixedPositions_c().
int* fixedPositions_c::x [private] |
Referenced by fixedPositions_c(), getX(), and ~fixedPositions_c().
int * fixedPositions_c::y [private] |
Referenced by fixedPositions_c(), getY(), and ~fixedPositions_c().
int * fixedPositions_c::z [private] |
Referenced by fixedPositions_c(), getZ(), and ~fixedPositions_c().