aboutsummaryrefslogtreecommitdiff
path: root/src/ochess.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-01-16 14:55:48 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2023-01-16 14:55:48 +0100
commit3b11b9d4f3eee5faa656d7ee61077e80726bdc36 (patch)
tree7817c036843c18eac0012298ec7808d795411f58 /src/ochess.hpp
parentb7667d1d40045ecd840b9b192c2740e5f83e7eba (diff)
Improve openings database code
Diffstat (limited to 'src/ochess.hpp')
-rw-r--r--src/ochess.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ochess.hpp b/src/ochess.hpp
index 434ca72..7fc4280 100644
--- a/src/ochess.hpp
+++ b/src/ochess.hpp
@@ -6,6 +6,7 @@
#endif
#include "binres/binres.hpp"
+#include "Openings.hpp"
#include "gui.h"
#include <memory>
#include <wx/app.h>
@@ -72,10 +73,12 @@ public:
*/
class MyApp : public wxApp {
public:
+ Openings Book;
virtual bool OnInit();
std::vector<TabInfos *> ListTabInfos();
void NewGame(TabInfos *tabsrc,std::shared_ptr<Game> g);
void NewGame(std::shared_ptr<Game> g);
+ Openings& GetBook();
};
wxDECLARE_APP(MyApp);