|
| void | color_change2 (GameApi::WorldObj &obj, int x, int y, int c) |
| int | charsmap (char c) |
| std::vector< Pos > | possible_moves (WorldObj &o, int x, int y, Envi &e, bool attack) |
| bool | check_towering (WorldObj *pieces, bool left, bool white, bool check) |
| Pos | towering_new_block (bool left, bool white) |
| Move | global_best_move (bool is_white, WorldObj &o, Envi &e) |
| void | print_move (WorldObj &o, const Move &m) |
| std::string | piece_name (int c) |
| void | get_block_status (WorldObj &o, Envi &e, BlockStatusBoard &board) |
| MoveStatus | get_move_status (WorldObj &o, Envi &e, int x, int y, int xx, int yy, const BlockStatusBoard &board) |
| int | move_status_score (const MoveStatus &s, bool is_white) |
| int | line_array_score (std::vector< Line > v, bool is_white) |
| int | line_score (const Line &l, bool is_white) |
| std::vector< Line > | calculate_lines (WorldObj &o, Envi &e, int x, int y) |
| bool | check_status (WorldObj &o, Envi &e, bool is_white) |
| bool | piece_color_is_white (int c) |
| bool | is_inside_board (Pos p) |
| bool | piece_action (std::vector< Pos > &pos, int piece2, int piece_color, int opponent_color, Pos p1, bool attack) |
| Pos | position_attacked (WorldObj &o, int x, int y, bool attacker_is_white, Envi &e) |
| void | do_promotion (WorldObj *board) |
| void | color_change (int c, P &p, EveryApi &ev) |
| PT | horse_head_func (EveryApi &ev, int idx, void *data) |
| P | chars_blocks (int c, EveryApi &ev) |
| int | boardmap (char c) |
| void | board_color2 (WorldObj &obj, int x, int y, int c) |
| P | board_blocks (int c, EveryApi &ev) |
| void | store_board (WorldObj &o, int *array) |
| void | restore_board (int *array, WorldObj &o, bool is_board) |
| bool | towering_needs_update (WorldObj *pieces, int chosen_x, int chosen_y, int cursor_x, int cursor_y) |
| void | towering_update (WorldObj *pieces, bool left, bool white) |
| bool | update_towering_allowed (int x, int y, bool left, bool white) |
| void | iter () |
| int | main (int argc, char *argv[]) |
| void | print_block_status (const BlockStatusBoard &b, int val) |
| int | piece_score (int c) |
| bool | opp_king_attack_prevention (WorldObj &o, Envi &e, int x, int y, int xx, int yy, bool is_white) |
| void | print_move_status (const MoveStatus &s) |
| Move | find_best_move (bool is_white, WorldObj &o, Envi &e, const BlockStatusBoard &board) |