mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-07-01 17:57:40 +00:00
Support for NAG
This commit is contained in:
parent
02431a6b92
commit
d23718225a
3 changed files with 3 additions and 2 deletions
|
@ -58,7 +58,7 @@ MainWindow::MainWindow()
|
|||
|
||||
|
||||
// Temporary TO REMOVE JUST FOR TESTS:
|
||||
//BaseTab *bt = new BaseTab((wxFrame *)notebook, "/home/loic/pgn/twic1467.pgn");
|
||||
//BaseTab *bt = new BaseTab((wxFrame *)notebook, "/home/loic/pgn/wijk_2003_annotated.pgn");
|
||||
//this->AddPage(bt,bt);
|
||||
}
|
||||
|
||||
|
|
|
@ -122,6 +122,7 @@ HalfMove *HalfMove::GetMainline() { return (mainline); }
|
|||
|
||||
HalfMove::HalfMove(pgnp::HalfMove *m) : capture(' ') {
|
||||
this->move = m->move;
|
||||
this->nag = m->NAG;
|
||||
this->IsBlack = m->isBlack;
|
||||
this->SetComment(m->comment);
|
||||
this->Number = m->count;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue