mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-23 13:58:25 +00:00
Improve engine support
This commit is contained in:
parent
0e4814e727
commit
ca6c1b1e75
5 changed files with 26 additions and 5 deletions
|
@ -1,10 +1,10 @@
|
|||
#include "EngineTab.hpp"
|
||||
|
||||
EngineTab::EngineTab(wxWindow *parent, std::string engine_path_or_name)
|
||||
EngineTab::EngineTab(wxWindow *parent, uciadapter::UCI *engine,std::string engine_path_or_name)
|
||||
: EngineTabBF(parent), TabInfos(TabInfos::ENGINE),
|
||||
enginePath(engine_path_or_name) {
|
||||
enginePath(engine_path_or_name), engine(engine) {
|
||||
SetLabel("New Engine");
|
||||
engine = new uciadapter::UCI(engine_path_or_name);
|
||||
|
||||
engine_location->SetValue(engine_path_or_name);
|
||||
confGroup = "engines/bob";
|
||||
CONFIG_OPEN(conf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue