mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-19 04:09:41 +00:00
Update chessarbiter and finish the implementation of pawns promotions
This commit is contained in:
parent
b7e48fe351
commit
3bec014a33
8 changed files with 37 additions and 22 deletions
|
@ -14,6 +14,8 @@ class GameTabLeftPanel : public TabGameLeftPanel {
|
|||
bool repeat;
|
||||
HalfMove *last_move;
|
||||
std::vector<GameState::Arrow> engine_arrows;
|
||||
std::string promote_on;
|
||||
std::string promotion_move;
|
||||
|
||||
public:
|
||||
GameTabLeftPanel(wxFrame *parent, std::shared_ptr<Game> game);
|
||||
|
@ -21,7 +23,6 @@ public:
|
|||
void OnPlay(wxCommandEvent &event);
|
||||
void OnGotoMove(wxCommandEvent &event);
|
||||
void OnRefreshBoard(wxCommandEvent &event);
|
||||
void OnPromote(wxCommandEvent &event);
|
||||
void ApplyPreferences();
|
||||
void SetSaveToolEnable(bool state){game_toolbar->EnableTool(0,state);};
|
||||
void SetEngineArrows(std::vector<std::string> arrows);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue