Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

GoBoard::StackEntry Struct Reference

List of all members.

Detailed Description

Information to undo a move.

Holds information necessary to undo a play.

Definition at line 677 of file GoBoard.h.

Public Attributes

SgBlackWhite m_color
 Color of the move.
SgPoint m_point
 Location of the move.
bool m_isFirst
 Old value of m_isFirst[m_point].
bool m_isNewPosition
 Old value of m_isNewPosition.
Blockm_stoneAddedTo
Only defined if m_stoneAddedTo != 0
SgPoint m_oldAnchor
SgSList< SgPoint, 4 > m_newLibs
SgSList< Block *, 4 > m_merged
Only defined if m_type == PLAY
SgBlackWhite m_toPlay
 Old value of m_toPlay.
HashCode m_hash
 Old value of m_hash.
SgPoint m_koPoint
 Old value of m_koPoint.
int m_koLevel
 Old value of m_koLevel.
SgEmptyBlackWhite m_koColor
 Old value of m_koColor.
SgEmptyBlackWhite m_koLoser
 Old value of m_koLoser.
bool m_koModifiesHash
 Old value of m_koModifiesHash.
Blockm_suicide
SgSList< Block *, 4 > m_killed


Member Data Documentation

SgBlackWhite GoBoard::StackEntry::m_color

Color of the move.

Definition at line 680 of file GoBoard.h.

Referenced by GoBoard::FullBoardRepetition(), GoBoard::Get2ndLastMove(), GoBoard::GetLastMove(), GoBoard::Move(), GoBoard::Play(), and GoBoard::UpdateBlocksAfterUndo().

HashCode GoBoard::StackEntry::m_hash

Old value of m_hash.

Definition at line 713 of file GoBoard.h.

Referenced by GoBoard::RestoreState(), and GoBoard::SaveState().

bool GoBoard::StackEntry::m_isFirst

Old value of m_isFirst[m_point].

Only defined if m_point is not SG_PASS

Definition at line 688 of file GoBoard.h.

Referenced by GoBoard::FullBoardRepetition(), GoBoard::RestoreState(), and GoBoard::SaveState().

bool GoBoard::StackEntry::m_isNewPosition

Old value of m_isNewPosition.

Definition at line 691 of file GoBoard.h.

Referenced by GoBoard::RestoreState(), and GoBoard::SaveState().

SgSList<Block*,4> GoBoard::StackEntry::m_killed

Definition at line 732 of file GoBoard.h.

Referenced by GoBoard::FullBoardRepetition(), GoBoard::Play(), GoBoard::RemoveLibAndKill(), and GoBoard::UpdateBlocksAfterUndo().

SgEmptyBlackWhite GoBoard::StackEntry::m_koColor

Old value of m_koColor.

Definition at line 722 of file GoBoard.h.

Referenced by GoBoard::RestoreState(), and GoBoard::SaveState().

int GoBoard::StackEntry::m_koLevel

Old value of m_koLevel.

Definition at line 719 of file GoBoard.h.

Referenced by GoBoard::RestoreState(), and GoBoard::SaveState().

SgEmptyBlackWhite GoBoard::StackEntry::m_koLoser

Old value of m_koLoser.

Definition at line 725 of file GoBoard.h.

Referenced by GoBoard::RestoreState(), and GoBoard::SaveState().

bool GoBoard::StackEntry::m_koModifiesHash

Old value of m_koModifiesHash.

Definition at line 728 of file GoBoard.h.

Referenced by GoBoard::RestoreState(), and GoBoard::SaveState().

SgPoint GoBoard::StackEntry::m_koPoint

Old value of m_koPoint.

Definition at line 716 of file GoBoard.h.

Referenced by GoBoard::FullBoardRepetition(), GoBoard::RestoreState(), and GoBoard::SaveState().

SgSList<Block*,4> GoBoard::StackEntry::m_merged

Definition at line 702 of file GoBoard.h.

Referenced by GoBoard::UpdateBlocksAfterAddStone(), and GoBoard::UpdateBlocksAfterUndo().

SgSList<SgPoint,4> GoBoard::StackEntry::m_newLibs

Definition at line 700 of file GoBoard.h.

Referenced by GoBoard::AddStoneToBlock(), and GoBoard::UpdateBlocksAfterUndo().

SgPoint GoBoard::StackEntry::m_oldAnchor

Definition at line 698 of file GoBoard.h.

Referenced by GoBoard::AddStoneToBlock(), and GoBoard::UpdateBlocksAfterUndo().

SgPoint GoBoard::StackEntry::m_point

Location of the move.

Definition at line 683 of file GoBoard.h.

Referenced by GoBoard::FullBoardRepetition(), GoBoard::Get2ndLastMove(), GoBoard::GetLastMove(), GoBoard::Move(), GoBoard::Play(), GoBoard::RestoreState(), GoBoard::SaveState(), and GoBoard::UpdateBlocksAfterUndo().

Block* GoBoard::StackEntry::m_stoneAddedTo

Definition at line 693 of file GoBoard.h.

Referenced by GoBoard::UpdateBlocksAfterAddStone(), and GoBoard::UpdateBlocksAfterUndo().

Block* GoBoard::StackEntry::m_suicide

Definition at line 730 of file GoBoard.h.

Referenced by GoBoard::CheckSuicide(), GoBoard::FullBoardRepetition(), GoBoard::Play(), and GoBoard::UpdateBlocksAfterUndo().

SgBlackWhite GoBoard::StackEntry::m_toPlay

Old value of m_toPlay.

Definition at line 710 of file GoBoard.h.

Referenced by GoBoard::FullBoardRepetition(), GoBoard::RestoreState(), and GoBoard::SaveState().


The documentation for this struct was generated from the following file:


17 Jun 2010 Doxygen 1.4.7