Support for NAG

This commit is contained in:
Loic Guegan 2022-12-29 20:28:53 +01:00
parent 02431a6b92
commit d23718225a
3 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit a90469e71a821d152ae31d16bd8b78793ada98d6
Subproject commit f1f638100f4bcd88b31c3412e961dbbb5e12ad0a

View file

@ -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);
}

View file

@ -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;