-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathimport.hpp
18 lines (16 loc) · 982 Bytes
/
import.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once
#include "share/include.hpp"
#include "share/types.hpp"
#ifdef WINSTD
__declspec(dllimport) std::vector<json11::Json> ai(const Moves& game_record, const int pid, const bool out_console_input);
__declspec(dllimport) void set_tactics(const json11::Json& setup_match_json);
__declspec(dllimport) void set_tactics_one(const json11::Json& setup_match_json);
__declspec(dllimport) std::vector<std::pair<Moves, float>> calc_moves_score(const Moves& game_record, const int pid);
__declspec(dllimport) json11::Json ai_review(const Moves& game_record, const int pid);
#else
std::vector<json11::Json> ai(const Moves& game_record, const int pid, const bool out_console_input);
void set_tactics(const json11::Json& setup_match_json);
void set_tactics_one(const json11::Json& setup_match_json);
std::vector<std::pair<Moves, float>> calc_moves_score(const Moves& game_record, const int pid);
json11::Json ai_review(const Moves& game_record, const int pid);
#endif