This is the doxygen documentation for gtkboard.
.#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <time.h>
#include "game.h"
#include "aaball.h"
Go to the source code of this file.
Data Structures | |
struct | Hiq_state |
Defines | |
#define | HIQ_CELL_SIZE 54 |
#define | HIQ_NUM_PIECES 5 |
#define | HIQ_BOARD_WID 7 |
#define | HIQ_BOARD_HEIT 7 |
#define | abs(x) ((x) < 0 ? -(x):(x)) |
#define | HIQ_EMPTY 0 |
#define | HIQ_RP 1 |
#define | HIQ_BP 2 |
#define | HIQ_UNUSED 3 |
#define | HIQ_HOLE 4 |
Functions | |
void | hiq_init () |
int | hiq_getmove (Pos *, int, int, GtkboardEventType, Player, byte **, int **) |
ResultType | hiq_who_won (Pos *, Player, char **) |
char** | hiq_get_pixmap (int, int) |
void | hiq_reset_uistate () |
Variables | |
char | hiq_colors [6] = {170, 170, 170, 170, 170, 170} |
int | hiq_init_pos [HIQ_BOARD_WID *HIQ_BOARD_HEIT] |
char* | grey_square_54_xpm [] |
Game | Hiq |
int | oldx = -1 |
int | oldy = -1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: { HIQ_CELL_SIZE, HIQ_BOARD_WID, HIQ_BOARD_HEIT, HIQ_NUM_PIECES, hiq_colors, hiq_init_pos, NULL, "Hiq", hiq_init} |
|
|
|
|
|
Initial value: { 3 , 3 , 1 , 1 , 1 , 3 , 3 , 3 , 3 , 1 , 1 , 1 , 3 , 3 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 4 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 3 , 3 , 1 , 1 , 1 , 3 , 3 , 3 , 3 , 1 , 1 , 1 , 3 , 3 , } |
|
|
|
|