This is the doxygen documentation for gtkboard.
.#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <math.h>
#include <gdk/gdkkeysyms.h>
#include "game.h"
#include "aaball.h"
Go to the source code of this file.
Defines | |
#define | MAZE_CELL_SIZE 8 |
#define | MAZE_NUM_PIECES 127 |
#define | MAZE_BOARD_WID 60 |
#define | MAZE_BOARD_HEIT 60 |
#define | MAZE_WALL 2 |
#define | MAZE_CUR 1 |
Functions | |
void | maze_init () |
void | maze_set_init_pos (Pos *pos) |
char** | maze_get_pixmap (int idx, int color) |
int | maze_getmove_kb (Pos *cur_pos, int key, Player glob_to_play, byte **move, int **) |
ResultType | maze_who_won (Pos *, Player, char **) |
void | maze_get_cur_pos (byte *pos, int *x, int *y) |
int | maze_checknbrs (int x, int y) |
void | recursive_pathgen (byte *board, int x, int y, int val) |
void | mazegen () |
char** | maze_pixmap_square_gen (int idx, char *col) |
Variables | |
char | maze_colors [6] = {100, 150, 200, 100, 150, 200} |
int* | maze_init_pos = NULL |
int | maze_maze [MAZE_BOARD_WID][MAZE_BOARD_HEIT] = {{0}} |
SCORE_FIELD | maze_score_fields [] = {SCORE_FIELD_USER, SCORE_FIELD_TIME, SCORE_FIELD_DATE, SCORE_FIELD_NONE} |
char* | maze_score_field_names [] = {"User", "Time", "Date", NULL} |
Game | Maze |
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 134 of file maze.c. Referenced by mazegen(). |
|
Definition at line 96 of file maze.c. Referenced by maze_getmove_kb(). |
|
|
|
|
|
|
|
Definition at line 263 of file maze.c. Referenced by maze_get_pixmap(). |
|
|
|
|
|
Definition at line 173 of file maze.c. Referenced by maze_set_init_pos(). |
|
Definition at line 158 of file maze.c. Referenced by hypermaze_set_init_pos(), maze_set_init_pos(), and recursive_pathgen(). |
|
Initial value: { MAZE_CELL_SIZE, MAZE_BOARD_WID, MAZE_BOARD_HEIT, MAZE_NUM_PIECES, maze_colors, NULL, NULL, "Maze", maze_init} |
|
|
|
|
|
|
|
|
|
|