This is the doxygen documentation for gtkboard.
.#include <gdk/gdk.h>
#include <gtk/gtk.h>
#include <stdio.h>
#include "game.h"
Go to the source code of this file.
Defines | |
#define | player_to_play (cur_pos.player == WHITE ? ui_white : ui_black) |
Enumerations | |
enum | { NONE, HUMAN, MACHINE } |
Functions | |
gboolean | impl_check () |
void | ui_send_make_move () |
void | set_game_params () |
void | reset_game_params () |
void | ui_terminate_game () |
void | ui_start_game () |
void | start_game_num (int) |
void | ui_check_who_won () |
void | ui_cancel_move () |
void | game_set_init_pos_def (Pos *) |
Variables | |
Game* | games [] |
Pos | cur_pos |
const int | num_games |
FILE* | move_fin |
FILE * | move_fout |
int | state_player |
gboolean | engine_flag |
gboolean | ui_stopped |
gboolean | ui_cheated |
gboolean | ui_gameover |
gboolean | state_gui_active |
gboolean | game_file_label |
gboolean | game_rank_label |
Game* | opt_game |
FILE* | opt_infile |
int | opt_delay |
int | opt_quiet |
int | ui_white |
int | ui_black |
int | opt_white |
int | opt_black |
int | opt_verbose |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|