This is the doxygen documentation for gtkboard.
.#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include "game.h"
#include "aaball.h"
Go to the source code of this file.
Defines | |
#define | RGB_CELL_SIZE 55 |
#define | RGB_NUM_PIECES 3 |
#define | RGB_BOARD_WID 3 |
#define | RGB_BOARD_HEIT 3 |
#define | RGB_RP 1 |
#define | RGB_GP 2 |
#define | RGB_BP 3 |
#define | RGB_EMPTY 0 |
Functions | |
void | rgb_init () |
int | rgb_getmove (Pos *, int, int, GtkboardEventType, Player, byte **, int **) |
ResultType | rgb_who_won (Pos *, Player, char **) |
void | rgb_set_init_pos (Pos *pos) |
byte* | rgb_movegen (Pos *) |
ResultType | rgb_eval (Pos *, Player, float *eval) |
unsigned char* | rgb_get_rgbmap (int idx, int color) |
Variables | |
char | rgb_colors [9] = {200, 200, 200, 200, 200, 200, 0, 0, 0} |
int* | rgb_init_pos = NULL |
Game | Rgb |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: { RGB_CELL_SIZE, RGB_BOARD_WID, RGB_BOARD_HEIT, RGB_NUM_PIECES, rgb_colors, NULL, NULL, "Rgb", rgb_init} |
|
|
|
|